JorgeDuenasLerin / diccionario-espanol-txt

Diccionario con las palabras del Español en formato txt
190 stars 50 forks source link

Plural form #2

Open pumbinha opened 2 years ago

pumbinha commented 2 years ago

Is there any way to add the plural form of the words?

Example: "gatos" can't be found in the word list but the word can be found at rae.es.

Thank you!

JorgeDuenasLerin commented 2 years ago

Interesting...

is there a clickable way to go from "gato" to "gatos"? I can't find the link in dle.rae.es from the word "gato" to its plural forms. https://dle.rae.es/gato

I could get all words in the word explanation and add it to the list of words.

or I could try to generate al possible plural form from each word and check if rae says that exists or not but is a poor solution. https://dle.rae.es/asatroco "Aviso: La palabra asatroco no está en el Diccionario"

pumbinha commented 2 years ago

Well, generating the plural form of each word could also be a bit tricky due to the amount of cases that need to be considered: https://www.rae.es/dpd/plural, and even so, you need to know beforehand which words are nouns that can be pluralized.

I'm developing a game using your generated words as "database" and it is very cool that you've included the verb's conjugations. Great work :-)