Skip to content

aymara/lima

Repository files navigation

LIMA - Libre Multilingual Analyzer

LIMA logo

TL;DR

LIMA python bindings are currently available under Linux only (x86_64).

Under Linux with python >= 3.7 and < 4, and upgraded pip:

# Upgrading pip is fundamental in order to obtain the correct LIMA version
$ pip install --upgrade pip
$ pip install aymara==0.4.1
$ lima_models.py -l eng
$ python
>>> import aymara.lima
>>> nlp = aymara.lima.Lima("ud-eng")
>>> sentences = nlp('Hello, World!')
>>> print(sentences[0][0].lemma)
hello
>>> print(sentences.conll())
# sent_id = 1
# text = Hello, World!
1       Hello   hello   INTJ    _       _               0       root      _ Len=5|Pos=1|SpaceAfter=No
2       ,       ,       PUNCT   _       _               1       punct     _ Len=1|Pos=6
3       World   World   PROPN   _       Number=Sing     1       vocative  _ Len=5|Pos=8|SpaceAfter=No
4       !       !       PUNCT   _       _               1       punct     _ Len=1|Pos=13

Introducing LIMA

LIMA is a multilingual linguistic analyzer developed by the CEA LIST, LASTI laboratory (French acronym for Text and Image Semantic Analysis Laboratory). LIMA is Free Software, available under the MIT license.

LIMA has state of the art performance for more than 60 languages thanks to its recent deep learning (neural network) based modules. But it includes also a very powerful rules based mechanism called ModEx allowing to quickly extract information (entities, relations, events…) in new domains where annotated data does not exist.

For more information, installation instructions and documentation, please refer to the LIMA Wiki.

Build status GitHub Action Workflow status

LIMA Python Downloads