This would be easier with excel. Excel already has the function to export to xml, and should make your life a lot easier, instead of getting all the words out of docx and then converting them to either JSON or XML.
How do I go about converting .docx into an array or dictionary?
-
23-06-2023 - |
Pregunta
I am currently trying to build an iOS game that match word with its definition for myself and my classmates.
I'm having a hard time thinking how do I go about converting a list of words with their definitions in a .docx files into something(JSON, XML, ...) that I can then read it into an Array or Dictionary.
Most of the words in the .docx have the following format: " Word (): Definition. "
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow