SupWSD
Python Implementations of Word Sense Disambiguation (WSD) Technologies.
Under construction!
Install Plugin
deepnlpf --install supwsd
Language
SupWSD supports the following languages en, fr, de, it and es. Download the model you want here and save it on the way: /home/your_user/deepnlpf_data/plugins/supwsd/ .
Models
The model to be used in the disambiguation process: SEMCOR (English only), SEMCOR_OMSTI (English only), TRAIN_O_MATIC.
If you don't specify the model, the program will load the default one: semcor_omsti for English, train_o_matic for other languages.
Pipeline
{
"lang": "en",
"tools":
{ "supwsd": { "processors": [ "wsd" ] } }
}
---
lang: en
tools:
- supwsd:
processors:
- wsd
