public static class EdgePunctuationPatternProvider.Right extends EdgePunctuationPatternProvider
EdgePunctuationPatternProvider.Left, EdgePunctuationPatternProvider.Right
Modifier and Type | Field and Description |
---|---|
protected String |
EdgePunctRight |
EdgePunct, EndPunc, NotEdgePunct, StartPunc
Constructor and Description |
---|
Right(PunctuationPatternProvider punctuation) |
Modifier and Type | Method and Description |
---|---|
String |
correctEdges(String s) |
String |
patternString() |
edgePuncPattern, fixedges
combine, pattern
protected String EdgePunctRight
public Right(PunctuationPatternProvider punctuation)
punctuation
- currently unusedpublic String patternString()
patternString
in class PatternProvider
PatternProvider.pattern()
to compile a regex patternpublic String correctEdges(String s)
correctEdges
in class EdgePunctuationPatternProvider