Class FalseFriendsAsBitextLoader
- java.lang.Object
-
- org.languagetool.rules.patterns.bitext.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 Summary
Constructors Constructor Description FalseFriendsAsBitextLoader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<BitextPatternRule>
getFalseFriendsAsBitext(java.lang.String filename, Language motherTongue, Language language)
-
-
-
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
-
-