Skip to content
Snippets Groups Projects
Select Git revision
  • 332f54925ede9eff884639db7999db41a98c948a
  • main default protected
  • ud_training_script
  • fix_seed
  • merged-with-ner
  • multiword_fix_transformer
  • transformer_encoder
  • combo3
  • save_deprel_matrix_to_npz
  • master protected
  • combo-lambo
  • lambo-sent-attributes
  • adding_lambo
  • develop
  • update_allenlp2
  • develop_tmp
  • tokens_truncation
  • LR_test
  • eud_iwpt
  • iob
  • eud_iwpt_shared_task_bert_finetuning
  • 3.3.1
  • list
  • 3.2.1
  • 3.0.3
  • 3.0.1
  • 3.0.0
  • v1.0.6
  • v1.0.5
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
34 results

tests

  • 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