Skip to content

Java Transformer: Use Dictionaries for Pseudo-Random Strings #5

@lapplislazuli

Description

@lapplislazuli

At the moment the pseudo-random strings are using animal names hardcoded in the program.
It would be nicer to provide 3 textfiles with "nouns","verbs" and "adjectives" and pick amongst them randomly.

Proposed Solution
On Program start, look for a set of specified files and draw the words from them.
Use the current behaviour as default if no files are found.

Possible Problems:

Encoding of Words can be a trouble

For uniqueness / reproducabiltiy generate and log a hash of the files.

Additional Context:
It might be super nice to specify a pattern to draw from for the transformers, e.g. a pattern how a comment looks in the style [noun,verb,adjevtive,noun] with quantifiers etc.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions