Class Blacklist2BlacklistRules
- java.lang.Object
-
- net.sf.okapi.lib.languagetool.rules.AbstractLanguageToolRuleGenerator
-
- net.sf.okapi.lib.languagetool.rules.Blacklist2BlacklistRules
-
public class Blacklist2BlacklistRules extends AbstractLanguageToolRuleGenerator
-
-
Constructor Summary
Constructors Constructor Description Blacklist2BlacklistRules(net.sf.okapi.common.LocaleId trgLocale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<BlackListRule>convert(List<net.sf.okapi.lib.verification.BlackTerm> blackTerms)List<BlackListRule>convert(net.sf.okapi.lib.verification.BlacklistReader reader)org.languagetool.LanguagegetTrgLang()-
Methods inherited from class net.sf.okapi.lib.languagetool.rules.AbstractLanguageToolRuleGenerator
createPatternToken, getPatternTokens
-
-
-
-
Method Detail
-
convert
public List<BlackListRule> convert(List<net.sf.okapi.lib.verification.BlackTerm> blackTerms) throws IOException
- Throws:
IOException
-
convert
public List<BlackListRule> convert(net.sf.okapi.lib.verification.BlacklistReader reader) throws IOException
- Throws:
IOException
-
getTrgLang
public org.languagetool.Language getTrgLang()
-
-