1 Reply ・ Started by Mingalarba at 2024-07-08 11:52:46 UTC ・ Last reply by flayxis at 2024-07-08 14:43:43 UTC

Understanding Parts of Speech in the Jisho.org API

How many parts of speech are listed in this dictionary, and what are they?

I am creating a small web application for my class project. I am using the Jisho.org API and need to know the exact terms used for parts of speech, as well as the total number of them. Can you provide this information?

flayxis at 2024-07-08 14:43:43 UTC

The part of speech categorization comes from https://www.edrdg.org/jmwsgi/edhelp.py?svc=jmdict&sid=#kw_pos but the API only gives you a "nice" version of these.

For example 遊ぶ from the API you get ["Godan verb with 'bu' ending","Intransitive verb"] but the underlying database would list these as ["v5b", "vi"]. There is no definitive list containing these "nice" versions, you would need to find some examples in the database file for each pos tag (the database file can be downloaded in full for free so that is doable with a simple script) and then query the API until you have a definitive list.

to reply.