Skip to content
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

lorem: Merge "supplemental" with "words" list #2153

Closed
matthewmayer opened this issue May 12, 2023 · 1 comment · Fixed by #2242
Closed

lorem: Merge "supplemental" with "words" list #2153

matthewmayer opened this issue May 12, 2023 · 1 comment · Fixed by #2242
Assignees
Labels
c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: lorem Something is referring to the lorem module p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Milestone

Comments

@matthewmayer
Copy link
Contributor

Whats the purpose of the "supplemental" vs "words" list? It seems the "supplemental" list is not used. Should they be merged into one?

Originally posted by @matthewmayer in #2147 (comment)

@matthewmayer matthewmayer self-assigned this May 12, 2023
@matthewmayer matthewmayer added p: 1-normal Nothing urgent c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: lorem Something is referring to the lorem module labels May 12, 2023
@matthewmayer
Copy link
Contributor Author

In the Ruby Faker, there's an option to add supplemental:true to add the extra words

https://www.rubydoc.info/gems/faker/Faker/Lorem#words-class_method

I think this is probably overkill, given that Lorem is meant to be nonsense any way, there's not an easy way for a user of the function to know whether or not its a good idea to add more words.

So I'd probably just merge the supplemental word lists into the main words one.

matthewmayer added a commit to matthewmayer/faker that referenced this issue Jul 6, 2023
fix faker-js#2153

- en: merge supplemental into words, sort and unique
- he: deleted, as it was only latin words, but the he words list is Hebrew
- dv: deleted, as identical to main words list
- ur: merge supplemental into words, and unique
- ja: merge supplemental into words
- lv: merge supplemental into words, sort and unique
@ST-DDT ST-DDT added the s: accepted Accepted feature / Confirmed bug label Jul 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: refactor PR that affects the runtime behavior, but doesn't add new features or fixes bugs m: lorem Something is referring to the lorem module p: 1-normal Nothing urgent s: accepted Accepted feature / Confirmed bug
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants