Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

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

Open
tbm opened this issue Dec 26, 2020 · 1 comment
Open

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

tbm opened this issue Dec 26, 2020 · 1 comment

Comments

@tbm
Copy link

tbm commented Dec 26, 2020

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
Copy link
Author

tbm commented Dec 27, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant