Skip to content
Snippets Groups Projects
Select Git revision
  • 28b6cb2478d55dbd0b16e2c131d4e8fd25cdc893
  • master default protected
  • develop protected
  • feat_remove_attr
  • python2.7
  • python3.8
6 results

corpus2

  • Clone with SSH
  • Clone with HTTPS
  • 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://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:

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

    Details