Class LanguageAnalyzerDecision

java.lang.Object
com.novomind.ecom.api.imail.core.result.decision.AbstractAnalyzerDecision<Locale>
com.novomind.ecom.api.imail.core.result.decision.LanguageAnalyzerDecision
All Implemented Interfaces:
AnalyzerDecision<Locale>, Comparable<AnalyzerDecision<Locale>>

public final class LanguageAnalyzerDecision extends AbstractAnalyzerDecision<Locale>
A AnalyzerDecision containing a Locale. This is typically added to an IncomingMessageAnalyzerResult if the language of the contained Locale is suiteable for the analyzed IncomingMessage.
Since:
11.15
  • Constructor Details

    • LanguageAnalyzerDecision

      public LanguageAnalyzerDecision(Locale language, double confidence)
      Constructs a LanguageAnalyzerDecision for a Locale with a confidence value.
      Parameters:
      language - the Locale containing the language which is the "value" of this AnalyzerDecision
      confidence - the confidence value ranging from 0 to 100
      Since:
      11.15
    • LanguageAnalyzerDecision

      public LanguageAnalyzerDecision(Locale language)
      Constructs a LanguageAnalyzerDecision for a Locale.
      Parameters:
      language - the Locale containing the language which is the "value" of this AnalyzerDecision
      Since:
      11.15
  • Method Details