HanziGuru.Search Syntax & Linguistic Filters
Search Documentation & Linguistic Guide

Search Syntax & Linguistic Filters

HanziGuru features an intelligent Omni-Search engine designed for Mandarin learners. Search seamlessly across Chinese characters, Pinyin with tone numbers, English definitions, wildcards, and powerful linguistic filters like Phonetic Families (family:) and Structural Components (comp:).

2. Targeted Field Prefixes (c:, p:, m:)

When a search term could match multiple fields (e.g., 'he' could be Pinyin hé or the English pronoun 'he'), use a prefix to explicitly restrict your search:

PrefixField TargetedExampleWhat It MatchesAction
c:Character Onlyc:白Matches the character 白, ignoring the English word 'white'Try c:白
p:Pinyin Onlyp:baiMatches words pronounced bai (白, 百, 摆), ignoring definition matchesTry p:bai
m:Meaning / Gloss Onlym:dayMatches words whose definitions include 'day' (日, 天, 白天)Try m:day

3. Wildcards & Word Patterns (* and ?)

Use wildcard symbols to discover compound words, collocations, and rhyming patterns:

*天 — *天 — Ends With Character

Finds all multi-character words that end with 天.

Matches: 今天 (today), 明天 (tomorrow), 白天 (daytime), 春天 (spring).
天* — 天* — Starts With Character

Finds all words that begin with the character 天.

Matches: 天气 (weather), 天天 (everyday), 天空 (sky), 天然 (natural).
?子 — ?子 — Single-Character Placeholder

The ? symbol stands for exactly one Chinese character.

Matches exact 2-character nouns ending in 子: 杯子 (cup), 桌子 (table), 椅子 (chair).
*心* — *心* — Contains Anywhere

Finds words containing 心 anywhere in the word.

Matches: 关心 (care), 开心 (happy), 小心 (careful), 心情 (mood).

4. HSK Level Filtering (hsk:1..6 or hsk:1..9)

Add hsk:<level> to any search to restrict results to the official Chinese Proficiency Test (HSK 3.0 / 2.0) curriculum:

Power Tip: Combine HSK filters with any keyword or pattern!
  • water hsk:1 ➔ Words meaning 'water' taught at HSK 1 (水, 喝水)
  • *天 hsk:2 ➔ Words ending with 天 that appear in HSK 2 (晴天, 阴天)
  • family:青 hsk:2 ➔ Only the HSK 2 members of the 青 family (清, 情, 晴, 睛, 青, 静)

5. Phonetic Family (family:<char> or fam:<char>)

The Linguistic Secret: Phono-Semantic Compounds (形声字)

Over 80% of all Chinese characters are phono-semantic compounds. Instead of memorizing thousands of isolated strokes, characters are built with two distinct parts:

  1. The Radical / Semantic Component (形旁): Provides a clue to the meaning (e.g., 氵 = water, 讠 = speech, 忄 = heart, 日 = sun).
  2. The Phonetic Core / Sound Root (声旁 / 音符): Provides the pronunciation or rhyming sound!

The family: filter unlocks this superpower. When you give it any character, it automatically discovers its entire phonetic family!

Phonetic Root青qīng · green / blue / nature
清+ 氵 (water)qīngclear, pureHSK 2
情+ 忄 (heart)qíngfeeling, emotionHSK 2
晴+ 日 (sun)qíngsunny, fine weatherHSK 2
请+ 讠 (speech)qǐngplease, to inviteHSK 1
精+ 米 (rice)jīngrefined, essenceHSK 4
睛+ 目 (eye)jīngeyeball, eyeHSK 2
Smart Bidirectional Lookup:

You don’t have to know the root! Searching family:情 or family:请 automatically traces back to the root 青 and displays the full family.

Learn 1 Root, Master 20+ Characters:

Instead of memorizing characters as random stroke tangles, you instantly understand why they sound the same and how their radical differentiates their meaning.

6. Component Search (comp:<char> or component:<char>)

While family: looks for sound relationships, comp: looks for physical visual anatomy (部件 / 偏旁):

comp:<char> matches any character that physically contains <char> anywhere inside its graphical decomposition, whether it serves as a semantic radical, a phonetic clue, or an ideographic part.

