The Chinese to Pinyin tool based on the CC-CEDICT dictionary, more accurately supports the solution of Chinese characters to Pinyin for polyphonic characters. Memory type, suitable for servers with more memory space, advantages, fast conversion. Small memory type (default), suitable for environments with tight memory, advantages, small memory footprint, conversion is not as fast as memory type. I/O type, suitable for virtual machines with strict memory restrictions. Advantages: very minimal memory consumption. Disadvantages, slow conversion, not as fast as memory conversion, php >= 5.5. Small memory type, load dictionary shards into memory. In-memory, preload all dictionaries into memory. Do not load into memory, open dictionary line by line traversal using file stream and allocate single line memory using php5.5 generator (yield) feature.

Features

  • UNICODE-style tones
  • Digital tone
  • Reserved numbers
  • Suitable for servers with more memory space
  • Suitable for environments with tight memory
  • Small memory footprint

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Pinyin

Pinyin Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Pinyin!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Data Formats Software, PHP Languages Software

Registered

2022-02-16