-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate a word from English dictionary instead of lorem list of words #143
Labels
enhancement
New feature or request
Comments
I have an idea using external APIs and I want to work on this issue, can you assign me? |
@dhfherna sure, go ahead |
Hi @jaswdr, I was reviewing the PR with my proposal to solve this issue, however, upon review I see that it did not pass the deepsource review, I identified some solutions that apply in recent versions of Go, that means that for older versions the compilation fails. In this case what can I do? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I need to generate real words from a dictionary to use inside a security project. The problem with the hard-coded list in `Lorem().Text()`` that it can be easy identified as fake data
I can understand that faker's point is to generate fake data, though it will be useful to also give an option to generate more realistic fake data when it comes to strings.
Describe the solution you'd like
fake.Lorem().Word(min-length?) -> "apple"
Describe alternatives you've considered
Completely random slice of letters or a ransom elements of lorem texts array is not suitable for my use case.
Check out this: https://raw.githubusercontent.com/tjarratt/babble/master/babble_windows.go
We don't need to grab the whole words from the dictionary as it will increase significantly the package size, for example words under 4 letters can be dropped.
The text was updated successfully, but these errors were encountered: