WiktionaryParser icon indicating copy to clipboard operation
WiktionaryParser copied to clipboard

Can't find word which exists; possibly can't parse proper noun?

Open tbm opened this issue 5 years ago • 1 comments

https://en.wiktionary.org/wiki/Dunia_Mpya exists for Swahili but WiktionaryParser can't find it. Maybe it doesn't know about proper nouns?

Test case:

from pprint import pprint
from wiktionaryparser import WiktionaryParser

parser = WiktionaryParser()
parser.set_default_language('swahili')
pprint(parser.fetch("Dunia Mpya"))

gives:

[{'definitions': [],
  'etymology': '',
  'pronunciations': {'audio': [], 'text': []}}]

tbm avatar Dec 26 '20 13:12 tbm

here's another example: https://en.wiktionary.org/wiki/Kilimia

[{'definitions': [],
  'etymology': 'From -lima (“cultivate”).\n',
  'pronunciations': {'audio': [], 'text': []}}]

So it seems there's a problem with Swahili Proper Nouns.

tbm avatar Dec 27 '20 06:12 tbm