Open LeDaVinci opened 6 years ago
@LeDaVinci
i have no idea for android. but i am curious why you try to build your system by using syntaxnet(such a heavy system in android).
if you want to analyze strings to obtain syntactic structures such as pos, dependencis, then i’d like to recommend you to use Spacy library(easy to use, and comparable performance, much faster)
there is a c++ wrapper for it. https://github.com/d99kris/spacy-cpp you may be able to build an JNA wrapper for java. otherwise you can build an api with python Spacy library.
sorry for limited answer;
thanks a lot , I will try to use the library. about the question why i try to build my android app by using syntaxnet , actually ,my app is based on the user's voice data and guess the intent, the voice data come from Google speech recognizer, and i need divide the sentence into words , find the verbs and nouns. for example , the user say ' i want to watch HBO' , my app can change the channel. changing channel just a simple action , my app is used in a set-top box. i saw syntaxnet on the internet the other day , after a brief understanding , i think syntaxnet + tensorflow-android can meet the requirement , but i don't konw how to generate the .pb file which is needed by tensorflow-android,the problem stoped me several days. thanks for your answer , if you have some good idea about my app , please reply my email address : wanghang666@hotmail.com
my android project need analysis user's intent by strings, so i want to use syntaxnet and tensorflow-android sample ,and tensorflow-android need .pb file,but i don't know how to generate it by syntaxnet , if someone done the same thing,tell me the method ,thanks