Skip to content

ipipan/combo

Repository files navigation

COMBO repository has been moved to https://gitlab.clarin-pl.eu/syntactic-tools/combo

The code in this repository is no longer developed or updated.

COMBO

A language-independent NLP system for dependency parsing, part-of-speech tagging, lemmatisation and more built on top of PyTorch and AllenNLP.


License

Quick start

Clone this repository and install COMBO (we suggest using virtualenv/conda with Python 3.6+):

git clone https://github.com/ipipan/combo.git
cd combo
python setup.py develop

Run the following lines in your Python console to make predictions with a pre-trained model:

import combo.predict as predict

nlp = predict.SemanticMultitaskPredictor.from_pretrained("polish-herbert-base")
sentence = nlp("Moje zdanie.")
print(sentence.tokens)

Details