public class ParenthesisPostProcessor extends Object implements PostProcessor
Mentions which contain a mismatched parenthesis ("(" or ")"), square bracket ("[" or "]")
or curly bracket ("{" or "}").| Constructor and Description |
|---|
ParenthesisPostProcessor()
Creates a new instance of
ParenthesisPostProcessor |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isEnd(String text) |
static boolean |
isStart(String text) |
void |
postProcess(Sentence sentence)
Removes
Mentions which contain a mismatched parenthesis ("(" or ")"), square bracket ("[" or "]") or
curly bracket ("{" or "}"). |
public ParenthesisPostProcessor()
ParenthesisPostProcessorpublic static boolean isStart(String text)
public static boolean isEnd(String text)
public void postProcess(Sentence sentence)
Mentions which contain a mismatched parenthesis ("(" or ")"), square bracket ("[" or "]") or
curly bracket ("{" or "}").postProcess in interface PostProcessorsentence - The Sentence to perform post-processing onCopyright © 2018 JULIE Lab, Germany. All rights reserved.