Skip to content

Add function to return english words #10

@fhightower

Description

@fhightower

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions