{"action":"created","issue":{"url":"https://api.github.com/repos/miso-belica/sumy/issues/26","labels_url":"https://api.github.com/repos/miso-belica/sumy/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/miso-belica/sumy/issues/26/comments","events_url":"https://api.github.com/repos/miso-belica/sumy/issues/26/events","html_url":"https://github.com/miso-belica/sumy/issues/26","id":79471889,"number":26,"title":"Lexrank scores all the sentences the same.","user":{"login":"acohan","id":6425112,"avatar_url":"https://avatars.githubusercontent.com/u/6425112?v=3","gravatar_id":"","url":"https://api.github.com/users/acohan","html_url":"https://github.com/acohan","followers_url":"https://api.github.com/users/acohan/followers","following_url":"https://api.github.com/users/acohan/following{/other_user}","gists_url":"https://api.github.com/users/acohan/gists{/gist_id}","starred_url":"https://api.github.com/users/acohan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acohan/subscriptions","organizations_url":"https://api.github.com/users/acohan/orgs","repos_url":"https://api.github.com/users/acohan/repos","events_url":"https://api.github.com/users/acohan/events{/privacy}","received_events_url":"https://api.github.com/users/acohan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-22T14:17:28Z","updated_at":"2015-07-29T18:57:13Z","closed_at":null,"body":"No matter what are the sentences, the scores returned by lexrank is the same for all the sentences.\r\ni.e. 1/count(sentences)\r\n``lex_rank.py``\r\n```python\r\nfile: lex_rank.py\r\n...\r\n[41] matrix = self._create_matrix(sentences_words, self.threshold, tf_metrics, idf_metrics)\r\n[42] scores = self.power_method(matrix, self.epsilon)\r\nprint scores\r\n>>> [0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329, 0.083333333333333329]\r\n```"},"comment":{"url":"https://api.github.com/repos/miso-belica/sumy/issues/comments/126058945","html_url":"https://github.com/miso-belica/sumy/issues/26#issuecomment-126058945","issue_url":"https://api.github.com/repos/miso-belica/sumy/issues/26","id":126058945,"user":{"login":"Crista23","id":5370870,"avatar_url":"https://avatars.githubusercontent.com/u/5370870?v=3","gravatar_id":"","url":"https://api.github.com/users/Crista23","html_url":"https://github.com/Crista23","followers_url":"https://api.github.com/users/Crista23/followers","following_url":"https://api.github.com/users/Crista23/following{/other_user}","gists_url":"https://api.github.com/users/Crista23/gists{/gist_id}","starred_url":"https://api.github.com/users/Crista23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Crista23/subscriptions","organizations_url":"https://api.github.com/users/Crista23/orgs","repos_url":"https://api.github.com/users/Crista23/repos","events_url":"https://api.github.com/users/Crista23/events{/privacy}","received_events_url":"https://api.github.com/users/Crista23/received_events","type":"User","site_admin":false},"created_at":"2015-07-29T18:57:13Z","updated_at":"2015-07-29T18:57:13Z","body":"Hmm.. I still get the same scores. It's also interesting that it outputs the sentences in exact order as they are in the original document:\r\n\r\nSentenceInfo(sentence=<Sentence: Contact us!>, order=0, rating=0.16666666666666666), SentenceInfo(sentence=<Sentence: Barack Obama today was in a charity campaign where he attended official visits in Africa.>, order=1, rating=0.16666666666666666), SentenceInfo(sentence=<Sentence: His wife Michelle Obama accompanied him.>, order=2, rating=0.16666666666666666), SentenceInfo(sentence=<Sentence: Why do't you join us?>, order=3, rating=0.16666666666666666), SentenceInfo(sentence=<Sentence: Register now.>, order=4, rating=0.16666666666666666)\r\n\r\n"}}