有关语义解析的文档: https://allenai.github.io /allennlp-docs/api/allennlp.data.dataset_readers.semantic_parsing.html Recently, have started working on the idea of conversational chatbot and have been thinking of different ways to convert Natural Language query to SQL. These are some of the libraries I have shortlisted to evaluate before writing from scratch. Any other ideas or suggestions?https://github.com/FerreroJeremy/ln2sqlhttps://github.com/dadashkarimi/seq2sqlhttps://github.com/xiaojunxu/SQLNethttp://www.ling.helsinki.fi/kit/2009s/clt231/NLTK/book/ch10-AnalyzingTheMeaningOfSentences.html#querying-a-database 解决方案 check this demo from AllenNLP: https://demo.allennlp.org/atis-parserWhich converts Natural Language text into SQL queries. They also have python library allennlp.Here is their github repo: https://github.com/allenai/allennlpFor documentation regarding semantic_parsing: https://allenai.github.io/allennlp-docs/api/allennlp.data.dataset_readers.semantic_parsing.html 这篇关于将NLP转换为SQL的方法有哪些?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-24 10:28