|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.util.List |
allTokens()
Function which returns all token labels used in project. |
void |
constructedToken(java.util.List l,
TypeSentence s)
This function should be called when the user mixed the words for selected token label. |
TokenizerResults |
doJob(TypeSentence s,
Entity e,
boolean b)
|
int |
getPercentsOfCommonToPerfomLerning()
This return the actual percents of similarity when these tokens are marked as similar. |
int |
getSizeOfList()
This return the length of the token list which is returned in TokenizerResults |
void |
join(java.lang.String st,
TypeSentence s2)
This function should be called when two tokens were merged. |
void |
removingEntity(Entity e)
This function change the state of tokens' internal structures if the entity is removed. |
void |
removingModel(UseCaseModel m)
This function change the state of tokens' internal structures if the model is removed. |
void |
removingSentence(TypeSentence s)
This function change the state of tokens' internal structures if the sentence is removed. |
void |
removingUseCase(UseCase uc)
This function change the state of tokens' internal structures if the use case is removed. |
void |
setPercentsOfCommonToPerfomLerning(int percents)
This function change the variable which determinates wheather too tokens are similiar or not. |
void |
setSizeOfList(int sizeOfList)
This change the length of the token list which is returned in TokenizerResults |
java.util.Map |
tokensAndSentences()
This function returns the Map of token labels and the sentences in which the token label was used. |
void |
writtenByHand(java.lang.String st,
TypeSentence s)
This function should be called when the user has written the token label by hand. |
Method Detail |
public TokenizerResults doJob(TypeSentence s, Entity e, boolean b)
s
- sentence (TypeSentence) on which generation is donee
- entity sentence belongs tob
- if true then the analysed result will be stored
public java.util.Map tokensAndSentences()
public java.util.List allTokens()
public void removingSentence(TypeSentence s)
s
- sentence (TypeSentence) which gonna be removed from projectpublic void removingUseCase(UseCase uc)
uc
- UseCase which gonna be removed from project with their sentencespublic void removingModel(UseCaseModel m)
m
- model which gonna be removed from project with their use casespublic void removingEntity(Entity e)
e
- Entity which gonna be removed from projectpublic void join(java.lang.String st, TypeSentence s2)
st
- the token label of the action to which this Sentence should be
mergeds2
- sentence (TypeSentnce) to which this token referspublic void constructedToken(java.util.List l, TypeSentence s)
l
- List of Wordss
- sentence (TypeSentence) to which this token referspublic void writtenByHand(java.lang.String st, TypeSentence s)
st
- the token label written by users
- sentence (TypeSentence) to which this token referspublic int getPercentsOfCommonToPerfomLerning()
public void setPercentsOfCommonToPerfomLerning(int percents)
percents
- percents of similaritypublic int getSizeOfList()
public void setSizeOfList(int sizeOfList)
sizeOfList
- the length of the list
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |