Package org.languagetool.bitext

Examples of org.languagetool.bitext.TabBitextReader


  }

  private void runOnFileInOneGo(String filename, String encoding, boolean listUnknownWords, boolean xmlFiltering) throws IOException {
    if (bitextMode) {
      //TODO: add parameter to set different readers
      final TabBitextReader reader = new TabBitextReader(filename, encoding);
      if (applySuggestions) {
        Tools.correctBitext(reader, srcLt, lt, bRules);
      } else {
        Tools.checkBitext(reader, srcLt, lt, bRules, apiFormat);
      }
View Full Code Here


    }
  }

  private void runOnFileInOneGo(String filename, String encoding, boolean listUnknownWords, boolean xmlFiltering) throws IOException {
    if (bitextMode) {
      final TabBitextReader reader = new TabBitextReader(filename, encoding);
      if (applySuggestions) {
        CommandLineTools.correctBitext(reader, srcLt, lt, bRules);
      } else {
        CommandLineTools.checkBitext(reader, srcLt, lt, bRules, apiFormat);
      }
View Full Code Here

TOP

Related Classes of org.languagetool.bitext.TabBitextReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.