@thecodingwhale/cv-processor
Version:
CV Processor to extract structured data from PDF resumes using TypeScript
26 lines (25 loc) • 662 B
TypeScript
/**
* NLP utility functions using compromise.js
*/
export declare class NLPUtils {
/**
* Extract person names from text
*/
static extractNames(text: string): string[];
/**
* Extract organization names from text
*/
static extractOrganizations(text: string): string[];
/**
* Extract places/locations from text
*/
static extractLocations(text: string): string[];
/**
* Extract dates from text
*/
static extractDates(text: string): string[];
/**
* Find potential sentence breaks for summary truncation
*/
static findSentenceBreak(text: string, maxLength: number): number;
}