Package | Description |
---|---|
es.ehu.si.ixa.prebmt.dictionary |
Provides classes and interfaces for working with bilingual
Entity
dictionaries. |
es.ehu.si.ixa.prebmt.model |
Contains the interfaces that represent the domain model of the application.
|
es.ehu.si.ixa.prebmt.model.inmemory |
Provides in-memory implementations of most of the interfaces in the domain
model.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Dictionary.containsEntry(Entity src,
Entity trg)
Checks whether this bilingual dictionary contains the specified entry.
|
boolean |
MultiDictionary.containsEntry(Entity src,
Entity trg) |
boolean |
NumberDictionary.containsEntry(Entity src,
Entity trg) |
boolean |
TextDictionary.containsEntry(Entity src,
Entity trg) |
boolean |
WikipediaDictionary.containsEntry(Entity src,
Entity trg) |
java.lang.String |
Dictionary.translate(Entity entity)
Translates the specified
Entity . |
java.lang.String |
MultiDictionary.translate(Entity entity) |
java.lang.String |
NumberDictionary.translate(Entity entity) |
java.lang.String |
TextDictionary.translate(Entity entity) |
java.lang.String |
WikipediaDictionary.translate(Entity entity) |
Modifier and Type | Interface and Description |
---|---|
interface |
AlignedEntity
An
Entity with an integer id that marks its alignment with another
entity. |
Modifier and Type | Method and Description |
---|---|
Entity |
Entity.toLowerCase()
Returns the lower case representation of this entity.
|
Modifier and Type | Class and Description |
---|---|
class |
InMemoryAlignedEntity
In-memory implementation of the
AlignedEntity interface. |
class |
InMemoryEntity
In-memory implementation of the
Entity interface. |
Modifier and Type | Method and Description |
---|---|
static InMemoryAlignedEntity |
InMemoryAlignedEntity.getInstance(Entity entity,
int id)
Returns an
InMemoryAlignedEntity that corresponds to the specified arguments. |