compressing single sentence with python and stanford NLP -


i trying create sentence given sentence. mean if given following sentence:

i go home , come tomorrow. 

so output should compressed sentence having semantically meaning like:

tomorrow, come 

now tried many paraphraser , sentence reconstructors or rewriter using python2 , python3.

for example have used takahe repository paraphrasing: https://github.com/boudinfl/takahe based on multi - line paraphrasing using research paper: http://www.aclweb.org/anthology/n13-1030

but not trying achieve. looking single sentence sentence generation technique.

so thought use stanford library , python. not getting clue start. have tried comparing similarity or syntactically. code here on gist: https://gist.github.com/jafferwilson/2c5cf8232369a972862a9079923cb740

kindly, me resolve issue , confusion. hope hear cooncrete solution me run semantic based sentence creator/ generator.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -