alpheios-project / alpheios-core

Alpheios Core Javascript Packages and Libraries
15 stars 2 forks source link

Persian - plurals #493

Open balmas opened 4 years ago

balmas commented 4 years ago

reported by @MatthewThomasMiller

The persian lookup has problems with plurals

balmas commented 4 years ago

@MatthewThomasMiller can you provide a few examples?

MatthewThomasMiller commented 4 years ago

what would be the best way to provide examples? screenshots? or something else?

balmas commented 4 years ago

Could you supply the text of a couple of words that aren't parsing properly and what you think the correct results should be? If you have the URL of the page you are testing on that would also be helpful. Thank you!!

MatthewThomasMiller commented 4 years ago

Sometimes Persian plural are identified correctly if they appear in the dictionary, but not all do. My impressionistic sense, from just trying a few examples, is that often Arabic plurals (in Persian) appear in the dictionary, but nouns with the standard Persian plural suffixes (-ha, -an) do not.

Example of Arabic Plural that is identified correctly: عشاق (source: https://ganjoor.net/hafez/ghazal/sh15/) Example of a plural that isn't identified as plural noun: کافران (source: https://ganjoor.net/hafez/ghazal/sh435/) See also example in ZWNJ thread.