Content Similarity Scorer
Scores similarity between two text records using token overlap and normalized terms.
Open FunctionReusable pure PHP functions for everyday application and LAMP stack work.
Scores similarity between two text records using token overlap and normalized terms.
Open FunctionScores records for missing fields, invalid values, duplicates, and formatting problems.
Open FunctionConverts configured empty-like values into nulls or defaults consistently.
Open FunctionMaps records from multiple source formats into one internal schema.
Open FunctionTurns validation errors into grouped row/field reports suitable for admin display.
Open FunctionCompares submitted form data to existing DB data and returns only changed fields.
Open FunctionEncodes arrays for JSON output with consistent flags and error handling.
Open FunctionBuilds a standardized JSON error payload without exposing internals.
Open FunctionMerges default, environment, and local config arrays with controlled override rules.
Open FunctionFormats byte counts with consistent units and decimal precision.
Open FunctionCalculates direction, percent change, and volatility across a numeric time series.
Open FunctionComputes moving averages for a numeric series with configurable window size.
Open Function