Package org.fnlp.nlp.cn.anaphora

Examples of org.fnlp.nlp.cn.anaphora.EntitiesGetter


        }
      } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
      EntitiesGetter elp = new EntitiesGetter();
      MarkFileManager mfp = new MarkFileManager(sb1.toString());
      String s = sb0.toString();
      String[][][] tags = tag.tag2DoubleArray(s);
      ll = elp.parse(tags);
      Iterator it =null;Iterator it1 =null
      LinkedList<StringBuffer> llsb = mfp.getELstr();
      it = ll.iterator();LinkedList<Entity> etLL = new LinkedList<Entity>();
      while(it.hasNext()){ 
        et = (Entity) it.next();
View Full Code Here


public class RuleAnaphora {

  private EntitiesGetter ep;
  POSTagger pos;
  public RuleAnaphora() throws Exception
    ep = new EntitiesGetter()
  }
View Full Code Here

    ep = new EntitiesGetter()
  }
 
  public RuleAnaphora(String segmodel, String posmodel) throws Exception{
    pos = new POSTagger(segmodel,posmodel);
    ep = new EntitiesGetter()
  }
View Full Code Here

TOP

Related Classes of org.fnlp.nlp.cn.anaphora.EntitiesGetter

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.