awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
promeG avatar

promeG/TinyPinyin

0
View on GitHub↗
3,943 stars·495 forks·Java·Apache-2.0·6 views

TinyPinyin

TinyPinyin is a Java and Android compatible library used for converting Chinese characters into Pinyin phonetic representations. It provides utilities for Chinese character detection to identify whether text belongs to the Chinese writing system.

The library includes a polyphonic character resolver that determines the correct pronunciation for characters with multiple sounds through contextual analysis. It is designed for low memory usage on mobile devices.

Features

  • Character-to-Pinyin Converters - Converts Chinese characters into phonetic Pinyin representations with polyphonic support.
  • Polyphonic Character Handlers - Resolves multi-sound characters by analyzing surrounding context and using a specialized dictionary.
  • Chinese Character Matchers - Identifies whether text strings contain Chinese characters to trigger appropriate processing.
  • Phonetic Mappings - Uses a pre-defined data table to map Chinese characters to their corresponding Pinyin sounds.
  • Compact Lookup Tables - Stores mapping data in a compact format to minimize memory usage on Android devices.
  • Android Linguistic Utilities - Provides lightweight Chinese language support tailored for resource-constrained mobile environments.

Star history

Star history chart for promeg/tinypinyinStar history chart for promeg/tinypinyin

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does promeg/tinypinyin do?

TinyPinyin is a Java and Android compatible library used for converting Chinese characters into Pinyin phonetic representations. It provides utilities for Chinese character detection to identify whether text belongs to the Chinese writing system.

What are the main features of promeg/tinypinyin?

The main features of promeg/tinypinyin are: Character-to-Pinyin Converters, Polyphonic Character Handlers, Chinese Character Matchers, Phonetic Mappings, Compact Lookup Tables, Android Linguistic Utilities.

What are some open-source alternatives to promeg/tinypinyin?

Open-source alternatives to promeg/tinypinyin include: hotoo/pinyin — This is a Chinese text segmentation library that converts Chinese characters into their phonetic pinyin… mozillazg/python-pinyin — python-pinyin is a Python library for transliterating simplified and traditional Chinese characters into phonetic… zh-lx/pinyin-pro — pinyin-pro is a Chinese pinyin transcription library and text segmentation tool. It converts Chinese characters into… overtrue/pinyin — This is a dictionary-based Chinese Pinyin transliteration library used to convert Chinese characters into Pinyin with… toolgood/toolgood.words — ToolGood.Words is a sensitive word filtering library and text sanitization component designed for high-performance… isnowfy/snownlp — SnowNLP is a Python library for Chinese natural language processing. It provides tools for text segmentation,…

Open-source alternatives to TinyPinyin

Similar open-source projects, ranked by how many features they share with TinyPinyin.
  • hotoo/pinyinhotoo avatar

    hotoo/pinyin

    7,821View on GitHub↗

    This is a Chinese text segmentation library that converts Chinese characters into their phonetic pinyin representation. It functions as a polyphone disambiguation tool, resolving ambiguous pronunciations for multi-sound characters using word segmentation and context analysis, and also serves as a pinyin sorting utility for ordering Chinese strings alphabetically. The library distinguishes itself through surname-aware pronunciation switching, applying specialized phonetic rules for Chinese surnames with non-standard pronunciations in name contexts. It supports pluggable word segmentation algor

    JavaScriptchinesehanzipinyin
    View on GitHub↗7,821
  • mozillazg/python-pinyinmozillazg avatar

    mozillazg/python-pinyin

    5,325View on GitHub↗

    python-pinyin is a Python library for transliterating simplified and traditional Chinese characters into phonetic pinyin. It functions as a transliteration system that converts text while supporting tone sandhi and providing utilities to transform pinyin between different formats, such as numeric tones, accent marks, or phonetic initials. The library features a polyphonic character resolver that analyzes surrounding word context to select the correct pronunciation for characters with multiple sounds. It also includes a customizable dictionary system that allows the extension of default transl

    Pythonchinesehanzihanzi-pinyin
    View on GitHub↗5,325
  • overtrue/pinyinovertrue avatar

    overtrue/pinyin

    4,458View on GitHub↗

    This is a dictionary-based Chinese Pinyin transliteration library used to convert Chinese characters into Pinyin with support for various tone styles and formats. It provides specialized utilities for polyphonic character resolution to manage multiple pronunciations and a generator for extracting the first letter of characters to create searchable index strings. The library includes a formatter for converting names into Pinyin following official international travel document and passport spelling standards. It also features a tool for transforming Chinese text into hyphenated or dotted string

    PHPphppinyin
    View on GitHub↗4,458
  • zh-lx/pinyin-prozh-lx avatar

    zh-lx/pinyin-pro

    4,646View on GitHub↗

    pinyin-pro is a Chinese pinyin transcription library and text segmentation tool. It converts Chinese characters into pinyin with support for tones, initials, and finals, while resolving polyphonic characters based on context. The project includes a pinyin pattern matching engine that enables searching Chinese text using full spellings, initials, or hybrid phonetic patterns. It also features a pinyin HTML generator that wraps characters and their transcriptions in markup tags for styled web display. The library provides capabilities for Chinese text segmentation, surname pronunciation priorit

    TypeScripthanzihanzi-pinyinhanzi2pinyin
    View on GitHub↗4,646
  • See all 13 alternatives to TinyPinyin→