athena_rs 3.5.0

Hyper performant polyglot Database driver
Documentation
//! Calculate module.
//!
//! This module provides functions for calculating various metrics and scores.
//!
//! # Structure
//! - `filter.rs` - Filter functions
//! - `fuzzy_str_match.rs` - Fuzzy string matching functions
//! - `group_by.rs` - Group by functions
//! - `levenshtein_distance.rs` - Levenshtein distance functions
//! - `similarity_score.rs` - Similarity score functions
//!
//! # Usage
//! This module is used by the API layer and internal services
//! to calculate various metrics and scores.
//! Especially in the Pipelines engine, where you can do various calculations on the data.
//!
//! # Examples
//! ```
//! let score = similarity_score("hello", "world");
//! assert_eq!(score, 0.0);
//! ```
//!
//! ```
//! let score = fuzzy_str_match("hello", "world");
//! assert_eq!(score, 0.0);
//! ```
//!
//! ```
//! let score = group_by("hello", "world");
//! assert_eq!(score, 0.0);
//! ```
//!
//!
//! ## Table of functions
//! | Function | Description |
//! |----------|-------------|
//! | similarity_score | Similarity score between two strings |
//! | fuzzy_str_match | Fuzzy string matching between two strings |
//! | group_by | Group by a field in a JSON array |
//! | levenshtein_distance | Levenshtein distance between two strings |
//! | similarity_score | Similarity score between two strings |
//! | fuzzy_str_match | Fuzzy string matching between two strings |
//! | group_by | Group by a field in a JSON array |
//!
//!

pub mod filter;
pub mod fuzzy_str_match;
pub mod group_by;
pub mod levenshtein_distance;
pub mod similarity_score;