|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbasic.WordList
basic.Context
public class Context
Represents context, stores list of words and position of keyword.
| Constructor Summary | |
|---|---|
Context()
Constructor |
|
Context(Context context)
Constructor which copies another context |
|
| Method Summary | |
|---|---|
void |
cutToWindow(int contextWindow)
Narrows the context to chosen window width |
int |
getKeywordIndex()
Gets the index of keyword in context |
void |
setKeywordIndex(int i)
Sets the index of keyword in context |
java.lang.String |
toString()
|
| Methods inherited from class basic.WordList |
|---|
addWord, getBases, getOrths |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Context(Context context)
context - context to copypublic Context()
| Method Detail |
|---|
public void setKeywordIndex(int i)
i - public int getKeywordIndex()
public void cutToWindow(int contextWindow)
contextWindow - widthpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||