历史语言学中定量任务的python库

lingp的Python项目详细描述


#lingpy:历史语言学中自动任务的python库

这个存储库包含python包lingpy,它可以用于计算历史语言学中的各种任务。

[![生成状态](https://travis-ci.org/lingpy/lingpy.svg?branch=master)](https://travis-ci.org/lingpy/lingpy) [![codecov.io](http://codecov.io/github/lingpy/lingpy/coverage.svg?branch=master)](http://codecov.io/github/lingpy/lingpy?分支=主) [![doi](https://zenodo.org/badge/doi/10.5281/zenodo.597082.svg)](https://doi.org/10.5281/zenodo.597082) [![PYPI版本](https://badge.fury.io/py/lingpy.png)](https://badge.fury.io/py/lingpy) [![文档](https://bade.fury.io/py/lingpy.png)](https://lingpy.github.io

作者:[johann mattis list](https://github.com/linguist)、[max planck institute for the science of human history](http://shh.mpg.de/)、[simon greenhill](https://github.com/simongreenhill)、[max planck institute for the science of human history](http://shh.mpg.de/)和[robert forkel](https://github.com/xrotwang)、[max planck institute for the science of human history](http://shh.mpg.de/))

合作者: 史蒂文·莫兰([苏黎世大学](http://www.linguistik.uzh.ch/about/mitglieder/moran.html)、[彼得·布达](http://www.peterbouda.eu/)、约翰内斯·德勒特([苏宾根大学](http://www.sfs.uni-tuebingen.de/~gjaeger/evolaemp/index.html))、塔拉卡·拉马([语言技术中心](http://clt.gu.se/)、哥德堡)、蒂亚戈·特雷索迪([MPI-SHH](https://www.shh.mpg.de))和基伦·开平([莱顿大学](https://www.universiteitleiden.nl/))

lingpy是一个历史语言学的python库。它是为Python2.7和Python3.x开发的 使用[单个代码基](https://docs.python.org/3/howto/pyporting.html)。

##快速安装

对于我们最新的稳定版本,您可以简单地使用pip或easy_install进行安装: `bash $ pip install lingpy ``bash $ easy_install lingpy ` 根据您使用的简易安装或pip版本,将安装python2或python3版本的lingpy。

如果要在系统上安装当前github版本的lingpy,请打开一个终端并键入以下内容: `bash $ git clone https://github.com/lingpy/lingpy/ $ cd lingpy $ python setup.py install `

如果上面的最后一个命令返回有关用户权限的错误(通常为“errno 13”),则可以安装 在您的家庭python设置中使用lingpy: ` $ python setup.py install --user `

为了使用库,启动交互式python会话并导入lingpy,如下所示: `python >>> from lingpy import * `

要安装lingpy来破解它,在github上分叉存储库,打开一个终端并键入: `bash $ git clone https://github.com/<your-github-user>/lingpy/ $ cd lingpy $ python setup.py develop ` 这将在[“开发模式”](http://pythonhosted.org//setuptools/setuptools.html#development-mode)中安装lingpy, 也就是说,您将能够编辑克隆存储库中的源代码,并像导入常规python包一样导入修改后的代码。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
带有字符串的java JNA调用与带有字节[]的java JNA调用的行为不同   java基于键列表获取子映射   重启后永久增加java堆大小?   JavaHTTPS服务器:相互SSL身份验证   java为什么接受接口的方法会拒绝该接口的实现?   片段中的java视图无法应用于()   ms access Java SQL更新命令不工作   java将web服务自动打包和部署到Oracle Application Server 10g   java有没有办法在安卓 studio中为安卓时钟设置多个警报?   位于FTP服务器上的文件上的Java校验和md5   在Java中创建类时遇到问题。有些方法不太确定   java错误:在类chrome\u驱动程序中找不到主方法   通用海图(Javascript\Java)