最近,我们开始研究对话式聊天机器人的想法,并一直在考虑将自然语言查询转换为 SQL 的不同方法。
这些是我在从头开始编写之前列出的一些要评估的库。还有其他想法或建议吗?
- https://github.com/FerreroJeremy/ln2sql https://github.com/FerreroJeremy/ln2sql
- https://github.com/dadashkarimi/seq2sql https://github.com/dadashkarimi/seq2sql
- https://github.com/xiaojunxu/SQLNet https://github.com/xiaojunxu/SQLNet
- http://www.ling.helsinki.fi/kit/2009s/clt231/NLTK/book/ch10-AnalyzingTheMeaningOfSentences.html#querying-a-database http://www.ling.helsinki.fi/kit/2009s/clt231/NLTK/book/ch10-AnalyzingTheMeaningOfSentences.html#querying-a-database
查看 AllenNLP 的演示:https://demo.allennlp.org/atis-parser https://demo.allennlp.org/atis-parser
它将自然语言文本转换为 SQL 查询。他们也有 python 库allennlp
.
这是他们的 github 存储库:https://github.com/allenai/allennlp https://github.com/allenai/allennlp
有关语义解析的文档:
https://allenai.github.io/allennlp-docs/api/allennlp.data.dataset_readers.semantic_parsing.html https://allenai.github.io/allennlp-docs/api/allennlp.data.dataset_readers.semantic_parsing.html
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)