You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the code was written xml.dom.minidom was way too slow for parsing the whole word list. SAX parsers were too complicated. So we decided to parse each word element separately with minidom and just assume that tags could be found on their own lines. Thus the parser does not actually accept any valid XML document but makes extra assumptions about formatting.
These days we may have better parsers so it would be good to rewrite this function to use them.
The text was updated successfully, but these errors were encountered:
When the code was written xml.dom.minidom was way too slow for parsing the whole word list. SAX parsers were too complicated. So we decided to parse each word element separately with minidom and just assume that tags could be found on their own lines. Thus the parser does not actually accept any valid XML document but makes extra assumptions about formatting.
These days we may have better parsers so it would be good to rewrite this function to use them.
The text was updated successfully, but these errors were encountered: