Skip to main content

saitenka-deinflect (GPL-3.0)

Optional Japanese deinflection chain for saitenka — the 🧩 -て « -いる « -た breakdown Yomitan shows under a headword.

License: GPL-3.0-or-later. This package is a derivative work of Yomitan (engine.py ports its language-transformer.js; data/japanese_transforms.json is a verbatim dump of its japanese-transforms.js). It is kept separate from the Apache-2.0 core on purpose: the overlay runs fine without it (it just won't show the inflection chain). See ../LICENSING.md for how the licenses fit together.

Install (opt-in)

uv pip install saitenka[deinflect]        # once both are published
# or, from this checkout:
uv pip install ./deinflect

With it installed, the overlay picks it up automatically (saitenka_deinflect); without it, overlay.app.dictionary falls back to an empty chain.

API

from saitenka_deinflect import inflection_chain
inflection_chain("聞こえてた", "聞こえる")   # -> ["-る", "-て", "-た"] (dict→surface order)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

saitenka_deinflect-0.1.0.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

saitenka_deinflect-0.1.0-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file saitenka_deinflect-0.1.0.tar.gz.

File metadata

  • Download URL: saitenka_deinflect-0.1.0.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for saitenka_deinflect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 455f484a09056d62d3239a6dc6043012296373b4513a7763b7c14937ba553e87
MD5 276d3db275c8a07bb8cc45c71a997239
BLAKE2b-256 a209c875558e095c127d19ea476fbf09dc0dcb59d08bb0764b45d8819c4806e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for saitenka_deinflect-0.1.0.tar.gz:

Publisher: release.yml on serjflint/saitenka

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file saitenka_deinflect-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for saitenka_deinflect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7495a8ef7f571011b34d61c4e80e2bf66c326883a24f82ebef6220c9fb344232
MD5 134ba21252cb3fa53b7c882b7aaff313
BLAKE2b-256 5de02d91e377b36ac3a0ef9db039143496ce0ddbda9c08b815ecbe3258355977

See more details on using hashes here.

Provenance

The following attestation bundles were made for saitenka_deinflect-0.1.0-py3-none-any.whl:

Publisher: release.yml on serjflint/saitenka

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page