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
BabelTokenWord s. |
String |
toString() |
public BabelExample(BabelSenseSource source, String sourceSense, it.uniroma1.lcl.jlt.util.Language language, String example)
BabelExample
source
- 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)
BabelExample
source
- 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()
BabelTokenWord
s. Each BabelTokenWord corresponds to the lemma that appears in
this Babel example and for which it is an usage example.Copyright © 2016–2021. All rights reserved.