Skip to main content

Crate vlajmaji_search

Crate vlajmaji_search 

Source
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§

ComputedValue
A computed morphology result, separate from captured lexicon membership.
DistanceContribution
One P01 feature-coordinate explanation.
DistancePosition
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.
LinkExplanation
One traversed source edge with its exact origin and target explanation.
NativeCandidateCount
One backend candidate count with its unambiguous native-query stage.
Nucleus
One nucleus fact from the unchanged P01 implementation.
SearchEngine
Reusable query engine over one validated, caller-owned SQLite archive.
SearchOptions
Stable presentation options; limit zero means return no hits and retain the total.
SearchResponse
Complete match census followed by a stable bounded display.

Enums§

MorphologySetting
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.
SearchError
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.