org.languagetool.rules.ru
Class RussianWordRepeatRule

java.lang.Object
  extended by org.languagetool.rules.Rule
      extended by org.languagetool.rules.ru.RussianRule
          extended by org.languagetool.rules.ru.RussianWordRepeatRule

public class RussianWordRepeatRule
extends RussianRule

Author:
- Yakov Reztsov, based on code by Marcin MiƂkowski Rule for detecting same words in the sentence but not just in a row

Field Summary
 
Fields inherited from class org.languagetool.rules.Rule
messages
 
Constructor Summary
RussianWordRepeatRule(ResourceBundle messages)
           
 
Method Summary
 String getDescription()
           
 String getId()
           
 RuleMatch[] match(AnalyzedSentence text)
           
 void reset()
           
 
Methods inherited from class org.languagetool.rules.Rule
addRuleMatch, clearMatches, getCategory, getCorrectExamples, getIncorrectExamples, getLocQualityIssueType, getMatches, getMatchesIndex, getUrl, isDefaultOff, isInMatches, isInRemoved, isParagraphBackTrack, isSpellingRule, setAsDeleted, setCategory, setCorrectExamples, setDefaultOff, setIncorrectExamples, setLocQualityIssueType, setParagraphBackTrack, setUrl, supportsLanguage, toRuleMatchArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RussianWordRepeatRule

public RussianWordRepeatRule(ResourceBundle messages)
Method Detail

getId

public final String getId()
Specified by:
getId in class Rule

getDescription

public final String getDescription()
Specified by:
getDescription in class Rule

match

public final RuleMatch[] match(AnalyzedSentence text)
Specified by:
match in class Rule

reset

public void reset()
Specified by:
reset in class Rule


Copyright © 2013. All Rights Reserved.