Skip to content

Creating a variant of the RandomTextGenerator class that utilizes a cache to obtain a balance between space and time efficiency #9

Description

@yashugrankar

I was thinking of creating a variant of the generator that uses a cache to store the most frequently occurring word sets, and their corresponding list of following words. This approach would not take as much space as creating the entire word-map, while being much faster than scanning through the entire text each time. I'd like to work on this if it sounds good. Let me know what you think.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions