convert natural language query to graph db query ( cypher) using Universal Senetence Encoder https://arxiv.org/abs/1803.11175
- tensorflow_hub
- numpy
- numpy
- pandas
- tensorflow
python3 -m pip install text2cypher-1.0.tar.gz
python -m spacy download en_core_web_lg
from text2cypher.text2cypher import question_converter
a = question_converter()
cypher_query ,tag_dict = a.convert("How old is Jimi Hendrix ? ")
print(cypher_query ,tag_dict)