Skip to main content

Crate bauske_phonology

Crate bauske_phonology 

Source
Expand description

Source-grounded Relojban alphabet data and representative sound distances.

The registry describes the acquired grammar snapshot P01-S20261022. representatives-v1 is a project-selected categorical articulatory profile; it is not a measurement of perceived similarity. Comparisons are defined only within the consonant and vowel classes.

§Examples

use bauske_phonology::{DistanceModel, Segment};

let result = DistanceModel::default().compare(
    "p".parse::<Segment>()?,
    "b".parse::<Segment>()?,
)?;
assert_eq!(result.total(), 1);

Structs§

AlphabetSymbol
A validated alphabet symbol, including punctuation and boundaries.
AnalysisDiagnostic
A diagnostic and optional original-input byte span.
BufferEvent
One caller-selected, unwritten buffer event at an original consonant position.
ClusterInspection
A checked cluster inspection with local findings and source-length tension.
ClusterSourceTension
The unresolved §3.6/§3.7 description of four consonants in non-name medial context.
ConsonantWeights
Positive costs for place, manner, and voicing mismatches.
DiphthongRecord
Immutable source metadata for one listed diphthong.
DistanceExplanation
A complete, immutable explanation of a successful comparison.
DistanceModel
A categorical weighted-mismatch model over separate consonant and vowel classes.
FeatureContribution
One coordinate and its positive mismatch weight in a comparison.
Nucleus
A nucleus with an exact original-input byte span.
ProsodyLimitation
A source limitation attached to a syllabification result.
RealizationPlan
A selected plan that distinguishes written, performed, and countable nuclei.
Segment
One validated representative with numeric features.
StressAnalysis
A stress plan with explicit primary selection and context limitations.
Syllabification
A complete grouping or a limitation-only unresolved result.
Syllable
One conventionally or explicitly grouped syllable with original offsets.
SymbolRecord
Immutable metadata for one alphabet entry.
VowelWeights
Positive costs for height, backness, and rounding mismatches.
WordAnalysis
A complete spelling-level inspection without a grammatical-validity verdict.
WordCluster
A word-level cluster with canonical adjacency and original text offsets.

Enums§

AnalysisError
A malformed word-inspection request.
Backness
Vowel backness category used by representatives-v1.
ClusterError
A malformed consonant-cluster request.
ClusterPosition
The consonant cluster’s position in a declared word.
ClusterViolation
A source-grounded reason that a cluster requires attention.
CompareError
A requested comparison is undefined by the selected model.
DiagnosticKind
A named diagnostic produced by non-fatal source-policy inspection.
DiphthongDistribution
Source distribution group for the diphthong spelling.
FeatureDimension
The typed feature dimension shown in one comparison contribution.
FeatureValue
A typed categorical feature value used in a comparison explanation.
Features
The feature payload for one selected representative.
FollowingContext
Declares whether a following word is an unpaused brivla for the final-stress guard.
Glide
The glide identity in a source-listed diphthong.
GlideDirection
Whether the glide precedes or follows the vowel element.
Height
Vowel height category used by representatives-v1.
Manner
The consonant manner category used by representatives-v1.
NucleusKind
The typed source identity of one written nucleus.
OpenPolicy
Open or variable pronunciation behavior retained as source metadata.
ParseSegmentError
A string could not be parsed as one scored representative segment.
ParseSymbolError
A symbol string could not be resolved in the alphabet registry.
Place
The articulatory place category used by representatives-v1.
PronunciationProfile
A finite project-selected representative profile, not an observed pronunciation.
ProsodySourceLimitation
A named reason conventional grouping is unresolved or limited.
RealizationError
A typed invalid buffer annotation.
Rounding
Vowel rounding category used by representatives-v1.
SegmentClass
One of the model’s two independently defined comparison classes.
StressChoice
Selects how a nucleus is assigned a primary/weak/optional-weak level.
StressError
A named stress-planning error.
StressLevel
One selected written nucleus’s planned stress category.
SyllabificationMode
Selects the deterministic conventional grouping or explicit written hints.
SymbolKind
Language-source role of one alphabet character.
Voicing
The voicing value used by representatives-v1.
WordKind
A caller-declared word category for the contextual source rules.

Constants§

PROFILE_ID
Stable identifier for the project’s selected feature encoding.
SOURCE_ID
Stable identifier for the acquired language-source snapshot.

Functions§

alphabet
Returns the complete alphabet registry in source ASCII order.
analyze_word
Inspects one caller-declared word without inferring morphology or validity.
assign_stress
Plans stress over the nuclei already selected by analyze_word.
diphthongs
Returns the complete diphthong table in source order.
initial_pairs
Returns the 48 source-listed onset pairs in their original order.
initial_triples
Returns the 36 source-listed onset triples in their original order.
inspect_cluster
Inspects one consonant run under a caller-declared context and word class.
open_policies
Returns language-wide open realization policies not attached to one symbol.
plan_realization
Validates caller annotations for optional buffer events without synthesizing audio.
profiles
Returns the immutable listing of supported, named profiles.
syllabify
Groups selected word nuclei using a bounded project convention.