WiktionaryParser icon indicating copy to clipboard operation
WiktionaryParser copied to clipboard

Does not list sub-definitions.

Open reeseovine opened this issue 5 years ago • 1 comments

For example, the page for the word "cat" reads as the following:

wiktionary entries for 'cat'

but WiktionaryParser gives this:

"text": [
  "cat (plural cats)",
  "An animal of the family Felidae:",
  "A person:",
  "(nautical) A strong tackle used to hoist an anchor to the cathead of a ship.",
  "..."
]

There's also the line "cat (plural cats)" at the beginning that shouldn't be there, but that's a separate issue and can be easily removed in code.

reeseovine avatar May 15 '20 20:05 reeseovine

Interesting, thanks for pointing out! Feel free to submit a PR if you have a fix for this

suyashb95 avatar May 16 '20 11:05 suyashb95