chai
Classes
Interfaces
- Analysis
- AnalysisResult
- AtomicConstraint
- BasicComponent
- BinaryCondition
- Block
- Character
- Compound
- ComputedComponent
- Config
- Constraints
- CubicCurve
- Degenerator
- DerivedComponent
- EncoderConfig
- Extra
- FingeringWeights
- Info
- KeyboardConfig
- LevelWeights
- LinearCurve
- Objective
- Optimization
- PartialWeights
- PrimitiveCharacter
- ReferenceStroke
- RenderedStroke
- SVGStroke
- SchemeWithData
- ShortCodeScheme
- Solver
- Source
- StarterType
- TierWeights
- Topology
- UnaryCondition
Type Aliases
Algebra
Ƭ Algebra: Record
<string
, Rule
[]>
Defined in
hanzi-chai/src/lib/config.ts:203
AssemblyResult
Ƭ AssemblyResult: Map
<string
, IndexedElement
[][]>
Defined in
hanzi-chai/src/lib/assembly.ts:89
BinaryOp
Ƭ BinaryOp: typeof binaryOps
[number
]
Defined in
hanzi-chai/src/lib/config.ts:76
CharacterResult
Ƭ CharacterResult: ComponentAnalysis
| CompoundAnalysis
& { char
: string
; pinyin
: string
}
代表了一个有字音、有字形的汉字的中间结果
由拆分结果 ComponentResult
或 CompoundResult
与字音组成
Defined in
hanzi-chai/src/lib/assembly.ts:40
Classifier
Ƭ Classifier: typeof classifier
Defined in
hanzi-chai/src/lib/classifier.ts:58
ClassifierType
Ƭ ClassifierType: typeof classifierTypes
[number
]
Defined in
hanzi-chai/src/lib/templates.ts:25
CodableObject
Ƭ CodableObject: This
| Constant
| Structure
| Pronunciation
| Root
| Stroke
| StrokePair
Defined in
hanzi-chai/src/lib/element.ts:107
Component
Ƭ Component: BasicComponent
| DerivedComponent
部件,包括基本部件和派生部件
Defined in
ComponentAnalysis
Ƭ ComponentAnalysis: ComponentBasicAnalysis
| ComponentGenuineAnalysis
部件的拆分结果
Defined in
hanzi-chai/src/lib/component.ts:130
ComponentResults
Ƭ ComponentResults: Map
<string
, ComponentAnalysis
>
Defined in
hanzi-chai/src/lib/component.ts:158
CompoundAnalysis
Ƭ CompoundAnalysis: CompoundBasicAnalysis
| CompoundGenuineAnalysis
Defined in
hanzi-chai/src/lib/compound.ts:22
CompoundResults
Ƭ CompoundResults: Map
<string
, CompoundAnalysis
>
Defined in
hanzi-chai/src/lib/compound.ts:18
Condition
Ƭ Condition: UnaryCondition
| BinaryCondition
Defined in
hanzi-chai/src/lib/config.ts:94
Curve
Ƭ Curve: LinearCurve
| CubicCurve
Bezier 曲线,可能为一次或者三次
Defined in
hanzi-chai/src/lib/bezier.ts:42
CurveRelation
Ƭ CurveRelation: CrossRelation
| AttachRelation
| DisjointRelation
Defined in
hanzi-chai/src/lib/topology.ts:52
CustomGlyph
Ƭ CustomGlyph: Record
<string
, Component
| Compound
>
Defined in
hanzi-chai/src/lib/config.ts:216
CustomReadings
Ƭ CustomReadings: Record
<string
, string
[]>
Defined in
hanzi-chai/src/lib/config.ts:217
Draw
Ƭ Draw: { command
: "h"
| "v"
; parameterList
: N1
} | { command
: "c"
| "z"
; parameterList
: N6
}
一条 SVG 路径命令 h, v, c 的含义参见 SVG 规范 z 和 c 的含义相同,但是只用于表示平撇、平点、平捺,这是为了区分
Defined in
Element
Ƭ Element: string
Defined in
hanzi-chai/src/lib/config.ts:27
EncoderTypes
Ƭ EncoderTypes: typeof encoderTypes
[number
]
Defined in
hanzi-chai/src/lib/templates.ts:49
Example
Ƭ Example: "mswb"
| "flypy"
| "yima"
| "zhengma"
Defined in
hanzi-chai/src/lib/templates.ts:11
ExampleConfig
Ƭ ExampleConfig: Required
<Config
>
Defined in
hanzi-chai/src/lib/config.ts:239
Feature
Ƭ Feature: keyof typeof classifier
Defined in
hanzi-chai/src/lib/classifier.ts:56
Grouping
Ƭ Grouping: Record
<Element
, Element
>
Defined in
hanzi-chai/src/lib/config.ts:33
IndexedElement
Ƭ IndexedElement: string
| { element
: string
; index
: number
}
Defined in
hanzi-chai/src/lib/assembly.ts:88
Interval
Ƭ Interval: [number
, number
]
Defined in
hanzi-chai/src/lib/bezier.ts:136
Key
Ƭ Key: string
| { element
: string
; index
: number
}
Defined in
hanzi-chai/src/lib/config.ts:29
KeyboardTypes
Ƭ KeyboardTypes: typeof keyboardTypes
[number
]
Defined in
hanzi-chai/src/lib/templates.ts:33
Mapping
Ƭ Mapping: Record
<Element
, string
| Key
[]>
Defined in
hanzi-chai/src/lib/config.ts:31
N1
Ƭ N1: [number
]
Defined in
N2
Ƭ N2: [number
, number
]
Defined in
N3
Ƭ N3: [number
, number
, number
]
Defined in
N6
Ƭ N6: [number
, number
, number
, number
, number
, number
]
Defined in
Op
Defined in
hanzi-chai/src/lib/config.ts:77
Operator
Ƭ Operator: typeof operators
[number
]
结构表示符 例如 ⿰、⿱ 等 符合 Unicode 中的 Ideography Description Characters 参见 https://en.wikipedia.org/wiki/Ideographic_Description_Characters_(Unicode_block)
Defined in
hanzi-chai/src/lib/data.ts:108
Point
Ƭ Point: N2
Defined in
Position
Ƭ Position: -1
| -0.5
| 0
| 0.5
| 1
Defined in
hanzi-chai/src/lib/bezier.ts:138
PrimitiveRepertoire
Ƭ PrimitiveRepertoire: Record
<string
, PrimitiveCharacter
>
原始字符集,为字符名称到原始字符的映射
Defined in
hanzi-chai/src/lib/data.ts:165
PronunciationElementTypes
Ƭ PronunciationElementTypes: typeof pronunciationElementTypes
[number
]
Defined in
hanzi-chai/src/lib/element.ts:22
RenderedGlyph
Ƭ RenderedGlyph: RenderedStroke
[]
Defined in
hanzi-chai/src/lib/topology.ts:20
Repertoire
Ƭ Repertoire: Record
<string
, Character
>
字符集,为字符名称到字符的映射
Defined in
hanzi-chai/src/lib/data.ts:168
Rule
Ƭ Rule: Transformation
| Transliteration
Defined in
hanzi-chai/src/lib/config.ts:182
SVGGlyph
Ƭ SVGGlyph: SVGStroke
[]
SVG 字形是一系列 SVG 笔画的列表
Defined in
Scheme
Ƭ Scheme: number
[]
Defined in
hanzi-chai/src/lib/selector.ts:21
Selector
Ƭ Selector: SieveName
[]
Defined in
hanzi-chai/src/lib/config.ts:25