Class EnglishWords


  • public class EnglishWords
    extends java.lang.Object
    This is a very light-weight version of fairy, which just generates simple pseudo-sentences in repeated SVO patterns.
    • Constructor Summary

      Constructors 
      Constructor Description
      EnglishWords()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String adjective()  
      static java.lang.String noun()  
      static java.lang.String paragraph​(int sentences)  
      static java.lang.String sentence​(int minLength)  
      static java.lang.String thing()  
      static java.lang.String verb()  
      • Methods inherited from class java.lang.Object

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

      • EnglishWords

        public EnglishWords()
    • Method Detail

      • noun

        @Nonnull
        public static java.lang.String noun()
      • thing

        @Nonnull
        public static java.lang.String thing()
      • adjective

        @Nonnull
        public static java.lang.String adjective()
      • verb

        @Nonnull
        public static java.lang.String verb()
      • sentence

        @Nonnull
        public static java.lang.String sentence​(int minLength)
      • paragraph

        @Nonnull
        public static java.lang.String paragraph​(int sentences)