Class PronomsFeblesHelper

java.lang.Object
org.languagetool.rules.ca.PronomsFeblesHelper

public class PronomsFeblesHelper extends Object
  • Method Details

    • transform

      public static String transform(String inputPronom, org.languagetool.rules.ca.PronomsFeblesHelper.PronounPosition pronounPos)
    • transformDavant

      public static String transformDavant(String inputPronom, String nextWord)
    • transformDarrere

      public static String transformDarrere(String inputPronom, String previousWord)
    • getTwoNextPronouns

      public static String[] getTwoNextPronouns(AnalyzedTokenReadings[] tokens, int from)
    • getPreviousPronouns

      public static String[] getPreviousPronouns(AnalyzedTokenReadings[] tokens, int toIndex)
    • doAddPronounEn

      public static String doAddPronounEn(String firstVerb, String pronounsStr, String verbStr, boolean pronounsAfter)
    • doAddPronounHi

      public static String doAddPronounHi(String firstVerb, String pronounsStr, String verbStr, boolean pronounsAfter)
    • doRemovePronounReflexive

      public static String doRemovePronounReflexive(String firstVerb, String pronounsStr, String verbStr, boolean pronounsAfter)
    • doAddPronounReflexive

      public static String doAddPronounReflexive(String firstVerb, String pronounsStr, String verbStr, String firstVerbPersonaNumber, boolean pronounsAfter)
    • doAddPronounReflexiveEn

      public static String doAddPronounReflexiveEn(String firstVerb, String pronounsStr, String verbStr, String firstVerbPersonaNumber, boolean pronounsAfter)
    • doAddPronounReflexiveImperative

      public static String doAddPronounReflexiveImperative(String firstVerb, String pronounsStr, String verbStr, String firstVerbPersonaNumber)
    • doReplaceEmEn

      public static String doReplaceEmEn(String firstVerb, String pronounsStr, String verbStr, boolean pronounsAfter)
    • doReplaceHiEn

      public static String doReplaceHiEn(String firstVerb, String pronounsStr, String verbStr, boolean pronounsAfter)
    • convertPronounsForIntransitiveVerb

      public static String convertPronounsForIntransitiveVerb(String s)
    • fixApostrophes

      public static String fixApostrophes(String s)