UNPKG

mathrok

Version:

AI-powered symbolic mathematics library combining traditional Computer Algebra System (CAS) capabilities with natural language processing for math problem solving

42 lines 1.17 kB
/** * Mathematical Phrase Dictionary * Comprehensive collection of mathematical phrases and their corresponding operations */ export interface MathematicalPhrase { operation: string; confidence: number; parameters?: string[]; context?: string; examples?: string[]; } export interface IntentRecognition { operation: string; confidence: number; parameters: Record<string, any>; context: string; alternatives: string[]; } /** * Comprehensive mathematical phrase dictionary */ export declare const MATHEMATICAL_PHRASES: Record<string, MathematicalPhrase>; /** * Mathematical operation synonyms for better recognition */ export declare const OPERATION_SYNONYMS: Record<string, string[]>; /** * Context-specific mathematical terms */ export declare const MATHEMATICAL_CONTEXTS: Record<string, string[]>; /** * Common mathematical variables and their contexts */ export declare const COMMON_VARIABLES: Record<string, string[]>; /** * Mathematical constants and their values */ export declare const MATHEMATICAL_CONSTANTS: Record<string, { value: string; context: string; }>; //# sourceMappingURL=dictionary.d.ts.map