Jisho

×
Ab435560ac307c2606ace4b5ae3b7058
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?

6d4b0d7986f5ee4c159a7e5fef92e241
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.