WHAT I want this project to do (or not do)
I would like a function that returns a generator with every english word.
WHY I want this project to have this feature
Such a function would facilitate other functions.
HOW we might implement this feature
I image the function signature like:
def english_words() -> Iterable[str]:
...
This could be generalized to other languages like:
def words(language: str) -> Iterable[str]:
...
where language is some kind of language identifier.
WHAT I want this project to do (or not do)
I would like a function that returns a generator with every english word.
WHY I want this project to have this feature
Such a function would facilitate other functions.
HOW we might implement this feature
I image the function signature like:
This could be generalized to other languages like:
where
languageis some kind of language identifier.