@thecodingwhale/cv-processor
Version:
CV Processor to extract structured data from PDF resumes using TypeScript
123 lines (122 loc) • 2.95 kB
TypeScript
/**
* Regex patterns for CV parsing
*/
export declare const Patterns: {
email: RegExp;
phone: RegExp;
linkedin: RegExp;
github: RegExp;
imdb: RegExp;
instagram: RegExp;
spotlight: RegExp;
castingNetworks: RegExp;
actorsAccess: RegExp;
videoReel: RegExp;
audioReel: RegExp;
headshots: RegExp;
performanceVideos: RegExp;
date: RegExp;
sections: {
education: RegExp;
experience: RegExp;
skills: RegExp;
projects: RegExp;
certifications: RegExp;
languages: RegExp;
summary: RegExp;
representation: RegExp;
training: RegExp;
reels: RegExp;
credits: RegExp;
sizes: RegExp;
};
degreePatterns: RegExp[];
titlePatterns: RegExp[];
credits: RegExp;
filmTitle: RegExp;
tvTitle: RegExp;
role: RegExp;
director: RegExp;
year: RegExp;
gpa: RegExp;
fieldOfStudy: RegExp;
bulletPoint: RegExp;
sizes: {
height: RegExp;
weight: RegExp;
tShirt: RegExp;
shoe: RegExp;
pants: RegExp;
waist: RegExp;
glove: RegExp;
hat: RegExp;
dress: RegExp;
bust: RegExp;
cup: RegExp;
hip: RegExp;
collar: RegExp;
suit: RegExp;
inseam: RegExp;
sleeve: RegExp;
hairColor: RegExp;
eyeColor: RegExp;
ethnicity: RegExp;
};
};
export declare const SkillCategories: {
programmingLanguages: Set<string>;
frameworks: Set<string>;
tools: Set<string>;
softSkills: Set<string>;
actingStyles: Set<string>;
dialects: Set<string>;
languages: Set<string>;
performanceSkills: Set<string>;
singingStyles: Set<string>;
vocalRange: Set<string>;
instruments: Set<string>;
danceStyles: Set<string>;
sports: Set<string>;
weapons: Set<string>;
drivingSkills: Set<string>;
specializedSkills: Set<string>;
};
/**
* Patterns for extracting film, TV, and theater credits
*/
export declare const CreditPatterns: {
film: Set<string>;
television: Set<string>;
theater: Set<string>;
commercial: Set<string>;
new_media: Set<string>;
roles: Set<string>;
};
/**
* Patterns for media and portfolio formats
*/
export declare const MediaPatterns: {
videoFormats: Set<string>;
audioFormats: Set<string>;
imageFormats: Set<string>;
hostingSites: Set<string>;
portfolioTypes: Set<string>;
};
/**
* Patterns for actor physical attributes and sizes
*/
export declare const PhysicalAttributes: {
hairColors: Set<string>;
eyeColors: Set<string>;
ethnicities: Set<string>;
bodyTypes: Set<string>;
sizeCategories: Set<string>;
};
/**
* Patterns for acting training and education
*/
export declare const TrainingPatterns: {
trainingTypes: Set<string>;
actingTechniques: Set<string>;
specializedTraining: Set<string>;
};