Parse the text of a Hunspell .dic file.
flag_type comes from the matching .aff file (FLAG long / num /
UTF-8, anything else being single-character flags) and decides how the text
after / is split into flags.
Blank lines are ignored and \r\n, \n and lone \r all end a line. The
first non-empty line must be the declared entry count: it is stored as-is
even when the file holds a different number of entries, because stale counts
are common and harmless. A malformed count line raises DicParseError;
malformed entry lines do not, since the format gives them no syntax to
violate.
On an entry line the first whitespace-separated field is the word (with any
\/ unescaped) optionally followed by / and its flags; the remaining
fields are morphological fields. A literal / in a word may be escaped as
\/.