Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.23 KB

README.md

File metadata and controls

37 lines (31 loc) · 1.23 KB

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