Package | Description |
---|---|
edu.berkeley.nlp.wordAlignment |
Contains classes to perform word alignment through the Berkeley Aligner.
|
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 | Method and Description |
---|---|
LexicalWeighting |
BerkeleyAligner.AlignmentResult.getSrcToTrgLexicalWeighting()
Returns the lexical weighting from source to target.
|
LexicalWeighting |
BerkeleyAligner.AlignmentResult.getTrgToSrcLexicalWeighting()
Returns the lexical weighting from target to source.
|
Modifier and Type | Method and Description |
---|---|
void |
LexicalWeighting.writeEntityDictionary(LexicalWeighting reverseLexicalWeighting,
double threshold,
java.io.Writer out)
Writes a text dictionary that contains all the entity pairs with a
lexical weight equal or higher than the given threshold except those
whose both elements are equal.
|
Modifier and Type | Method and Description |
---|---|
static FileBackedBilingualCorpus |
FileBackedBilingualCorpus.getInstance(FileBackedMonolingualCorpus src,
FileBackedMonolingualCorpus trg,
CorpusAlignment alignments,
LexicalWeighting srcToTrgWeights,
LexicalWeighting trgToSrcWeights,
Dictionary dictionary)
Creates a bilingual corpus by aligning the given
FileBackedMonolingualCorpus pair. |
Modifier and Type | Class and Description |
---|---|
class |
InMemoryLexicalWeighting
In-memory implementation of the
LexicalWeighting interface that takes
its entries from the output of an external word aligner. |
Modifier and Type | Method and Description |
---|---|
void |
InMemoryLexicalWeighting.writeEntityDictionary(LexicalWeighting reverseLexicalWeighting,
double threshold,
java.io.Writer out) |