Hello,
I'm writing an application that takes pen data and tries to recognize the character and therefore predict the word you are writing. A java file will be returning text to stdout that contains the possible characters that the user just wrote.
I would like to be able to use nltk_lite in python to find possible words based on the bigram and return these possibilities to the java GUI to allow the user to choose the correct word.
I plan on the java and python programs to be sending data and possible next words back and forth between each other. Someone told me about pipes(?) and I couldn't find a simple tutorial online.
All i want to do is pass simple strings between the 2 programs. If anyone could recommend a python module or other way to achieve this it would be really helpful,
Thank you for any help :)
ps: I'm using linux if that makes any difference
I'm writing an application that takes pen data and tries to recognize the character and therefore predict the word you are writing. A java file will be returning text to stdout that contains the possible characters that the user just wrote.
I would like to be able to use nltk_lite in python to find possible words based on the bigram and return these possibilities to the java GUI to allow the user to choose the correct word.
I plan on the java and python programs to be sending data and possible next words back and forth between each other. Someone told me about pipes(?) and I couldn't find a simple tutorial online.
All i want to do is pass simple strings between the 2 programs. If anyone could recommend a python module or other way to achieve this it would be really helpful,
Thank you for any help :)
ps: I'm using linux if that makes any difference
Comment