@Immutable public final class RareWordTerm extends Object
RareWordDictionary
Author: SPF
Affiliation: CHIP-NLP
Date: 11/18/13Constructor and Description |
---|
RareWordTerm(String text,
Long cuiCode,
String rareWord,
int rareWordIndex,
int tokenCount) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
Long |
getCuiCode() |
String |
getRareWord() |
int |
getRareWordIndex() |
String |
getText() |
int |
getTokenCount() |
String[] |
getTokens() |
int |
hashCode() |
public RareWordTerm(String text, Long cuiCode, String rareWord, int rareWordIndex, int tokenCount)
text
- full text of termcuiCode
- umls cui for the termrareWord
- rare word in the term that is used for lookuprareWordIndex
- index of the rare word within the termtokenCount
- number of tokens within the termpublic String getText()
public Long getCuiCode()
public String getRareWord()
public int getRareWordIndex()
public int getTokenCount()
public String[] getTokens()
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.