.. image:: https://travis-ci.org/cltl/naffoliapy.svg?branch=master :target: https://travis-ci.com/cltl/NAFFoLiaPy
.. image:: http://applejack.science.ru.nl/lamabadge.php/NAFFoLiaPy :target: http://applejack.science.ru.nl/languagemachines/
.. image:: https://www.repostatus.org/badges/latest/suspended.svg :alt: Project Status: Suspended – Initial development has started, but there has not yet been a stable, usable release; work has been stopped for the time being but the author(s) intend on resuming work. :target: https://www.repostatus.org/#suspended
.. image:: https://img.shields.io/pypi/v/naffoliapy :alt: Latest release in the Python Package Index :target: https://pypi.org/project/NAFFoLiAPy/
Python library and command-line tools for converting between FoLiA and NAF.
To clone this repository and install, do:
$ git clone https://github.com/cltl/NAFFoLiAPy.git
$ cd NAFFoLiAPy
$ python3 install setup.py
You may want to use python2
for Python 2.7 and you may need to include sudo
if you want to install the package globally. We recommend using a Python
virtualenv
though. Create and activate one as follows prior to executing
the above steps:
$ virtualenv --python=python3 naffoliaenv
$ . naffoliaenv/bin/activate
Alternatively, use a python distribution like Anaconda.
The following conversions are currently supported by naf2folia
:
morphofeat
) is converted as a second type of part-of-speech (different set).fileDesc
and public
element.Anything not listed is not yet supported. The tool attempts to warn whenever it encounters something it can not (yet) convert as much as possible, but this is not guaranteed.
The following conversions are currently supported by folia2naf
:
Anything not listed is not yet supported