org.cogroo.tools.checker.rules.applier
Class SuggestionBuilder

java.lang.Object
  extended by org.cogroo.tools.checker.rules.applier.SuggestionBuilder

public class SuggestionBuilder
extends Object

This class makes suggestions to correct the mistakes.

Version:
$Id: SuggestionBuilder.java 400 2007-04-19 02:36:40Z msuzumura $
Author:
Marcelo Suzumura, Fábio Wang Gusukuma, William Colen

Constructor Summary
SuggestionBuilder(CogrooTagDictionary dict)
           
 
Method Summary
 String[] getSyntacticSuggestions(Sentence sentence, List<SyntacticChunk> matched, Token next, Rule rule)
           
 String[] getTokenSuggestions(Sentence sentence, List<Token> matched, Token next, Rule rule)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SuggestionBuilder

public SuggestionBuilder(CogrooTagDictionary dict)
Method Detail

getTokenSuggestions

public String[] getTokenSuggestions(Sentence sentence,
                                    List<Token> matched,
                                    Token next,
                                    Rule rule)

getSyntacticSuggestions

public String[] getSyntacticSuggestions(Sentence sentence,
                                        List<SyntacticChunk> matched,
                                        Token next,
                                        Rule rule)


Copyright © 2012-2013 CoGrOO. All Rights Reserved.