Joshua
open source statistical hierarchical phrase-based machine translation system
|
Public Member Functions | |
BiCorpusFactory (String fpath, String epath, String apath, String extf, String exte, String exta) | |
BiCorpus | fromFiles (String f) throws IOException |
BiCorpus | unalignedFromFiles (String f) throws IOException |
BiCorpus | alignedFromFiles (String f) throws IOException |
Protected Attributes | |
final String | fpath |
final String | epath |
final String | apath |
final String | extf |
final String | exte |
final String | exta |
A callback closure for Subsampler.subsample
. This class is used by AlignedSubsampler in order to "override" methods of Subsampler, minimizing code duplication.
joshua.subsample.BiCorpusFactory.BiCorpusFactory | ( | String | fpath, |
String | epath, | ||
String | apath, | ||
String | extf, | ||
String | exte, | ||
String | exta | ||
) |
BiCorpus joshua.subsample.BiCorpusFactory.alignedFromFiles | ( | String | f | ) | throws IOException |
Generate aligned BiCorpus.
BiCorpus joshua.subsample.BiCorpusFactory.fromFiles | ( | String | f | ) | throws IOException |
BiCorpus joshua.subsample.BiCorpusFactory.unalignedFromFiles | ( | String | f | ) | throws IOException |
final String joshua.subsample.BiCorpusFactory.apath [protected] |
final String joshua.subsample.BiCorpusFactory.epath [protected] |
final String joshua.subsample.BiCorpusFactory.exta [protected] |
final String joshua.subsample.BiCorpusFactory.exte [protected] |
final String joshua.subsample.BiCorpusFactory.extf [protected] |
final String joshua.subsample.BiCorpusFactory.fpath [protected] |