Class PredefinedFeatures


  • public final class PredefinedFeatures
    extends Object
    The type Predefined features.
    • Constructor Detail

      • PredefinedFeatures

        public PredefinedFeatures()
        Instantiates a new Predefined features.
    • Method Detail

      • get

        public static Featurizer<HString> get​(String name)
        Get featurizer.
        Parameters:
        name - the name
        Returns:
        the featurizer
      • lenientContext

        public static String lenientContext​(@NonNull
                                            @NonNull Object... objects)
        Lenient context string.
        Parameters:
        objects - the objects
        Returns:
        the string
      • strictContext

        public static String strictContext​(@NonNull
                                           @NonNull Object... objects)
        Strict context string.
        Parameters:
        objects - the objects
        Returns:
        the string
      • strictContext

        public static String strictContext​(boolean mustMatch,
                                           @NonNull
                                           @NonNull Object... objects)
        Strict context string.
        Parameters:
        mustMatch - the must match
        objects - the objects
        Returns:
        the string