comp:木 — comp:木 — Contains Tree / Wood

Finds any character physically containing the tree/wood radical 木.

Finds: 休 (man leaning on tree = rest), 林 (two trees = woods), 森 (three trees = forest), 本 (origin), 床, 校, 李.
comp:心 — comp:心 — Contains Heart

Finds characters built with the heart component.

Finds: 想 (think), 思 (ponder), 感 (feel), 急 (urgent), 息 (breath).
comp:日 — comp:日 — Contains Sun

Finds characters containing the sun/day glyph 日.

Finds: 明 (bright), 早 (early), 时 (time), 星 (star), 晴 (sunny).
comp:口 hsk:1 — comp:口 hsk:1 — Mouth at HSK 1

Combines structural anatomy with syllabus levels.

comp:口 hsk:1Try comp:口 hsk:1
Finds HSK 1 characters containing mouth 口: 吃 (eat), 叫 (call), 听 (listen), 问 (ask).

7. Deep Dive: family: vs comp:

Learners often wonder: 'What is the exact difference between family: and comp:?'

Featurefamily:<char> (Phonetic Family)comp:<char> (Structural Component)
Linguistic FocusSound & Etymology (形声字家族)Visual Anatomy (字形部件 / 偏旁)
What It Asks'What characters borrow their pronunciation from this root?''What characters physically contain this shape as a building block?'
Pronunciation LinkStrong phonetic relationship: Members share similar or identical initials, finals, or rhymes (e.g. qīng ➔ qíng, qǐng, jīng).No sound guarantee: Characters share the visual part, but their sounds can be completely unrelated (e.g. 休 sounds like xiū, not mù).
Bidirectional LookupYes: Searching a child (family:清) automatically finds root 青 and reveals all 25+ siblings.Direct: Searches for characters containing that specific glyph block.
Example with 青family:青:
清 (qīng) 情 (qíng) 晴 (qíng)请 (qǐng) 精 (jīng) 睛 (jīng)
comp:青:
靛 (diàn) 靓 (liàng) 靖 (jìng)清 (qīng) 晴 (qíng) 静 (jìng)
When to UseWhen you want to crack Chinese pronunciation and group dozens of words by their phonetic patterns.When you are exploring radicals, visual building blocks, or looking up a character by a component you recognized.

8. Complete Syntax Cheat Sheet

Bookmark this table for fast reference. Click any 'Try' button to run that search directly in the dictionary:

Syntax PatternTypeExplanationExpected ResultsAction
ni3hao3PinyinNumbered PinyinFinds exact tones: 你好 (nǐ hǎo)Try
baitianPinyinToneless PinyinFinds daytime: 白天 (báitiān)Try
helloMeaningEnglish / Localized MeaningFinds words meaning 'hello': 你好, 喂Try
c:白PrefixForce Character MatchOnly matches character 白, ignores English 'white'Try
p:baiPrefixForce Pinyin MatchOnly matches Pinyin 'bai', ignores English wordsTry
m:waterPrefixForce Meaning MatchMatches 水, 开水, 矿泉水, etc.Try
*天WildcardEnds with characterFinds 今天, 明天, 白天, 春天, 昨天Try
天*WildcardStarts with characterFinds 天气, 天天, 天空, 天然Try
?子Wildcard2-character word ending in 子Finds 杯子, 椅子, 桌子, 孩子Try
hsk:1LevelFilter by HSK 3.0 LevelBrowse all official HSK Level 1 vocabularyTry
water hsk:1CombinationKeyword + HSK FilterFinds words meaning 'water' in HSK 1: 水, 喝水Try
family:青Phonetic FamilyPhonetic Family (from root)Finds 25+ characters sharing sound root 青: 清, 情, 晴, 请...Try
family:清Phonetic FamilyBidirectional Family (from child)Automatically resolves root 青 and returns all family membersTry
family:青 hsk:2CombinationFamily filtered by HSK LevelFinds only HSK 2 members: 清, 情, 晴, 睛, 青, 静Try
comp:木ComponentsComponent / Structural AnatomyFinds characters physically containing 木: 休, 林, 森, 本, 床...Try
comp:木 hsk:1CombinationComponent filtered by HSK LevelFinds HSK 1 characters containing tree/wood 木Try