public class BabelNetUtils extends Object
Constructor and Description |
---|
BabelNetUtils() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.Multimap<it.uniroma1.lcl.jlt.util.Language,it.uniroma1.lcl.jlt.util.ScoredItem<String>> |
getTranslations(it.uniroma1.lcl.jlt.util.Language language,
String word)
Gets translations of an input word.
|
static com.google.common.collect.Multimap<it.uniroma1.lcl.jlt.util.Language,it.uniroma1.lcl.jlt.util.ScoredItem<String>> |
getTranslations(it.uniroma1.lcl.jlt.util.Language language,
String word,
List<it.uniroma1.lcl.jlt.util.Language> filterLangs)
Gets translations of an input word.
|
public static com.google.common.collect.Multimap<it.uniroma1.lcl.jlt.util.Language,it.uniroma1.lcl.jlt.util.ScoredItem<String>> getTranslations(it.uniroma1.lcl.jlt.util.Language language, String word) throws IOException
language
- the language of the input word.word
- the word whose senses are to be retrieved.IOException
public static com.google.common.collect.Multimap<it.uniroma1.lcl.jlt.util.Language,it.uniroma1.lcl.jlt.util.ScoredItem<String>> getTranslations(it.uniroma1.lcl.jlt.util.Language language, String word, List<it.uniroma1.lcl.jlt.util.Language> filterLangs) throws IOException
language
- the language of the input word.word
- the word whose senses are to be retrieved.filterLangs
- the languages in which the data are to be retrieved.IOException
Copyright © 2016. All rights reserved.