{ "info": { "author": "Antske Fokkens and Maarten van Gompel", "author_email": "proycon@anaproy.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Text Processing :: Linguistic" ], "description": "NAFFoLiA\n============\n\nPython library and command-line tools for converting between FoLiA and NAF.\n\nInstallation\n-----------------\n\nTo clone this repository and install, do:\n\n\n* ``$ git clone https://github.com/cltl/NAFFoLiAPy.git``\n* ``$ cd NAFFoLiAPy``\n* ``$ python3 install setup.py``\n\n\nYou may want to use ``python2`` for Python 2.7 and you may need to include ``sudo``\nif you want to install the package globally. We recommend using a Python\n``virtualenv`` though. Create and activate one as follows prior to executing\nthe above steps:\n\n* ``$ virtualenv --python=python3 naffoliaenv``\n* ``$ . naffoliaenv/bin/activate``\n\nAlternatively, use a python distribution like Anaconda.\n\nNAF to FoLiA\n----------------\n\nThe following conversions are currently supported by ``naf2folia``:\n\n* Raw text\n* Token and terms \n * No support yet for multi-token terms!\n * Offset information is preserved in the conversion\n* Part-of-Speech\n * NAF's morphosyntactic feature (``morphofeat``) is converted as a second type of part-of-speech (different set).\n* Lemmas\n* Lexical semantic senses (wordnet external references in NAF)\n * In NAF these are external references on the terms\n * Conversion to FoLiA senses is only supported for known resources.\n * Nested external references are expressed using FoLiA's feature mechanism.\n* Named Entities\n * External references in NAF's entities layer are converted as FoLiA alignments.\n* Markables\n * Are converted to FoLiA entities\n * External references in NAF's markables layer are converted as FoLiA alignments\n* Co-references and events as co-references\n* Chunks\n* Semantic roles and predicates\n * External references on predicate level (usually to framenet) are converted to FoLiA senses\n* Dependency relations\n* Time expressions\n * Time expressions are converted to FoLiA entities\n* Sentiment analysis (opinion layer)\n* Metadata\n * FoLiA's native metadata scheme is used to convert the information in NAF's ``fileDesc`` and ``public`` element.\n * Information from the linguistic preprocessors is **not** converted yet.\n\nAnything not listed is not yet supported. The tool attempts to warn whenever it\nencounters something it can not (yet) convert as much as possible, but this is\nnot guaranteed.\n\nFoLiA to NAF\n-----------------\n\nThe following conversions are currently supported by ``folia2naf``:\n\n* Raw text (created from tokens)\n* Words to text and terms\n * NAF's possibility of capturing multi-tokens not taken into account\n * offset and length are derived from string and space information\n * Part-of-speech:\n * taken from pos element: NAF's morphofeat = FoLiA's pos class, NAF's pos = FoLiA's pos head\n * Lemmas\n * Chunks\n * Entities\n * Dependencies\n \nAnything not listed is not yet supported\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/cltl/NAFFoLiAPy", "keywords": "nlp computational_linguistics linguistics converter folia naf", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "NAFFoLiAPy", "package_url": "https://pypi.org/project/NAFFoLiAPy/", "platform": "", "project_url": "https://pypi.org/project/NAFFoLiAPy/", "project_urls": { "Homepage": "https://github.com/cltl/NAFFoLiAPy" }, "release_url": "https://pypi.org/project/NAFFoLiAPy/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Converters between two formats for linguistic annotation: FoLiA and NAF", "version": "0.1.1" }, "last_serial": 4015782, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "9f766f588ab6e7e07b9c554d1543117d", "sha256": "a7b8eab7bdf778e94e558b19d99beb4e2cdef35e59964ef3be522d8e466351c2" }, "downloads": -1, "filename": "NAFFoLiAPy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9f766f588ab6e7e07b9c554d1543117d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 264419, "upload_time": "2018-06-29T15:41:58", "url": "https://files.pythonhosted.org/packages/bc/f6/e2c1efa1ea9b77337d6b86c1d1ce587a8e6e51e2407c475548a68e88e43b/NAFFoLiAPy-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f766f588ab6e7e07b9c554d1543117d", "sha256": "a7b8eab7bdf778e94e558b19d99beb4e2cdef35e59964ef3be522d8e466351c2" }, "downloads": -1, "filename": "NAFFoLiAPy-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9f766f588ab6e7e07b9c554d1543117d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 264419, "upload_time": "2018-06-29T15:41:58", "url": "https://files.pythonhosted.org/packages/bc/f6/e2c1efa1ea9b77337d6b86c1d1ce587a8e6e51e2407c475548a68e88e43b/NAFFoLiAPy-0.1.1.tar.gz" } ] }