Skip to content
Snippets Groups Projects
Select Git revision
  • 536588a14d4ef008252057b6f3914a9cfb1e3bf0
  • master default protected
  • vertical_relations
  • lu_without_semantic_frames
  • hierarchy
  • additional-unification-filters
  • v0.1.1
  • v0.1.0
  • v0.0.9
  • v0.0.8
  • v0.0.7
  • v0.0.6
  • v0.0.5
  • v0.0.4
  • v0.0.3
  • v0.0.2
  • v0.0.1
17 results

unifier

  • 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