Examples of clearHavingCondition()


Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

     
      ret.add(mCandidateClone);

      // 아
      mCandidateClone = mCandidate.copy();
      mCandidateClone.clearHavingCondition();
      if( preLastCh == '따' ) {
        exp = preStem + "라";
        mCandidateClone.add(new Morpheme("아", POSTag.ECS));
        mCandidateClone.addHavingCond(Condition.AH);
      } else if( preLastCh == '푸' ) {
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

    else if( lastHg.jong == 'ㄷ' ) {
      mCandidateClone = mCandidate.copy();
      exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, 'ㄹ');
      mCandidateClone.setExp(exp);
      mCandidateClone.setAutoExtd(true);
      mCandidateClone.clearHavingCondition();
      mCandidateClone.initHavingCond(exp);
      mCandidateClone.addHavingCond(Condition.MINUS_SIOT);
      mCandidateClone.decreaseNumOfPrfrdCond();
      mCandidateClone.setCandDicLen((byte)exp.length());
      ret.add(mCandidateClone);
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

      mCandidateClone = mCandidate.copy();
      mCandidateClone.add(new Morpheme("ㄴ", POSTag.ETD));
      exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, 'ㄴ');
      mCandidateClone.setExp(exp);
      mCandidateClone.setAutoExtd(true);
      mCandidateClone.clearHavingCondition();
      mCandidateClone.initHavingCond(exp);
      mCandidateClone.setRealDicLen((byte)exp.length());
      ret.add(mCandidateClone);

      mCandidateClone = mCandidate.copy();
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

      mCandidateClone = mCandidate.copy();
      exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, 'ㄹ');
      mCandidateClone.add(new Morpheme("ㄹ", POSTag.ETD));
      mCandidateClone.setExp(exp);
      mCandidateClone.setAutoExtd(true);
      mCandidateClone.clearHavingCondition();
      mCandidateClone.initHavingCond(exp);
      mCandidateClone.setRealDicLen((byte)exp.length());
      ret.add(mCandidateClone);

      // 'ㄹ' 불규칙
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

        mCandidateClone = mCandidate.copy();
        exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, 'ㄻ');
        mCandidateClone.add(new Morpheme("ㅁ", POSTag.ETN));
        mCandidateClone.setExp(exp);
        mCandidateClone.setAutoExtd(true);
        mCandidateClone.clearHavingCondition();
        mCandidateClone.initHavingCond(exp);
        mCandidateClone.setRealDicLen((byte)exp.length());
        ret.add(mCandidateClone);

        // ㄹ탈락 현상 처리
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

        // ㄹ탈락 현상 처리
        mCandidateClone = mCandidate.copy();
        exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, ' ');
        mCandidateClone.setExp(exp);
        mCandidateClone.setAutoExtd(true);
        mCandidateClone.clearHavingCondition();
        mCandidateClone.initHavingCond(exp);
        mCandidateClone.addHavingCond(Condition.MINUS_LIEUL);
        mCandidateClone.decreaseNumOfPrfrdCond();
        mCandidateClone.setCandDicLen((byte)exp.length());
        ret.add(mCandidateClone);
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

      else if( lastHg.jong == 'ㅎ' ) {
        mCandidateClone = mCandidate.copy();
        exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, ' ');
        mCandidateClone.setExp(exp);
        mCandidateClone.setAutoExtd(true);
        mCandidateClone.clearHavingCondition();
        mCandidateClone.initHavingCond(exp);
        mCandidateClone.addHavingCond(Condition.MINUS_HIEUT);
        mCandidateClone.decreaseNumOfPrfrdCond();
        mCandidateClone.setCandDicLen((byte)exp.length());
        ret.add(mCandidateClone);
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

        mCandidateClone = mCandidate.copy();
        mCandidateClone.add(new Morpheme("ㅁ", POSTag.ETN));
        exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, 'ㅁ');
        mCandidateClone.setExp(exp);
        mCandidateClone.setAutoExtd(true);
        mCandidateClone.clearHavingCondition();
        mCandidateClone.initHavingCond(exp);
        mCandidateClone.setRealDicLen((byte) exp.length());
        ret.add(mCandidateClone);
      }
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

      mCandidateClone = mCandidate.copy();
      exp = preStem + Hangul.combine(lastHg.cho, lastHg.jung, 'ㅂ');
      mCandidateClone.setExp(exp);
      mCandidateClone.setAutoExtd(true);
      mCandidateClone.clearHavingCondition();
      mCandidateClone.addHavingCond(Condition.BIEUB);
      mCandidateClone.initHavingCond(exp);
      mCandidateClone.setCandDicLen((byte) exp.length());
      ret.add(mCandidateClone);
    }
View Full Code Here

Examples of org.snu.ids.ha.ma.MCandidate.clearHavingCondition()

    // 'ㅡ' 결합에 의한 어간 출력
    else if( !lastHg.hasJong() && lastHg.jung == 'ㅡ' ) {
      // 양성으로 한번 결합
      mo = getMoeum(lastHg, preLastHg);
      mCandidateClone = mCandidate.copy();
      mCandidateClone.clearHavingCondition();
      exp = preStem + Hangul.combine(lastHg.cho, mo, 'ㅆ');
      if( mo == 'ㅏ' ) {
        mCandidateClone.add(new Morpheme("았", POSTag.EPT));
        mCandidateClone.addHavingCond(Condition.EUT);
      } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.