Package net.sf.okapi.steps.cleanup
Class Parameters
- java.lang.Object
-
- net.sf.okapi.common.BaseParameters
-
- net.sf.okapi.common.StringParameters
-
- net.sf.okapi.steps.cleanup.Parameters
-
- All Implemented Interfaces:
Cloneable,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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditorDescriptioncreateEditorDescription(ParametersDescription paramDesc)booleangetCheckCharacters()booleangetKeepCrNlIntact()booleangetMatchRegexExpressions()booleangetMatchUserRegex()booleangetNormalizePunctuations()booleangetNormalizeQuotes()ParametersDescriptiongetParametersDescription()booleangetPruneTextUnit()StringgetUserRegex()voidreset()voidsetCheckCharacters(boolean checkCharacters)voidsetKeepCrNlIntact(boolean keepCrNlIntact)voidsetMatchRegexExpressions(boolean matchRegexExpressions)voidsetMatchUserRegex(boolean matchUserRegex)voidsetNormalizePunctuations(boolean normalizePunctuations)voidsetNormalizeQuotes(boolean normalizeQuotes)voidsetPruneTextUnit(boolean pruneTextUnit)voidsetUserRegex(String userRegex)-
Methods inherited from class net.sf.okapi.common.StringParameters
fromString, fromString, getBoolean, getGroup, getInteger, getString, setBoolean, setGroup, setInteger, setString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface net.sf.okapi.common.IParameters
copy
-
-
-
-
Method Detail
-
reset
public void reset()
- Specified by:
resetin interfaceIParameters- Overrides:
resetin classStringParameters
-
getNormalizeQuotes
public boolean getNormalizeQuotes()
-
setNormalizeQuotes
public void setNormalizeQuotes(boolean normalizeQuotes)
-
getCheckCharacters
public boolean getCheckCharacters()
-
setCheckCharacters
public void setCheckCharacters(boolean checkCharacters)
-
getMatchRegexExpressions
public boolean getMatchRegexExpressions()
-
setMatchRegexExpressions
public void setMatchRegexExpressions(boolean matchRegexExpressions)
-
getMatchUserRegex
public boolean getMatchUserRegex()
-
setMatchUserRegex
public void setMatchUserRegex(boolean matchUserRegex)
-
getUserRegex
public String getUserRegex()
-
setUserRegex
public void setUserRegex(String userRegex)
-
getPruneTextUnit
public boolean getPruneTextUnit()
-
setPruneTextUnit
public void setPruneTextUnit(boolean pruneTextUnit)
-
getNormalizePunctuations
public boolean getNormalizePunctuations()
-
setNormalizePunctuations
public void setNormalizePunctuations(boolean normalizePunctuations)
-
getKeepCrNlIntact
public boolean getKeepCrNlIntact()
-
setKeepCrNlIntact
public void setKeepCrNlIntact(boolean keepCrNlIntact)
-
getParametersDescription
public ParametersDescription getParametersDescription()
- Specified by:
getParametersDescriptionin interfaceIParameters- Overrides:
getParametersDescriptionin classBaseParameters
-
createEditorDescription
public EditorDescription createEditorDescription(ParametersDescription paramDesc)
- Specified by:
createEditorDescriptionin interfaceIEditorDescriptionProvider
-
-