bag.text.words module

Generate funny test data by combining adjectives and nouns.

A list of nouns, a list of adjectives, and a function that returns a random combination.

Please be aware that importing this module consumes 1-2 MB RAM.

bag.text.words.random_locution(adjectives=1, nouns=1)[source]

Return a random combination of adjective(s) and noun(s).

Return type:List