Package com.clearnlp.component

Examples of com.clearnlp.component.AbstractComponent


    convert(s_headruleFile, s_language, s_mergeLabels, s_inputPath, s_parseExt, s_propExt, s_senseExt, s_vclassExt, s_nameExt, s_outputExt);
  }
 
  public void convert(String headruleFile, String language, String mergeLabels, String inputPath, String parseExt, String propExt, String senseExt, String vclassExt, String nameExt, String outputExt) throws Exception
  {
    AbstractComponent morph = NLPGetter.getMPAnalyzer(s_language);
    AbstractC2DConverter c2d = NLPGetter.getC2DConverter(s_language, s_headruleFile, s_mergeLabels);
   
    convertRec(c2d, morph, language, inputPath, parseExt, propExt, senseExt, vclassExt, nameExt, outputExt);
  }
View Full Code Here


  public C2DConvert(String[] args) throws Exception
  {
    initArgs(args);
   
    AbstractC2DConverter c2d = NLPGetter.getC2DConverter(s_language, s_headruleFile, s_mergeLabels);
    AbstractComponent  morph = NLPGetter.getMPAnalyzer(s_language);
    List<String[]> filenames = getFilenames(s_inputPath, s_inputExt, s_outputExt);
    int n;
   
    for (String[] io : filenames)
    {
View Full Code Here

TOP

Related Classes of com.clearnlp.component.AbstractComponent

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.