Linguistica 5:无监督学习语言结构
项目描述
Linguistica 5是一个用于无监督学习语言结构的Python库。
完整文档:http://linguistica-uchicago.github.io/lxa5/
Linguistica 5除了是一个Python库外,还提供了两个额外的接口:(i) 图形用户界面;(ii) 命令行界面。
由Jackson Lee和John Goldsmith完成
请注意,此代码(Linguistica 5)并非John Goldsmith的开发代码,可在其GitHub仓库找到:https://github.com/JohnAGoldsmith/lxa5_0。John Goldsmith最新发布的代码是Linguistica 4;请参阅Linguistica at UChicago。
下载和安装
注意:如果您是Linguistica项目组的开发者,请忽略本节,并按照这些说明设置您的环境。
Linguistica 5可通过pip获取
$ pip install linguistica
Linguistica 5与Python 2.7和3.4+兼容。
要使用图形用户界面,仅支持Python 3。此外,需要PyQt5和SIP。PyQt5可通过pip轻松获取
$ pip install PyQt5
截至写作时间(2017年4月),SIP最佳下载和安装方式是从其源。 (SIP可通过pip获取,但不含为PyQt5生成的C/C++代码生成器。)
使用Linguistica 5
要将Linguistica 5作为Python库使用,只需在您的Python程序中导入linguistica
import linguistica as lxa
快速库演示在此。
要启动Linguistica 5图形用户界面(已安装SIP和PyQt5)
$ linguistica gui
要启动Linguistica 5命令行界面
$ linguistica cli
引用
如果您使用Linguistica 5,请引用此论文
@InProceedings{lee-goldsmith:2016:lxa5, author = {Lee, Jackson L. and Goldsmith, John A.}, title = {Linguistica 5: Unsupervised Learning of Linguistic Structure}, booktitle = {Proceedings of the 2016 Conference of the North American Chapter of the Association for Computational Linguistics}, month = {June}, year = {2016}, address = {San Diego, California}, publisher = {Association for Computational Linguistics}, pages = {22--26}, url = {http://www.aclweb.org/anthology/N16-3005} }
源代码
Linguistica 5的源代码已正式发布在PyPI上:https://pypi.python.org/pypi/linguistica
它也托管在GitHub上,可能包含正在进行的工作:https://github.com/linguistica-uchicago/lxa5
技术支持
请打开问题进行疑问和错误报告。或者,您可以随时联系Jackson Lee和John Goldsmith。
许可证
MIT许可证
请参阅GitHub仓库上的LICENSE.txt。
项目详情
linguistica-5.2.1.tar.gz的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | b1bf148c0655fe0e6e280448f6ca9e4d8567eefbf5996a3192aa065e33f5f4ab |
|
MD5 | c906c07072db6dde64c96cdd2ec479fd |
|
BLAKE2b-256 | d402407b7279fc4ff042d1725115c42794a4a8161941de55d7847a5fd01ec55d |
linguistica-5.2.1-py2.py3-none-any.whl 的哈希值
算法 | 哈希摘要 | |
---|---|---|
SHA256 | e91385bd5b0446c0300ae4a0be37cc5424eb79384f578143b6cc9100067e7ba6 |
|
MD5 | 10fe7fa89ca117ab4aa6b6a110bf43f5 |
|
BLAKE2b-256 | 2f0ee8640acf92a27b334a6de30fece1ce86d994acce5e9824e37b1ed46c62c2 |