Package org.apache.ctakes.core.fsm.token

Examples of org.apache.ctakes.core.fsm.token.PunctuationToken


   * Called to check if the conditional meets the criteria defined by this
   * state.
   */
  public boolean satisfiedBy(Object conditional) {
    if (conditional instanceof PunctuationToken) {
      PunctuationToken t = (PunctuationToken) conditional;
      if (t.getChar() == iv_punctChar) {
        return true;
      }
    }

    return false;
View Full Code Here


      case Token.TYPE_WORD:
        WordToken wt = new WordTokenAdapter(t);
        baseTokens.add(wt);
        break;
      case Token.TYPE_PUNCT:
        PunctuationToken pt = new PunctuationTokenAdapter(t);
        baseTokens.add(pt);
        break;
      case Token.TYPE_NUMBER:
        if (t.isInteger()) {
          IntegerToken it = new IntegerTokenAdapter(t);
View Full Code Here

TOP

Related Classes of org.apache.ctakes.core.fsm.token.PunctuationToken

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.