Class FalseFriendsAsBitextLoader


  • public class FalseFriendsAsBitextLoader
    extends java.lang.Object
    Loads the false friend rules as bitext pattern rules. Note that the resulting rules have suggestions that are not really customizable, in contradistinction to the 'real' bitext pattern rules.
    • Constructor Detail

      • FalseFriendsAsBitextLoader

        public FalseFriendsAsBitextLoader()
    • Method Detail

      • getFalseFriendsAsBitext

        public java.util.List<BitextPatternRule> getFalseFriendsAsBitext​(java.lang.String filename,
                                                                         Language motherTongue,
                                                                         Language language)
                                                                  throws javax.xml.parsers.ParserConfigurationException,
                                                                         org.xml.sax.SAXException,
                                                                         java.io.IOException
        Throws:
        javax.xml.parsers.ParserConfigurationException
        org.xml.sax.SAXException
        java.io.IOException