Package org.languagetool.rules.de
Class LineExpander
java.lang.Object
org.languagetool.rules.de.LineExpander
- All Implemented Interfaces:
LineExpander
Expand lines according to their suffix, e.g.
foo/S becomes [foo, foos].- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidprivate static StringexpandLine(String line) Expand a line read from a file into several lines, e.g.handleLineWithFlags(String line) handleLineWithPrefix(String line) private booleanisLineWithFlag(String line) private booleanisLineWithVerbPrefix(String line)
-
Field Details
-
verbFormCache
-
-
Constructor Details
-
LineExpander
public LineExpander()
-
-
Method Details
-
handleLineWithPrefix
-
expandLine
Description copied from interface:LineExpanderExpand a line read from a file into several lines, e.g. to interpret flags like "/S".- Specified by:
expandLinein interfaceLineExpander
-
isLineWithFlag
-
isLineWithVerbPrefix
-
handleLineWithFlags
-
add
-
cleanTagsAndEscapeChars
-