Class BitextPatternRuleLoader

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

    public class BitextPatternRuleLoader
    extends org.xml.sax.helpers.DefaultHandler
    Loads PatternRules from an XML file.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<BitextPatternRule> getRules​(java.io.InputStream is, java.lang.String filename)  
      • Methods inherited from class org.xml.sax.helpers.DefaultHandler

        characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BitextPatternRuleLoader

        public BitextPatternRuleLoader()
    • Method Detail

      • getRules

        public final java.util.List<BitextPatternRule> getRules​(java.io.InputStream is,
                                                                java.lang.String filename)
                                                         throws java.io.IOException
        Throws:
        java.io.IOException