Tagged articles
8 articles
Page 1 of 1
Laravel Tech Community
Laravel Tech Community
Feb 2, 2023 · Backend Development

Using overtrue/pinyin in PHP to Convert Chinese Characters to Pinyin

This guide explains how to install the overtrue/pinyin Composer package and demonstrates various PHP methods for converting Chinese text to pinyin, including tone styles, array output, permalink generation, abbreviation extraction, handling polyphones, and using the command‑line tool.

BackendChineseovertrue
0 likes · 6 min read
Using overtrue/pinyin in PHP to Convert Chinese Characters to Pinyin
Programmer DD
Programmer DD
Dec 2, 2022 · Fundamentals

Is Wubi Input Method Doomed? Exploring Its Rise, Decline, and Unique Advantages

While smart Pinyin input dominates the market with 70% share and low learning barriers, the once‑fast Wubi method, praised for low homophone rates and blind‑typing capability, faces decline due to high learning costs, reduced software support, and the rise of AI‑enhanced Pinyin, sparking debate over its future.

Chinese inputWubikeyboard input
0 likes · 8 min read
Is Wubi Input Method Doomed? Exploring Its Rise, Decline, and Unique Advantages
IT Services Circle
IT Services Circle
Nov 29, 2022 · Fundamentals

Why Using Pinyin for Variable Names Is Discouraged in Programming

The article explains that naming code elements with pinyin reduces readability, conflicts with established coding conventions, and hampers collaboration, illustrating the drawbacks with examples and summarizing Python's PEP naming guidelines to promote clearer, more maintainable code.

PEPPythonbest practices
0 likes · 4 min read
Why Using Pinyin for Variable Names Is Discouraged in Programming
MaGe Linux Operations
MaGe Linux Operations
Oct 29, 2022 · Backend Development

How to Build a Go Trie for Real‑Time Sensitive Word Filtering

This article demonstrates how to implement a sensitive‑word detection system in Go using a prefix‑tree (Trie), covering brute‑force, regex, and optimized rune‑based methods, plus special‑character filtering, pinyin support, and complete source code examples.

GoText FilteringTrie
0 likes · 19 min read
How to Build a Go Trie for Real‑Time Sensitive Word Filtering
Programmer DD
Programmer DD
Mar 11, 2022 · Frontend Development

How to Convert Chinese Text to Pinyin with pinyin‑pro: A Complete Guide

This article introduces the pinyin‑pro JavaScript library, explains its rich features such as tone handling, initials, finals, polyphone support, surname mode, non‑Chinese character filtering, custom pinyin definitions, and matching, and provides step‑by‑step installation and usage examples for both browser and Node environments.

JavaScriptLibraryNode
0 likes · 9 min read
How to Convert Chinese Text to Pinyin with pinyin‑pro: A Complete Guide
58 Tech
58 Tech
Jun 27, 2019 · Artificial Intelligence

Spelling Correction System for 58.com Search Engine: Rule‑Based and Statistical Methods

This article describes the design and implementation of a spelling‑correction module for 58.com’s search engine, covering common query errors, rule‑based and statistical language‑model approaches, offline dictionary generation, n‑gram and Viterbi decoding, online workflow, and practical examples.

Language ModelQuery ProcessingViterbi algorithm
0 likes · 15 min read
Spelling Correction System for 58.com Search Engine: Rule‑Based and Statistical Methods