Expand description
Source-preserving lexical queries and bounded phonological filters.
Captured records, computed analyses, and caller proposals remain separate. Results keep source snapshot identity and exact record locators.
§Example
use vlajmaji_search::{Query, SearchEngine, SearchOptions};
let engine = SearchEngine::open("lexicon.sqlite")?;
let result = engine.search(Query::Exact { spelling: "farvi".into() }, SearchOptions::default())?;
println!("{} matches", result.total_records);Re-exports§
pub use dictionary::DictionaryErrorReport;pub use dictionary::DictionaryExactOptions;pub use dictionary::DictionaryExactResponse;pub use dictionary::DictionaryGroup;pub use dictionary::DictionaryHit;pub use dictionary::DictionaryQueryError;pub use dictionary::DictionaryRequest;pub use dictionary::DictionarySearchEngine;pub use dictionary::DictionarySourceAvailability;pub use dictionary::DictionarySourceTotal;pub use dictionary::DictionaryTotals;pub use dictionary::ReferenceAssertionView;pub use dictionary::ReferenceEntity;pub use dictionary::ReferenceResolution;pub use dictionary::ReferenceStatus;pub use dictionary::SourceSelectionFailure;
Modules§
- dictionary
- Grouped exact queries and stable dictionary reference resolution. Grouped exact queries over a validated, persisted source dictionary.
Structs§
- Computed
Value - A computed morphology result, separate from captured lexicon membership.
- Distance
Contribution - One P01 feature-coordinate explanation.
- Distance
Position - One explained aligned within-vowel comparison; position scores are not summed across a word.
- Hit
- A source-backed row with preserved identity and separate text fields.
- Link
Explanation - One traversed source edge with its exact origin and target explanation.
- Native
Candidate Count - One backend candidate count with its unambiguous native-query stage.
- Nucleus
- One nucleus fact from the unchanged P01 implementation.
- Search
Engine - Reusable query engine over one validated, caller-owned SQLite archive.
- Search
Options - Stable presentation options; limit zero means return no hits and retain the total.
- Search
Response - Complete match census followed by a stable bounded display.
Enums§
- Morphology
Setting - One of the three bounded Latkerlo y-hyphen settings.
- Query
- One bounded query. All top limits are applied after the complete match set is known.
- Search
Error - Errors are explicit; invalid or unsupported queries are never empty success.
Constants§
- COMPONENT_
POLICY - Identity of the optional morphology version and settings contract.
- PHONOLOGY_
POLICY - Identity of the unchanged project phonology/context policy.
- SPELLING_
POLICY - Query policy identities included in every response.
Functions§
- morphology_
enabled - Exposes whether the optional morphology implementation was compiled.