Skip to content

Commit

Permalink
OPENNLP-838: Modify the parameter model of the WSD component (#202)
Browse files Browse the repository at this point in the history
- harmonizes WSD parameter model with opennlp-tools concepts
  • Loading branch information
mawiesne authored Dec 23, 2024
1 parent 1cc65bf commit 60db968
Show file tree
Hide file tree
Showing 10 changed files with 556 additions and 131 deletions.
11 changes: 0 additions & 11 deletions opennlp-wsd/.project

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public static Disambiguator makeTool(DisambiguatorToolParams params) {
wsd = new Lesk();
} else if (params.getType().equalsIgnoreCase("ims")) {
// TODO Set a "default" model for ENG -> future!?
wsd = new WSDisambiguatorME(null, new WSDDefaultParameters());
wsd = new WSDisambiguatorME(null, WSDDefaultParameters.defaultParams());
}
return wsd;

Expand Down
Loading

0 comments on commit 60db968

Please sign in to comment.