Class BookGenerator_fr

    • Constructor Summary

      Constructors 
      Constructor Description
      BookGenerator_fr()
      Create a new BookGenerator and add some special words.
    • Constructor Detail

      • BookGenerator_fr

        public BookGenerator_fr()
        Create a new BookGenerator and add some special words.
    • Method Detail

      • isValidLanguage

        boolean isValidLanguage​(java.lang.String word,
                                java.lang.String wikiText)
        Description copied from class: BookGenerator
        Check if a word is a valid word of the current language. With function getBook().addWord() you can add additional Flexion of the word. The current word self does not need added.
        Specified by:
        isValidLanguage in class BookGenerator
        Parameters:
        word - the test word
        wikiText - die decription from Wiktionary
        Returns:
        true if valid