COMBO
A language-independent NLP system for dependency parsing, part-of-speech tagging, lemmatisation and more built on top of PyTorch and AllenNLP.
Quick start
Clone this repository and install COMBO (we suggest using virtualenv/conda with Python 3.6+):
git clone https://gitlab.clarin-pl.eu/syntactic-tools/clarinbiz/combo.git
cd combo
python setup.py develop
Run the following lines in your Python console to make predictions with a pre-trained model:
from combo.predict import COMBO
nlp = COMBO.from_pretrained("polish-herbert-base")
sentence = nlp("Moje zdanie.")
print(sentence.tokens)