Package | Description |
---|---|
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.model.inmemory |
Provides in-memory implementations of most of the interfaces in the domain
model.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AlignedEntity
An
Entity with an integer id that marks its alignment with another
entity. |
interface |
Entity
A
Token of a special nature such as a proper noun or a number that is
characterized by its lemma, type and a list of morphological tags apart from
the text itself. |
interface |
LeafElement
The interface that all the elements that can be leaves in the parse tree of a
Sentence must implement. |
interface |
Phrase
An inner node in the parse tree of a
Sentence . |
interface |
Space
|
interface |
Token
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PhraseElement> |
Phrase.getChildren()
Returns the children of this phrase, which can be either other
Phrase s or LeafElement s (Token s and the
Space s separating them). |
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) |
Modifier and Type | Class and Description |
---|---|
class |
InMemoryAlignedEntity
In-memory implementation of the
AlignedEntity interface. |
class |
InMemoryEntity
In-memory implementation of the
Entity interface. |
class |
InMemoryPhrase
In-memory implementation of the
Phrase interface. |
class |
InMemorySpace
In-memory implementation of the
Space interface. |
class |
InMemoryToken
In-memory implementation of the
Token interface. |
Modifier and Type | Method and Description |
---|---|
java.util.List<PhraseElement> |
InMemoryPhrase.getChildren() |
Modifier and Type | Method and Description |
---|---|
InMemoryPhrase.Builder |
InMemoryPhrase.Builder.add(PhraseElement child)
Appends a
PhraseElement (either another Phrase or a LeafElement ) to the end of the children list contained by this builder. |