recipe-ingredient-parser-v3
Version:
Natural language parser for recipes and ingredient lists, incl. combining ingredients
23 lines (22 loc) • 617 B
TypeScript
export declare const engUnits: {
[key: string]: string[];
};
export declare const engPluralUnits: {
[key: string]: string;
};
export declare const engNameToSymbol: {
[key: string]: string;
};
export declare const engPreposition: string[];
export declare const itaUnits: {
[key: string]: string[];
};
export declare const itaPluralUnits: {
[key: string]: string;
};
export declare const itaNameToSymbol: {
[key: string]: string;
};
export declare const itaPreposition: string[];
export declare const unitsMap: Map<any, any>;
export declare function extractAllUnits(language: string): string[];