Public Member Functions | |
void | run (List< Instruction > instructions) |
Private Member Functions | |
void | correctPrepositionalPhrase (SemanticObject so) throws Exception |
List< Word > | getPrepositionalCompositions (List< Word > oldList) throws Exception |
Definition at line 15 of file PreparePrepositionalPhrasesPostProcessor.java.
void instruction.postprocessor.PreparePrepositionalPhrasesPostProcessor.correctPrepositionalPhrase | ( | SemanticObject | so | ) | throws Exception [inline, private] |
Recursively traverses nested SemanticObject
s to find composed prepositions (e.g. "next to")
so |
Exception |
Definition at line 36 of file PreparePrepositionalPhrasesPostProcessor.java.
List<Word> instruction.postprocessor.PreparePrepositionalPhrasesPostProcessor.getPrepositionalCompositions | ( | List< Word > | oldList | ) | throws Exception [inline, private] |
Finds composed prepositions in a list of words
oldList |
Exception |
Definition at line 104 of file PreparePrepositionalPhrasesPostProcessor.java.
void instruction.postprocessor.PreparePrepositionalPhrasesPostProcessor.run | ( | List< Instruction > | instructions | ) | [inline] |
Method is invoked when the PostProcessor is launched.
instructions | Complete List of Instructions |
Implements instruction.postprocessor.PostProcessor.
Definition at line 17 of file PreparePrepositionalPhrasesPostProcessor.java.