|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttp.controllers.ActionControl
tp.controllers.SettingsControl
public class SettingsControl
A controller to process events on a screen, where the setting of pre-processing and representation of documents.
Nested Class Summary | |
---|---|
static class |
SettingsControl.TypeOfRepresentationFeatures
|
static class |
SettingsControl.TypeOfRepresentationModels
|
Field Summary | |
---|---|
static int |
NGRAM_DEFAULT_OCCUR
|
static int |
NGRAM_MAX_DEPTH
|
static int |
NGRAM_MAX_OCCUR
|
static int |
NGRAM_MIN_DEPTH
|
static int |
NGRAM_MIN_OCCUR
|
static int |
WORD_DEPTH
|
Fields inherited from class tp.controllers.ActionControl |
---|
event |
Constructor Summary | |
---|---|
SettingsControl()
Constructor of the class |
Method Summary | |
---|---|
int |
getRepresentationFeature()
The method gets information about feature, which is used to represent documents. |
static java.lang.String[] |
getRepresentationFeatureNames()
Metoda vrati pole retezcu s nazvy rysu, ktere lze pouzit pro reprezentaci dokumentu |
int |
getRepresentationModel()
The method gets information about model, which is used to represent documents. |
static java.lang.String[] |
getRepresentationModelNames()
The method returs an array with names of models, which can be used for document representation. |
void |
changeFeature(java.lang.String type)
The method is executed after change of a chosen feature for document representation. |
void |
changeModel(java.lang.String type)
The method is executed after change of a chosen model for document representation. |
void |
init(DocumentsDatabase database)
Initialization - setting of reference to database of documents |
void |
nextBtnClick()
After click of "Next", a pre-processing task is executed. |
void |
ownStopListChange()
The method is used to set path to user-defined stoplist. |
void |
setNgramDepth()
The method is executed after change of N-gram size. |
void |
setNgramOccur()
The method is executed after change of N-gram size. |
void |
setStemming(boolean use_stemming)
The method sets a variable with information, if stemming will be used. |
void |
setStopList(boolean use_stop_list)
The method sets a variable with information, if stoplist will be used. |
boolean |
useOwnStopList()
The method gets information, if user-defined stoplist will be used. |
boolean |
useStemming()
The method gets information, if stemming will be used. |
void |
useStemmingChange()
The method is executed after change of a check-box for stemming. |
boolean |
useStopList()
The method gets information, if stoplist will be used. |
void |
useStopListChange()
The method is executed after change of a check-box for stop-list. |
Methods inherited from class tp.controllers.ActionControl |
---|
actionPerformed, invokeMethod, itemStateChanged, stateChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int WORD_DEPTH
public static final int NGRAM_MIN_DEPTH
public static final int NGRAM_MAX_DEPTH
public static final int NGRAM_MIN_OCCUR
public static final int NGRAM_MAX_OCCUR
public static final int NGRAM_DEFAULT_OCCUR
Constructor Detail |
---|
public SettingsControl()
Method Detail |
---|
public void init(DocumentsDatabase database)
database
- database of documentspublic void nextBtnClick()
public void useStopListChange()
public void useStemmingChange()
public void changeFeature(java.lang.String type)
public void changeModel(java.lang.String type)
public void setNgramDepth()
public void setNgramOccur()
public void setStemming(boolean use_stemming)
use_stemming
- true, if stemming is used, false otherwisepublic boolean useStemming()
public boolean useOwnStopList()
public void ownStopListChange()
public void setStopList(boolean use_stop_list)
use_stop_list
- true, if stoplist is used, false otherwisepublic boolean useStopList()
public static java.lang.String[] getRepresentationFeatureNames()
public static java.lang.String[] getRepresentationModelNames()
public int getRepresentationFeature()
public int getRepresentationModel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |