Skip to main content

Crate oxeylyzer_core

Crate oxeylyzer_core 

Source
Expand description

Core logic for the oxeylyzer keyboard layout analyzer.

This crate provides the necessary tools to analyze and generate keyboard layouts, including data structures for bigrams, trigrams, and layout evaluation.

Re-exports§

pub use rayon;
pub use serde;

Modules§

analyzer_data
Data structures for analyzing layout performance.
char_mapping
Mapping between characters and internal byte representations.
corpus_cleaner
Tools for cleaning and processing corpus data.
data
Basic data structures for corpus information.
fast_layout
Fast layout representation for optimization.
generate
Layout generation algorithms.
layout
Layout representation and evaluation.
trigram_patterns
Trigram pattern analysis.
utility
Miscellaneous utility functions.
weights
Weights for different layout metrics.

Enums§

OxeylyzerError
Errors that can occur within the oxeylyzer-core crate.

Constants§

REPEAT_KEY
Internal representation of a repeat key.
REPLACEMENT_CHAR
Character used to replace unknown or invalid characters in a corpus.
SHIFT_CHAR
Internal representation of a shift key press.
SPACE_CHAR
Internal representation of a space character.

Traits§

OxeylyzerResultExt
Extension trait to provide context to Result types, converting foreign errors to OxeylyzerError.

Type Aliases§

Result
Result type used throughout the oxeylyzer-core crate.