List of all members.
Public Member Functions |
| | AlignedSubsampler (String[] testFiles, int maxN, int targetCount) throws IOException |
| void | subsample (String filelist, float targetFtoERatio, String extf, String exte, String exta, String fpath, String epath, String apath, String output) throws IOException |
Static Public Member Functions |
| static void | main (String[] args) |
Detailed Description
A subsampler which takes in word-alignments as well as the F and E files. To remove redundant code, this class uses callback techniques in order to "override" the superclass methods.
- See also:
- joshua.subsample.Subsampler
- Author:
- wren ng thornton wren@.nosp@m.user.nosp@m.s.sou.nosp@m.rcef.nosp@m.orge..nosp@m.net
- Version:
- $LastChangedDate$
Constructor & Destructor Documentation
Member Function Documentation
- Parameters:
-
| filelist | list of source files to subsample from |
| targetFtoERatio | goal for ratio of output F length to output E length |
| extf | extension of F files |
| exte | extension of E files |
| exta | extension of alignment files |
| fpath | path to source F files |
| epath | path to source E files |
| apath | path to source alignment files |
| output | basename for output files (will append extensions) |