|
Joshua
open source statistical hierarchical phrase-based machine translation system
|
SegmentFileParser interface can't be made more liberal (e.g. to accept a java.io.Reader) because javax.xml.parsers.SAXParser can't parse that argument and no common java.io.Reader gives access to the underlying InputStream. This method is considered a hack which should be removed once a better solution presents itself.