Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.steps.termextraction.Parameters
-
- All Implemented Interfaces:
IParameters,IEditorDescriptionProvider
public class Parameters extends StringParameters implements IEditorDescriptionProvider
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.StringParameters
buffer
-
Fields inherited from class net.sf.okapi.common.BaseParameters
path
-
-
Constructor Summary
Constructors Constructor Description Parameters()
-
Method Summary
-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toString
-
-
-
-
Method Detail
-
getOutputPath
public String getOutputPath()
-
setOutputPath
public void setOutputPath(String outputPath)
-
getMinWordsPerTerm
public int getMinWordsPerTerm()
-
setMinWordsPerTerm
public void setMinWordsPerTerm(int minWordsPerTerm)
-
getMaxWordsPerTerm
public int getMaxWordsPerTerm()
-
setMaxWordsPerTerm
public void setMaxWordsPerTerm(int maxWordsPerTerm)
-
getMinOccurrences
public int getMinOccurrences()
-
setMinOccurrences
public void setMinOccurrences(int minOccurrences)
-
getStopWordsPath
public String getStopWordsPath()
-
setStopWordsPath
public void setStopWordsPath(String stopWordsPath)
-
getNotStartWordsPath
public String getNotStartWordsPath()
-
setNotStartWordsPath
public void setNotStartWordsPath(String notStartWordsPath)
-
getNotEndWordsPath
public String getNotEndWordsPath()
-
setNotEndWordsPath
public void setNotEndWordsPath(String notEndWordsPath)
-
getKeepCase
public boolean getKeepCase()
-
setKeepCase
public void setKeepCase(boolean keepCase)
-
getRemoveSubTerms
public boolean getRemoveSubTerms()
-
setRemoveSubTerms
public void setRemoveSubTerms(boolean removeSubTerms)
-
getSortByOccurrence
public boolean getSortByOccurrence()
-
setSortByOccurrence
public void setSortByOccurrence(boolean sortByOccurrence)
-
getAutoOpen
public boolean getAutoOpen()
-
setAutoOpen
public void setAutoOpen(boolean autoOpen)
-
getUseTextAnalysisAnnotations
public boolean getUseTextAnalysisAnnotations()
-
setUseTextAnalysisAnnotations
public void setUseTextAnalysisAnnotations(boolean useTextAnalysisAnnotations)
-
getUseTerminologyAnnotations
public boolean getUseTerminologyAnnotations()
-
setUseTerminologyAnnotations
public void setUseTerminologyAnnotations(boolean useTerminologyAnnotations)
-
getUseStatistics
public boolean getUseStatistics()
-
setUseStatistics
public void setUseStatistics(boolean useStatistics)
-
reset
public void reset()
Description copied from class:StringParametersReset this parameters object to its default values.Subclasses should override this method to set any initial values and instantiate any objects that require allocation. It is recommended that subclasses also call
super.reset()in the override to ensure that the buffer is empty.- Specified by:
resetin interfaceIParameters- Overrides:
resetin classStringParameters
-
getParametersDescription
public ParametersDescription getParametersDescription()
Description copied from interface:IParametersGets the description of the parameters.- Specified by:
getParametersDescriptionin interfaceIParameters- Overrides:
getParametersDescriptionin classBaseParameters- Returns:
- the ParametersDescription object for this set of parameters, or null if none is provided.
-
createEditorDescription
public EditorDescription createEditorDescription(ParametersDescription paramsDesc)
- Specified by:
createEditorDescriptionin interfaceIEditorDescriptionProvider
-
-