| Constructor and Description |
|---|
BabelExample(BabelSenseSource source,
String sourceSense,
it.uniroma1.lcl.jlt.util.Language language,
String example)
Creates a new instance of a
BabelExample |
BabelExample(BabelSenseSource source,
String sourceSense,
it.uniroma1.lcl.jlt.util.Language language,
String example,
Set<BabelTokenWord> tokens)
Creates a new instance of a
BabelExample |
| Modifier and Type | Method and Description |
|---|---|
String |
getExample()
Returns the example sentence.
|
it.uniroma1.lcl.jlt.util.Language |
getLanguage()
The language for this example
|
BabelLicense |
getLicense()
Gets the license for this Babel example
|
BabelSenseSource |
getSource()
The region where the concept for this example lies.
|
String |
getSourceSense()
The sense from which this example is taken
|
Set<BabelTokenWord> |
getTokensWordExample()
Gets a list of
BabelTokenWords. |
String |
toString() |
public BabelExample(BabelSenseSource source, String sourceSense, it.uniroma1.lcl.jlt.util.Language language, String example)
BabelExamplesource - the gloss sourcesourceSense - the sense the gloss defineslanguage - the language the gloss is written inexample - the example stringpublic BabelExample(BabelSenseSource source, String sourceSense, it.uniroma1.lcl.jlt.util.Language language, String example, Set<BabelTokenWord> tokens)
BabelExamplesource - the gloss sourcesourceSense - the sense the gloss defineslanguage - the language the gloss is written inexample - the example stringtokens - the tokens that belong to the glosspublic BabelSenseSource getSource()
public String getSourceSense()
public it.uniroma1.lcl.jlt.util.Language getLanguage()
public String getExample()
public BabelLicense getLicense()
public Set<BabelTokenWord> getTokensWordExample()
BabelTokenWords. Each BabelTokenWord corresponds to the lemma that appears in
this Babel example and for which it is an usage example.Copyright © 2016–2022. All rights reserved.