org.apache.ctakes.core.fsm.token.adapter
Class WordTokenAdapter
java.lang.Object
org.apache.ctakes.core.fsm.token.adapter.BaseTokenAdapter
org.apache.ctakes.core.fsm.token.adapter.WordTokenAdapter
- All Implemented Interfaces:
- BaseToken, TextToken, WordToken
public class WordTokenAdapter
- extends BaseTokenAdapter
- implements WordToken
Adapts a Context Free Tokenizer token into a Context Dependent Tokenizer
WordToken.
- Author:
- Mayo Clinic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WordTokenAdapter
public WordTokenAdapter(Token tok)
getText
public String getText()
- Specified by:
getText
in interface TextToken
getCaps
public byte getCaps()
- Specified by:
getCaps
in interface WordToken
getNumPosition
public byte getNumPosition()
- Specified by:
getNumPosition
in interface WordToken
Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.