@affectively/wasm-text-processor
v1.0.1
Published
High-performance WebAssembly text processing - pattern matching, entity extraction, and scoring.
Maintainers
Readme
@affectively/wasm-text-processor
High-performance WebAssembly text processing utilities written in Rust.
Features
- Pattern Matching - Fast regex and string pattern matching
- Entity Extraction - Extract named entities from text
- Text Scoring - Score text based on configurable criteria
- Zero-copy Processing - Efficient memory usage
Installation
npm install @affectively/wasm-text-processorQuick Start
import init, { match_patterns, extract_entities, score_text } from '@affectively/wasm-text-processor';
await init();
// Pattern matching
const matches = match_patterns(text, patterns);
// Entity extraction
const entities = extract_entities(text);
// Text scoring
const score = score_text(text, criteria);License
MIT License - see LICENSE for details.
Made with ️ by AFFECTIVELY
