Class UnitConversionRuleImperial

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.languagetool.rules.AbstractUnitConversionRule

        org.languagetool.rules.AbstractUnitConversionRule.Message
    • Field Summary

      • Fields inherited from class org.languagetool.rules.AbstractUnitConversionRule

        convertedPatterns, FAHRENHEIT, FEET, IMP_FL_OUNCE, IMP_GALLON, IMP_PINT, IMP_QUART, INCH, metricUnits, MILE, NUMBER_REGEX, numberRangePart, OUNCE, POUND, specialPatterns, unitPatterns, unitSymbols, US_CUP, US_FL_OUNCE, US_GALLON, US_PINT, US_QUART, YARD
      • Fields inherited from class org.languagetool.rules.Rule

        messages
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getId()  
      • Methods inherited from class org.languagetool.rules.AbstractUnitConversionRule

        addUnit, detectNumberRange, formatMeasurement, formatRounded, getMessage, getMetricEquivalent, getShortMessage, getSuggestion, match
      • Methods inherited from class org.languagetool.rules.Rule

        addExamplePair, estimateContextForSureMatch, getAntiPatterns, getCategory, getConfigureText, getCorrectExamples, getDefaultValue, getErrorTriggeringExamples, getIncorrectExamples, getLocQualityIssueType, getMaxConfigurableValue, getMinConfigurableValue, getSentenceWithImmunization, getUrl, hasConfigurableValue, isDefaultOff, isDefaultTempOff, isDictionaryBasedSpellingRule, isOfficeDefaultOff, isOfficeDefaultOn, makeAntiPatterns, setCategory, setCorrectExamples, setDefaultOff, setDefaultOn, setDefaultTempOff, setErrorTriggeringExamples, setIncorrectExamples, setLocQualityIssueType, setOfficeDefaultOff, setOfficeDefaultOn, setUrl, supportsLanguage, toRuleMatchArray, useInOffice
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnitConversionRuleImperial

        public UnitConversionRuleImperial​(java.util.ResourceBundle messages)