Package org.apache.ctakes.drugner.fsm.elements.conditions

Examples of org.apache.ctakes.drugner.fsm.elements.conditions.ContainsSetTextValueCondition


 
      leftAbbreviateQState.addTransition(firstDotConditionQ, firstDotQState);
      leftAbbreviateQState.addTransition(new AnyCondition(), startState);
 
     
      leftAbbreviateState.addTransition(new ContainsSetTextValueCondition(
          iv_perWeekWordSet, false), endState);
      leftAbbreviateState.addTransition(new AnyCondition(), startState);
 
      firstDotQState.addTransition(new TextValueCondition("w", false),
          middleAbbreviateQtoWState);
View Full Code Here


 
     
      Condition specificWordCondition = new TextSetCondition(
          iv_dailyWordSet, false);
      Condition soloCondition = new TextSetCondition(iv_perDayWordSet, false);
      Condition containsSoloTermCondition = new ContainsSetTextValueCondition(
          iv_perDayWordSet, false);
       
     
      startState.addTransition(new TextValueCondition("q", false),
          leftAbbreviateQState);
View Full Code Here

    Condition firstTextCondition = new WordSetCondition(iv_textPrefixSet,
        false);
    Condition soloCondition = new WordSetCondition(iv_singleWordSet, true);
    Condition specificWordCondition = new WordSetCondition(
        iv_specifiedWordSet, false);
    Condition containsSoloTermCondition = new ContainsSetTextValueCondition(
        iv_singleWordSet, true);

    startState.addTransition(numericStartCondition, leftAbbreviateState);
    startState.addTransition(firstTextCondition, leftAbbreviateState);
    startState.addTransition(new TextValueCondition("a", true),
View Full Code Here

    State unitState = new NamedState("UNIT");
    State ntFalseTermState = new IndentStartState("NON TERMINAL START");
    endState.setEndStateFlag(true);
    ntFalseTermState.setEndStateFlag(true);

    startState.addTransition(new ContainsSetTextValueCondition(
        iv_fullTextSet, false), endState);
//    startState.addTransition(new WordSetCondition(
//        iv_fullTextSet, false), endState);
//   
//    startState.addTransition(new WordSetCondition(iv_fullTextSet, false), endState);
    startState.addTransition(new PunctuationValueCondition('-'), unitState);
    startState.addTransition(new SymbolValueCondition('%'), endState);
    startState.addTransition(new AnyCondition(), startState);
   
    unitState.addTransition(new ContainsSetTextValueCondition(iv_fullTextSet, false), ntFalseTermState);
    unitState.addTransition(new SymbolValueCondition('%'), endState);
    unitState.addTransition(new AnyCondition(), startState);

    ntFalseTermState.addTransition(new AnyCondition(), startState);
    endState.addTransition(new AnyCondition(), startState);
View Full Code Here

      Condition fslashCondition = new PunctuationValueCondition('/');
      Condition intDenominatorCondition = new NumberCondition();
      Condition decDenominatorCondition = new DecimalCondition();
      Condition decimalCondition = new DecimalCondition();
      Condition containsdotCondition = new PunctuationValueCondition('.');
      Condition leftContainsShortDose = new ContainsSetTextValueCondition(
        iv_textNumeratorSet, false);
   
      startState.addTransition(intNumeratorCondition, numeratorLeftState);
      startState.addTransition(leftContainsShortDose, numeratorLeftState);
      startState.addTransition(new DecimalCondition(), numeratorLeftState);
View Full Code Here

TOP

Related Classes of org.apache.ctakes.drugner.fsm.elements.conditions.ContainsSetTextValueCondition

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.