# belerweb/pinyin4j

A copy of http://sourceforge.net/projects/pinyin4j, then deploy it to maven central repository.

Repository: https://github.com/belerweb/pinyin4j
Canonical: https://ross.abutalabs.com/products/pinyin4j
Language: Java
License Family: other
Last push: 2025-06-09T06:52:31+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 25, release rhythm 35, longevity 100
- inputs: {"age_days": 4881, "days_push": 450, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1327, forks 309 (observed 2026-08-28T04:04:22.949889+00:00)

## What it is
A Java library for converting Chinese characters to pinyin romanization, republished from SourceForge to Maven Central. It adds polyphonic character (多音字) recognition with a built-in dictionary of ~10,000 words and support for user-supplied external dictionaries.

## Use cases
- convert chinese characters to pinyin in java
- get pinyin with tone marks from hanzi
- handle polyphonic chinese characters correctly
- sort or index chinese text alphabetically by pinyin
- build a chinese search or autocomplete feature with pinyin matching
- customize pinyin readings with an external dictionary

## When to choose
- you need a lightweight, pure-Java pinyin conversion library on the JVM
- you need polyphonic character support and want to supply your own correction dictionary
- you want a dependency available directly from Maven Central

## When to avoid
- you need pinyin conversion outside the Java/JVM ecosystem
- you need active development or modern features - the project is a maintained copy of an older library
- you need a license-guaranteed dependency - no license is specified in the repository

## Facets
- artifact type: library
- maturity: maintenance
- function: nlp, parser, internationalization
- domain: developer-tools
- platform: jvm
- tags: pinyin, chinese, chinese-characters, transliteration, multi-pinyin, maven-central, natural-language-processing, localization

## Member repositories
- belerweb/pinyin4j (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:22.949889+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:46:15.506041+00:00, confidence not recorded.
  - readme: https://github.com/belerweb/pinyin4j (fetched 2026-08-28T04:04:22.949889+00:00, sha ee143723f25c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
