On 3/15/11 4:01 PM, Radu Simionescu wrote:
I do not store the sequences of possible sets of outcomes. I generate them at runtime based on a dictionary and disambiguation rules(applied on the given input sentence). So for my case, I needed a method like tagger.tag(String[] sentence, String[][] possible_outcomes_for_each_word). Where possible_outcomes_for_each_word is generated by some code which is not related to OpenNLP. where sentence.length() = possible_outcomes_for_each_word.length
That is exactly where the sequence validation is for. Couldn't you wrap your validation mechanism inside a sequene validator? There you get the full sentence and the current partial sequence. Jörn
