Skip to content
This repository has been archived by the owner on Feb 25, 2023. It is now read-only.

Add support for progressive/perfect inflections #235

Merged
merged 1 commit into from
Oct 5, 2019

Conversation

toasted-nutbread
Copy link
Collaborator

Adds support for ている inflections. Supports ている, てる, ておる, and ないでいる. The first three are all classified as "progressive or perfect", even though one is humble and one is a contraction. The last is classified as "negative « -te « progressive or perfect".

I chose not to add the とる contraction (at least not in this commit) because と would function slightly differently than て, in that it doesn't stand alone as it's own type of inflection like て does. This functionality can be added, but it would take a few changes to the deinflector.

This change does add some "virtual" deinflection rules to prevent the inflections from being used where they don't make sense. The new values include "iru" and "neg-de", both of which are not intended to match any rules found in dictionary files.

Works with both the current deinflector and the updated deinflector in #229. https://www.imabi.net/teiru.htm was used for test cases.

image

@FooSoft FooSoft merged commit 440d6a9 into FooSoft:master Oct 5, 2019
@siikamiika siikamiika added the grammar Related primarily to Japanese grammar label Jul 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Related primarily to Japanese grammar
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants