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

Translate dataset stringr::fruit - used in the regexps chapter from R4DS #89

Closed
beatrizmilz opened this issue Nov 12, 2023 · 4 comments · Fixed by #108
Closed

Translate dataset stringr::fruit - used in the regexps chapter from R4DS #89

beatrizmilz opened this issue Nov 12, 2023 · 4 comments · Fixed by #108

Comments

@beatrizmilz
Copy link
Collaborator

No description provided.

@rivaquiroga
Copy link
Member

Olá!! The datasets from the stringr package (fruit, words, sentences) can't be translated as we did with the other ones, because these are not dataframes. In this case we created them like this: https://github.com/cienciadedatos/datos/blob/main/data-raw/frutas.R

@beatrizmilz
Copy link
Collaborator Author

@scopinho Olá! eu to atrasada no acompanhamento pq tá corrido no trabalho, mas vi que você está trabalhando nos capítulos de regex que usam esses dados!

@scopinho
Copy link
Contributor

scopinho commented Dec 5, 2023

@scopinho Olá! eu to atrasada no acompanhamento pq tá corrido no trabalho, mas vi que você está trabalhando nos capítulos de regex que usam esses dados!

Oi @beatrizmilz , imagina, sem problemas. Sim, acabei deixando os exemplos em inglês por ora, pois os casos de regex teremos que ser bem criativos pra achar nomes em.PT que coincidam com os em inglês, principalmente com duas consoantes, etc...mas depois de traduzidos posso ver como fica. o de frutas eu coloquei um lista inicial no comentário do regex se quiser usar/comparar.

@beatrizmilz
Copy link
Collaborator Author

Olá!! The datasets from the stringr package (fruit, words, sentences) can't be translated as we did with the other ones, because these are not dataframes. In this case we created them like this: https://github.com/cienciadedatos/datos/blob/main/data-raw/frutas.R

Thank you Riva!
I created a PR inspired on the code you showed: #108

@beatrizmilz beatrizmilz moved this from To do to To be Reviewed in Tradução de bases de dados Aug 6, 2024
rivaquiroga added a commit that referenced this issue Aug 8, 2024
Translation - Vetores do stringr: frutas, palavras, frases #89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To be Reviewed
Development

Successfully merging a pull request may close this issue.

3 participants