ilog.rules.vocabulary.verbalization

Interface IlrArticleBuilder

  • All Known Implementing Classes:
    IlrDefaultArticleBuilder


    public interface IlrArticleBuilder
    Interface for article builders. An IlrArticleBuilder instance must be attached to an IlrVerbalizer instance and it is used to compute the appropriate article, following the specifications provided by an IlrVerbalizationContext.
    • Method Detail

      • getArticle

        java.lang.String getArticle(IlrVerbalizationContext context,
                                  IlrVerbalizable verbalizable)
                                    throws IlrVerbalizationException
        Gets the appropriate article for the specified verbalizable element. Note : implementations of this method must not modify the provided verbalization context.
        Throws:
        IlrVerbalizationException
        Parameters:
        context - The verbalization context.
        verbalizable - The verbalizable element.
        Returns:
        The article used in the verbalization, following the specifications provided by context.

© Copyright IBM Corp. 1987, 2017