Class Expansion

All Implemented Interfaces:

public class Expansion
An expansion definition. Each object respresents one set of expandable strings. For example, you could have expansions for the word `hot` in one object, and expansions for the word `cold` in another.
  • Method Details

    • newBuilder

      public Expansion.Builder newBuilder()
      New builder.
      a Expansion builder
    • inputTerms

      public List<String> inputTerms()
      Gets the inputTerms.

      A list of terms that will be expanded for this expansion. If specified, only the items in this list are expanded.

      the inputTerms
    • expandedTerms

      public List<String> expandedTerms()
      Gets the expandedTerms.

      A list of terms that this expansion will be expanded to. If specified without **input_terms**, it also functions as the input term list.

      the expandedTerms