Package org.fnlp.nlp.cn.anaphora.Entity

Examples of org.fnlp.nlp.cn.anaphora.Entity.FUNC


          }
          else if(this.isMale(ey.getData())){
            ey.setMale();
          }
         
          FUNC graTag = FUNC.SUB;
          while((j-flag-1)>=0&&!epos[j-flag-1].isMark()){
            if(isObj(epos[j-flag-1])){
              graTag = FUNC.OBJ;
              break;
            }
View Full Code Here


  private int roleWeight(){
   
    if(pdata.equals("他")||pdata.equals("她")
        ||pdata.equals("它")){
     
      FUNC ptag = pronoun.getGraTag();
      FUNC etag = entity.getGraTag();   
     
     
      if(edistance==pdistance&&entity.getSubDistance()==pronoun.getSubDistance()&&
          etag!=FUNC.ADJ && ptag!=FUNC.ADJ  ){
        return -100;
View Full Code Here

TOP

Related Classes of org.fnlp.nlp.cn.anaphora.Entity.FUNC

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.