Package | Description |
---|---|
es.ehu.si.ixa.prebmt.generation |
Provides classes and interfaces for generating (inflecting) tokens according
to their corresponding morphological tags.
|
es.ehu.si.ixa.prebmt.model |
Contains the interfaces that represent the domain model of the application.
|
es.ehu.si.ixa.prebmt.model.filebacked |
Provides file-backed implementations of those interfaces in the domain model
that typically require of large structures of data.
|
es.ehu.si.ixa.prebmt.translation |
Provides classes and interfaces for partial text translation.
|
Modifier and Type | Class and Description |
---|---|
class |
ApertiumGenerator
A generator that uses Apertium as its backend.
|
Modifier and Type | Field and Description |
---|---|
static Generator |
Generator.DUMMY_GENERATOR
A dummy implementation of a
Generator that doesn't inflect the
token (its output is always the same as its input). |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
BilingualCorpus.translate(java.util.List<PhraseElement> fragment,
Dictionary dictionary,
Generator generator,
boolean tokenize)
Returns the translation of the given text fragment in this bilingual
corpus.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
FileBackedBilingualCorpus.translate(java.util.List<PhraseElement> fragment,
Dictionary dictionary,
Generator generator,
boolean tokenize) |
Constructor and Description |
---|
DefaultTranslator(BilingualCorpus corpus,
Analyzer analyzer,
boolean sentencePerLine,
Dictionary dictionary,
Generator generator,
boolean tokenize,
int minTokens)
Constructs a new translator.
|