Answer the question
In order to leave comments, you need to log in
Natural language processing, how right?
Let's say there is a phrase "Reserve a place in a cafe." How to parse it correctly?
There is an idea to use Syntaxnet from Tensorflow. He knows how to determine dependencies and parts of speech (then it should be easy) and multilingual + support from Google. But there are problems with its installation and it works as a separate script, and not as a library in python, which is extremely inconvenient.
I saw in this lecture Tensorflow can parse search queries, but I did not understand how to do this. Maybe there are analogues or who knows how to do it like in a lecture?
Answer the question
In order to leave comments, you need to log in
1. You need to learn how to determine the part of speech of all words (+ case, number, gender, etc.) in a sentence using ready-made libraries.
2. Build a "tree" of relations (dependencies) of words (parts of speech) using complete templates of prepared "chains" of words that may be present in the sentence (create manually or train the NN vector).
3. Have a dictionary of imperative moods and algorithms for the necessary actions for them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question