faker.providers.lorem.en_PH
¶
Package Contents¶
Classes¶
Implement lorem provider for |
|
Implement lorem provider for |
|
Implement lorem provider for |
- class faker.providers.lorem.en_PH.EnUsProvider(generator: Any)¶
Bases:
faker.providers.lorem.Provider
Implement lorem provider for
en_US
locale.Word list is based on the source(s) below, and some words have been removed to make the word list appropriate for public testing.
Sources:
https://www.educall.com.tr/blog/post/500-most-common-english-verbs
http://www.ef.edu/english-resources/english-vocabulary/top-1000-words/
https://www.talkenglish.com/vocabulary/top-500-adjectives.aspx
- word_list = ('a', 'ability', 'able', 'about', 'above', 'accept', 'according', 'account', 'across', 'act',...¶
- class faker.providers.lorem.en_PH.LoremProvider(generator: Any)¶
Bases:
faker.providers.lorem.Provider
Implement lorem provider for
la
locale.- word_list = ('a', 'ab', 'accusamus', 'accusantium', 'ad', 'adipisci', 'alias', 'aliquam', 'aliquid', 'amet',...¶
- class faker.providers.lorem.en_PH.Provider(generator: Any)¶
Bases:
faker.providers.lorem.la.Provider
Implement lorem provider for
en_PH
locale.This localized provider generates pseudo-Latin text when using the standard lorem provider methods, and the
english_*
methods are also provided for generating text in American English. Both languages are used in this locale for this purpose.All the
english_*
methods use their corresponding standard lorem provider method under the hood withext_word_list
set to theEnUsLoremProvider
’s word list.- english_word_list¶
- english_words(nb: int = 3, unique: bool = False) List[str] ¶
Generate a list of English words.
- Sample
nb=5
- Sample
nb=5, unique=True
- english_sentence(nb_words: int = 6, variable_nb_words: bool = True) str ¶
Generate a sentence in English.
- Sample
nb_words=10
- Sample
nb_words=10, variable_nb_words=False
- english_paragraph(nb_sentences: int = 3, variable_nb_sentences: bool = True) str ¶
Generate a paragraph in English.
- Sample
nb_sentences=5
- Sample
nb_sentences=5, variable_nb_sentences=False