Class RobustTokenizer.WordToken
- java.lang.Object
-
- edu.stanford.nlp.ie.machinereading.domains.ace.reader.RobustTokenizer.WordToken
-
- Enclosing class:
- RobustTokenizer<T extends Word>
public static class RobustTokenizer.WordToken extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected intmEndEnd positionprotected intmNewLineCountCounts how many new lines appear between this token and the previous one in the streamprotected intmStartStart positionprotected StringmWordThe lexem
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetEnd()intgetNewLineCount()intgetStart()StringgetWord()voidsetEnd(int i)voidsetNewLineCount(int i)voidsetStart(int i)voidsetWord(String w)StringtoString()
-
-
-
Field Detail
-
mStart
protected int mStart
Start position
-
mEnd
protected int mEnd
End position
-
mNewLineCount
protected int mNewLineCount
Counts how many new lines appear between this token and the previous one in the stream
-
mWord
protected String mWord
The lexem
-
-
Method Detail
-
getStart
public int getStart()
-
setStart
public void setStart(int i)
-
getEnd
public int getEnd()
-
setEnd
public void setEnd(int i)
-
getNewLineCount
public int getNewLineCount()
-
setNewLineCount
public void setNewLineCount(int i)
-
getWord
public String getWord()
-
setWord
public void setWord(String w)
-
-