There are two bugs in the graph based summarizer. First there are two methods with the same name. Second the getSentences() method returns an empty array at the end sometimes.
Steps to reproduce:
1. Duplicate Methods: Set the summarization method to Graph Based and run the summarizer. It will crash.
2. Empty array at the end: Add print_r($result); to line 337 of the Graph Based summarizer. Set the summarization method to Graph Based, use the below sentences and run the summarizer.
I went to the store.
I bought some chips from the store.
I ate the chips on my ride home.
administrator2016-05-19 11:13
Thanks for the patch Charles! Pushed live with commit 35b237f.
There are two bugs in the graph based summarizer. First there are two methods with the same name. Second the getSentences() method returns an empty array at the end sometimes.
Steps to reproduce: 1. Duplicate Methods: Set the summarization method to Graph Based and run the summarizer. It will crash.
2. Empty array at the end: Add print_r($result); to line 337 of the Graph Based summarizer. Set the summarization method to Graph Based, use the below sentences and run the summarizer.
I went to the store. I bought some chips from the store. I ate the chips on my ride home.
Thanks for the patch Charles! Pushed live with commit 35b237f.
Attachments:
my.patch