Hello,

You can use a script language (Python, Perl, etc.) to obtain that.
A naive example in Perl ;
~$ echo "Hi._NNP How_WRB are_VBP you?_JJ This_DT is_VBZ Mike._NNP" | perl -ne 'print split(/_[A-Z]{2,3}/, $_);'
~$ Hi. How are you? This is Mike.

Regards,

Jean-Philippe





On 02/09/13 11:06, Jayant Kumar Singh wrote:
Hello team,

I have started learning Open NLP and curious to know that once we have POS 
Tagger , can we get its corresponding English sentence back ?

For example:
Input string: Hi._NNP How_WRB are_VBP you?_JJ This_DT is_VBZ Mike._NNP


OutPut string: Hi. How are you? This is Mike.

Any help or pointers is highly appreciated.

Thanks & Regards,
Jayant Singh



Reply via email to