Package org.apache.ctakes.core.fsm.output

Examples of org.apache.ctakes.core.fsm.output.TimeToken


      }

      Set<TimeToken> timeTokenSet = iv_timeFSM.execute(baseTokenList);
      Iterator<TimeToken> timeTokenItr = timeTokenSet.iterator();
      while (timeTokenItr.hasNext()) {
        TimeToken tt = timeTokenItr.next();
        TimeAnnotation ta = new TimeAnnotation(jcas, tt.getStartOffset(), tt.getEndOffset());
        ta.addToIndexes();
      }

      Set<RomanNumeralToken> romanNumeralTokenSet = iv_romanNumeralFSM.execute(baseTokenList);
      Iterator<RomanNumeralToken> romanNumeralTokenItr = romanNumeralTokenSet.iterator();
View Full Code Here


      }

      Set<TimeToken> timeTokenSet = iv_timeFSM.execute(baseTokenList);
      Iterator<TimeToken> timeTokenItr = timeTokenSet.iterator();
      while (timeTokenItr.hasNext()) {
        TimeToken tt = timeTokenItr.next();
        TimeAnnotation ta = new TimeAnnotation(jcas, tt.getStartOffset(), tt.getEndOffset());
        ta.addToIndexes();
      }

      Set<RomanNumeralToken> romanNumeralTokenSet = iv_romanNumeralFSM.execute(baseTokenList);
      Iterator<RomanNumeralToken> romanNumeralTokenItr = romanNumeralTokenSet.iterator();
View Full Code Here

            // skip ahead over single token we don't want
            tokenStartIndex++;
          }
          BaseToken startToken = tokens.get(tokenStartIndex);
          BaseToken endToken = token;
          TimeToken timeToken = new TimeToken(startToken
              .getStartOffset(), endToken.getEndOffset());
          timeSet.add(timeToken);
          fsm.reset();
        }
      }
View Full Code Here

      }

      Set<TimeToken> timeTokenSet = iv_timeFSM.execute(baseTokenList);
      Iterator<TimeToken> timeTokenItr = timeTokenSet.iterator();
      while (timeTokenItr.hasNext()) {
        TimeToken tt = timeTokenItr.next();
        TimeAnnotation ta = new TimeAnnotation(jcas, tt.getStartOffset(), tt.getEndOffset());
        ta.addToIndexes();
      }

      Set<RomanNumeralToken> romanNumeralTokenSet = iv_romanNumeralFSM.execute(baseTokenList);
      Iterator<RomanNumeralToken> romanNumeralTokenItr = romanNumeralTokenSet.iterator();
View Full Code Here

TOP

Related Classes of org.apache.ctakes.core.fsm.output.TimeToken

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.