Matthew Ford commited on
Commit
e12dde8
·
unverified ·
1 Parent(s): 9609108

feat: extract perfumer tier labels from Poucher Vol II odour classification tables

Browse files

- Parse Poucher Vol II odour classification tables (Top/Middle/Basic notes)
- Map 445 material entries to 160 unique CAS via Poucher coefficient system
- Verify VP-based classifier achieves only kappa=0.11 vs perfumer tiers
- Add scripts for extraction and VP comparison

data/literature_formulas_poucher_with_profiles.jsonl ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"formula_id": "poucher_v2_p0312_0000", "name": "Lily Soap, no. 1230", "page": 312, "components": [{"name": "Benzyl acetate", "amount": 40.0, "type": "pure"}, {"name": "Rosewood", "amount": 100.0, "type": "pure"}, {"name": "Terpineol", "amount": 100.0, "type": "pure"}, {"name": "Citronellol", "amount": 200.0, "type": "pure"}, {"name": "Cananga", "amount": 100.0, "type": "pure"}, {"name": "Heliotropin", "amount": 100.0, "type": "pure"}, {"name": "Ionone", "amount": 50.0, "type": "pure"}, {"name": "Hydroxy citronellal", "amount": 200.0, "type": "pure"}, {"name": "Cyclamen aldehyde", "amount": 10.0, "type": "pure"}], "profile_text": "top: Benzaldehyde, Rosewood, Terpineol, Bromstyrole Phenyl ethyl alcohol, Bay Bergamot, Amyl salicylate Benzyl salicylate Geraniol palmarosa, Cananga; middle: Heliotropin, Eugenol, Ionone, Benzyl iso-eugenol Clove, Cinnamon leaf Geranium, African, Cassia; base: Orris resin, Benzoin resin; overall: Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African", "top": ["Benzaldehyde", "Rosewood", "Terpineol", "Bromstyrole Phenyl ethyl alcohol", "Bay Bergamot", "Amyl salicylate Benzyl salicylate Geraniol palmarosa", "Cananga"], "middle": ["Heliotropin", "Eugenol", "Ionone", "Benzyl iso-eugenol Clove", "Cinnamon leaf Geranium, African", "Cassia"], "base": ["Orris resin", "Benzoin resin"], "overall": "Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African"}
2
+ {"formula_id": "poucher_v2_p0313_0001", "name": "May Blossom, no. 1232", "page": 313, "components": [{"name": "Anisic aldehyde", "amount": 150.0, "type": "pure"}, {"name": "Iso-butyl phenylacetate", "amount": 50.0, "type": "pure"}, {"name": "Rosewood", "amount": 200.0, "type": "pure"}, {"name": "Ceylon citronella", "amount": 300.0, "type": "pure"}, {"name": "Styrax resin", "amount": 20.0, "type": "pure"}, {"name": "Heliotropin", "amount": 40.0, "type": "pure"}, {"name": "Musk xylene", "amount": 40.0, "type": "pure"}, {"name": "Bromstyrole", "amount": 20.0, "type": "pure"}, {"name": "Terpineol", "amount": 180.0, "type": "pure"}], "profile_text": "top: Benzaldehyde, Rosewood, Terpineol, Bromstyrole Phenyl ethyl alcohol, Bay Bergamot, Amyl salicylate Benzyl salicylate Geraniol palmarosa, Cananga; middle: Heliotropin, Eugenol, Ionone, Benzyl iso-eugenol Clove, Cinnamon leaf Geranium, African, Cassia; base: Orris resin, Benzoin resin; overall: Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African", "top": ["Benzaldehyde", "Rosewood", "Terpineol", "Bromstyrole Phenyl ethyl alcohol", "Bay Bergamot", "Amyl salicylate Benzyl salicylate Geraniol palmarosa", "Cananga"], "middle": ["Heliotropin", "Eugenol", "Ionone", "Benzyl iso-eugenol Clove", "Cinnamon leaf Geranium, African", "Cassia"], "base": ["Orris resin", "Benzoin resin"], "overall": "Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African"}
3
+ {"formula_id": "poucher_v2_p0313_0002", "name": "Musk, no. 1233", "page": 313, "components": [{"name": "Musk ambrette", "amount": 20.0, "type": "pure"}, {"name": "Musk ketone", "amount": 30.0, "type": "pure"}, {"name": "Vetivert", "amount": 40.0, "type": "pure"}, {"name": "Santal", "amount": 100.0, "type": "pure"}, {"name": "Methyl ionone", "amount": 200.0, "type": "pure"}, {"name": "Liquidambar resin", "amount": 70.0, "type": "pure"}, {"name": "Bergamot", "amount": 100.0, "type": "pure"}, {"name": "Geranium, Bourbon", "amount": 200.0, "type": "pure"}, {"name": "Musk extract, 3 per cent", "amount": 100.0, "type": "pure"}, {"name": "Civet absolute", "amount": 5.0, "type": "pure"}, {"name": "Castoreum absolute", "amount": 5.0, "type": "pure"}, {"name": "Terpineol", "amount": 100.0, "type": "pure"}, {"name": "Cassia oil", "amount": 30.0, "type": "pure"}], "profile_text": "top: Benzaldehyde, Rosewood, Terpineol, Bromstyrole Phenyl ethyl alcohol, Bay Bergamot, Amyl salicylate Benzyl salicylate Geraniol palmarosa, Cananga; middle: Heliotropin, Eugenol, Ionone, Benzyl iso-eugenol Clove, Cinnamon leaf Geranium, African, Cassia; base: Orris resin, Benzoin resin; overall: Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African", "top": ["Benzaldehyde", "Rosewood", "Terpineol", "Bromstyrole Phenyl ethyl alcohol", "Bay Bergamot", "Amyl salicylate Benzyl salicylate Geraniol palmarosa", "Cananga"], "middle": ["Heliotropin", "Eugenol", "Ionone", "Benzyl iso-eugenol Clove", "Cinnamon leaf Geranium, African", "Cassia"], "base": ["Orris resin", "Benzoin resin"], "overall": "Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African"}
4
+ {"formula_id": "poucher_v2_p0315_0003", "name": "Narcissus Soap, no. 1235", "page": 315, "components": [{"name": "Benzyl acetate", "amount": 200.0, "type": "pure"}, {"name": "Rosewood", "amount": 200.0, "type": "pure"}, {"name": "Paracresyl acetate", "amount": 70.0, "type": "pure"}, {"name": "Terpineol", "amount": 100.0, "type": "pure"}, {"name": "Bromstyrole", "amount": 10.0, "type": "pure"}, {"name": "Phenyl ethyl alcohol", "amount": 40.0, "type": "pure"}, {"name": "Geraniol, Java", "amount": 100.0, "type": "pure"}, {"name": "Cananga", "amount": 100.0, "type": "pure"}, {"name": "Indole", "amount": 1.0, "type": "pure"}, {"name": "Methyl anthranilate", "amount": 20.0, "type": "pure"}, {"name": "Clove", "amount": 40.0, "type": "pure"}, {"name": "Amyl cinnamic aldehyde", "amount": 9.0, "type": "pure"}, {"name": "Musk xylene", "amount": 30.0, "type": "pure"}, {"name": "Styrax resin", "amount": 80.0, "type": "pure"}], "profile_text": "top: Benzaldehyde, Rosewood, Terpineol, Bromstyrole Phenyl ethyl alcohol, Bay Bergamot, Amyl salicylate Benzyl salicylate Geraniol palmarosa, Cananga; middle: Heliotropin, Eugenol, Ionone, Benzyl iso-eugenol Clove, Cinnamon leaf Geranium, African, Cassia; base: Orris resin, Benzoin resin; overall: Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African", "top": ["Benzaldehyde", "Rosewood", "Terpineol", "Bromstyrole Phenyl ethyl alcohol", "Bay Bergamot", "Amyl salicylate Benzyl salicylate Geraniol palmarosa", "Cananga"], "middle": ["Heliotropin", "Eugenol", "Ionone", "Benzyl iso-eugenol Clove", "Cinnamon leaf Geranium, African", "Cassia"], "base": ["Orris resin", "Benzoin resin"], "overall": "Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African"}
5
+ {"formula_id": "poucher_v2_p0317_0004", "name": "Palm and Olive Oils, no. 1239", "page": 317, "components": [{"name": "Bromstyrole", "amount": 50.0, "type": "pure"}, {"name": "Rosewood", "amount": 250.0, "type": "pure"}, {"name": "Cassia", "amount": 30.0, "type": "pure"}, {"name": "Clove", "amount": 70.0, "type": "pure"}, {"name": "Lavender", "amount": 100.0, "type": "pure"}, {"name": "Patchouli", "amount": 50.0, "type": "pure"}, {"name": "Cedarwood", "amount": 150.0, "type": "pure"}, {"name": "Petitgrain", "amount": 100.0, "type": "pure"}, {"name": "Geranium, Bourbon", "amount": 150.0, "type": "pure"}, {"name": "Musk xylene", "amount": 50.0, "type": "pure"}], "profile_text": "top: Benzaldehyde, Rosewood, Terpineol, Bromstyrole Phenyl ethyl alcohol, Bay Bergamot, Amyl salicylate Benzyl salicylate Geraniol palmarosa, Cananga; middle: Heliotropin, Eugenol, Ionone, Benzyl iso-eugenol Clove, Cinnamon leaf Geranium, African, Cassia; base: Orris resin, Benzoin resin; overall: Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African", "top": ["Benzaldehyde", "Rosewood", "Terpineol", "Bromstyrole Phenyl ethyl alcohol", "Bay Bergamot", "Amyl salicylate Benzyl salicylate Geraniol palmarosa", "Cananga"], "middle": ["Heliotropin", "Eugenol", "Ionone", "Benzyl iso-eugenol Clove", "Cinnamon leaf Geranium, African", "Cassia"], "base": ["Orris resin", "Benzoin resin"], "overall": "Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African"}
6
+ {"formula_id": "poucher_v2_p0317_0005", "name": "Pine Bouquet, no. 1241", "page": 317, "components": [{"name": "Bornyl acetate", "amount": 200.0, "type": "pure"}, {"name": "Geranium, Bourbon", "amount": 100.0, "type": "pure"}, {"name": "Cassia", "amount": 40.0, "type": "pure"}, {"name": "Clove", "amount": 50.0, "type": "pure"}, {"name": "Petitgrain", "amount": 50.0, "type": "pure"}, {"name": "Lavender", "amount": 250.0, "type": "pure"}, {"name": "Bergamot", "amount": 200.0, "type": "pure"}, {"name": "Terebene", "amount": 50.0, "type": "pure"}, {"name": "Musk xylene", "amount": 20.0, "type": "pure"}, {"name": "Coumarin", "amount": 30.0, "type": "pure"}, {"name": "Patchouli", "amount": 10.0, "type": "pure"}], "profile_text": "top: Benzaldehyde, Rosewood, Terpineol, Bromstyrole Phenyl ethyl alcohol, Bay Bergamot, Amyl salicylate Benzyl salicylate Geraniol palmarosa, Cananga; middle: Heliotropin, Eugenol, Ionone, Benzyl iso-eugenol Clove, Cinnamon leaf Geranium, African, Cassia; base: Orris resin, Benzoin resin; overall: Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African", "top": ["Benzaldehyde", "Rosewood", "Terpineol", "Bromstyrole Phenyl ethyl alcohol", "Bay Bergamot", "Amyl salicylate Benzyl salicylate Geraniol palmarosa", "Cananga"], "middle": ["Heliotropin", "Eugenol", "Ionone", "Benzyl iso-eugenol Clove", "Cinnamon leaf Geranium, African", "Cassia"], "base": ["Orris resin", "Benzoin resin"], "overall": "Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African"}
7
+ {"formula_id": "poucher_v2_p0317_0006", "name": "Pine Bouquet, no. 1242", "page": 317, "components": [{"name": "Borneol", "amount": 50.0, "type": "pure"}, {"name": "Bornyl acetate", "amount": 100.0, "type": "pure"}, {"name": "Cedarwood", "amount": 100.0, "type": "pure"}, {"name": "Lavender, spike", "amount": 200.0, "type": "pure"}, {"name": "Methyl anthranilate", "amount": 50.0, "type": "pure"}, {"name": "Rosewood", "amount": 100.0, "type": "pure"}, {"name": "Terpineol", "amount": 200.0, "type": "pure"}, {"name": "Citronella, Java", "amount": 100.0, "type": "pure"}, {"name": "Terebene", "amount": 50.0, "type": "pure"}], "profile_text": "top: Benzaldehyde, Rosewood, Terpineol, Bromstyrole Phenyl ethyl alcohol, Bay Bergamot, Amyl salicylate Benzyl salicylate Geraniol palmarosa, Cananga; middle: Heliotropin, Eugenol, Ionone, Benzyl iso-eugenol Clove, Cinnamon leaf Geranium, African, Cassia; base: Orris resin, Benzoin resin; overall: Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African", "top": ["Benzaldehyde", "Rosewood", "Terpineol", "Bromstyrole Phenyl ethyl alcohol", "Bay Bergamot", "Amyl salicylate Benzyl salicylate Geraniol palmarosa", "Cananga"], "middle": ["Heliotropin", "Eugenol", "Ionone", "Benzyl iso-eugenol Clove", "Cinnamon leaf Geranium, African", "Cassia"], "base": ["Orris resin", "Benzoin resin"], "overall": "Phenyl ethyl alcohol Bergamot Benzyl salicylate Geraniol palmarosa Clove Geranium, African"}
8
+ {"formula_id": "poucher_v2_p0320_0007", "name": "Shaving Stick, no. 1247", "page": 320, "components": [{"name": "Geranium, Algerian", "amount": 300.0, "type": "pure"}, {"name": "Rosewood", "amount": 170.0, "type": "pure"}, {"name": "Almond, bitter S.A.P", "amount": 20.0, "type": "pure"}, {"name": "Vetivert", "amount": 20.0, "type": "pure"}, {"name": "Terpineol", "amount": 100.0, "type": "pure"}, {"name": "Phenyl ethyl alcohol", "amount": 70.0, "type": "pure"}, {"name": "Benzyl acetate", "amount": 100.0, "type": "pure"}, {"name": "Santal", "amount": 100.0, "type": "pure"}], "profile_text": "top: S. Phenyl Benzyl cinnamate, S. Cassia Benzophenone Geraniol palmarosa; middle: Verbena acetaldehyde Petitgrain para, Ionone dimethyl acetal Terpineol, Clove, Ethyl cinnamate, Gingergrass Benzoin resin Geraniol, Java, Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert; base: Civet absolute Rosewood Guaiac wood, Orris resin Citronellol, Undecalactone Phenyl ethyl Geranium, Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot; overall: Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert", "top": ["S. Phenyl Benzyl cinnamate", "S. Cassia Benzophenone Geraniol palmarosa"], "middle": ["Verbena acetaldehyde Petitgrain para", "Ionone dimethyl acetal Terpineol", "Clove", "Ethyl cinnamate", "Gingergrass Benzoin resin Geraniol, Java", "Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"], "base": ["Civet absolute Rosewood Guaiac wood", "Orris resin Citronellol", "Undecalactone Phenyl ethyl Geranium", "Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot"], "overall": "Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"}
9
+ {"formula_id": "poucher_v2_p0322_0008", "name": "Sweet Pea Soap, no. 1250", "page": 322, "components": [{"name": "Benzyl acetate", "amount": 100.0, "type": "pure"}, {"name": "Rosewood", "amount": 200.0, "type": "pure"}, {"name": "Petitgrain para", "amount": 200.0, "type": "pure"}, {"name": "Terpineol", "amount": 100.0, "type": "pure"}, {"name": "Bromstyrole", "amount": 50.0, "type": "pure"}, {"name": "Iso-butyl phenylacetate", "amount": 50.0, "type": "pure"}, {"name": "Methyl heptine carbonate", "amount": 4.0, "type": "pure"}, {"name": "Cananga", "amount": 50.0, "type": "pure"}, {"name": "Benzylidene acetone", "amount": 20.0, "type": "pure"}, {"name": "Methyl naphthyl ketone", "amount": 50.0, "type": "pure"}, {"name": "Undecalactone", "amount": 1.0, "type": "pure"}, {"name": "Amyl cinnamic aldehyde", "amount": 50.0, "type": "pure"}, {"name": "Musk xylene", "amount": 25.0, "type": "pure"}, {"name": "Styrax resin", "amount": 50.0, "type": "pure"}, {"name": "Tolu balsam", "amount": 50.0, "type": "pure"}], "profile_text": "top: S. Phenyl Benzyl cinnamate, S. Cassia Benzophenone Geraniol palmarosa; middle: Verbena acetaldehyde Petitgrain para, Ionone dimethyl acetal Terpineol, Clove, Ethyl cinnamate, Gingergrass Benzoin resin Geraniol, Java, Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert; base: Civet absolute Rosewood Guaiac wood, Orris resin Citronellol, Undecalactone Phenyl ethyl Geranium, Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot; overall: Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert", "top": ["S. Phenyl Benzyl cinnamate", "S. Cassia Benzophenone Geraniol palmarosa"], "middle": ["Verbena acetaldehyde Petitgrain para", "Ionone dimethyl acetal Terpineol", "Clove", "Ethyl cinnamate", "Gingergrass Benzoin resin Geraniol, Java", "Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"], "base": ["Civet absolute Rosewood Guaiac wood", "Orris resin Citronellol", "Undecalactone Phenyl ethyl Geranium", "Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot"], "overall": "Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"}
10
+ {"formula_id": "poucher_v2_p0322_0009", "name": "Transparent, no. 1251", "page": 322, "components": [{"name": "Geranium, Bourbon", "amount": 450.0, "type": "pure"}, {"name": "Patchouli", "amount": 40.0, "type": "pure"}, {"name": "Vetivert", "amount": 10.0, "type": "pure"}, {"name": "Clove", "amount": 100.0, "type": "pure"}, {"name": "Cassia", "amount": 30.0, "type": "pure"}, {"name": "Caraway", "amount": 20.0, "type": "pure"}, {"name": "Lavender", "amount": 100.0, "type": "pure"}, {"name": "Orris resin", "amount": 60.0, "type": "pure"}, {"name": "Methyl ionone", "amount": 40.0, "type": "pure"}, {"name": "Coumarin", "amount": 20.0, "type": "pure"}, {"name": "Musk xylene", "amount": 30.0, "type": "pure"}, {"name": "Terpineol", "amount": 100.0, "type": "pure"}], "profile_text": "top: S. Phenyl Benzyl cinnamate, S. Cassia Benzophenone Geraniol palmarosa; middle: Verbena acetaldehyde Petitgrain para, Ionone dimethyl acetal Terpineol, Clove, Ethyl cinnamate, Gingergrass Benzoin resin Geraniol, Java, Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert; base: Civet absolute Rosewood Guaiac wood, Orris resin Citronellol, Undecalactone Phenyl ethyl Geranium, Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot; overall: Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert", "top": ["S. Phenyl Benzyl cinnamate", "S. Cassia Benzophenone Geraniol palmarosa"], "middle": ["Verbena acetaldehyde Petitgrain para", "Ionone dimethyl acetal Terpineol", "Clove", "Ethyl cinnamate", "Gingergrass Benzoin resin Geraniol, Java", "Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"], "base": ["Civet absolute Rosewood Guaiac wood", "Orris resin Citronellol", "Undecalactone Phenyl ethyl Geranium", "Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot"], "overall": "Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"}
11
+ {"formula_id": "poucher_v2_p0322_0010", "name": "Transparent, no. 1252", "page": 322, "components": [{"name": "Citronella, Java", "amount": 100.0, "type": "pure"}, {"name": "Cassia", "amount": 50.0, "type": "pure"}, {"name": "Clove", "amount": 50.0, "type": "pure"}, {"name": "Thyme, red", "amount": 100.0, "type": "pure"}, {"name": "Sassafras", "amount": 50.0, "type": "pure"}, {"name": "Lavender, spike", "amount": 250.0, "type": "pure"}, {"name": "Geraniol", "amount": 200.0, "type": "pure"}, {"name": "Cedarwood", "amount": 180.0, "type": "pure"}, {"name": "Musk xylene", "amount": 20.0, "type": "pure"}], "profile_text": "top: S. Phenyl Benzyl cinnamate, S. Cassia Benzophenone Geraniol palmarosa; middle: Verbena acetaldehyde Petitgrain para, Ionone dimethyl acetal Terpineol, Clove, Ethyl cinnamate, Gingergrass Benzoin resin Geraniol, Java, Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert; base: Civet absolute Rosewood Guaiac wood, Orris resin Citronellol, Undecalactone Phenyl ethyl Geranium, Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot; overall: Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert", "top": ["S. Phenyl Benzyl cinnamate", "S. Cassia Benzophenone Geraniol palmarosa"], "middle": ["Verbena acetaldehyde Petitgrain para", "Ionone dimethyl acetal Terpineol", "Clove", "Ethyl cinnamate", "Gingergrass Benzoin resin Geraniol, Java", "Citral Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"], "base": ["Civet absolute Rosewood Guaiac wood", "Orris resin Citronellol", "Undecalactone Phenyl ethyl Geranium", "Amyl cinnamic alcohol Geranyl acetate aldehyde Bergamot"], "overall": "Benzyl acetate IS. Citronella, Java Rosewood Guaiac wood Benzyl cinnamate acetaldehyde Petitgrain para dimethyl acetal Terpineol Citronellol Phenyl ethyl Geranium alcohol Geranyl acetate aldehyde Bergamot Benzoin resin Geraniol, Java Benzophenone Geraniol palmarosa Coumarin Lemon Labdanum resin Diphenyl methane Musk xylene Diphenyl oxide Patchouli Methyl cinnamate Phenyl acetic acid Cananga Santal Methyl ionone Styrax resin Palmarosa Trichlor phenyl methyl carbinyl acetate Vetivert"}
12
+ {"formula_id": "poucher_v2_p0323_0011", "name": "Tretle, no. 1253", "page": 323, "components": [{"name": "Geranium, Bourbon", "amount": 100.0, "type": "pure"}, {"name": "Oakmoss", "amount": 10.0, "type": "pure"}, {"name": "Rosewood", "amount": 100.0, "type": "pure"}, {"name": "Peru balsam", "amount": 50.0, "type": "pure"}, {"name": "Amyl salicylate", "amount": 400.0, "type": "pure"}, {"name": "Benzyl acetate", "amount": 60.0, "type": "pure"}, {"name": "Amyl cinnamic aldehyde", "amount": 30.0, "type": "pure"}, {"name": "Bergamot", "amount": 100.0, "type": "pure"}, {"name": "Phenylethyl alcohol", "amount": 50.0, "type": "pure"}, {"name": "Cananga", "amount": 100.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
13
+ {"formula_id": "poucher_v2_p0325_0012", "name": "Violet Soap, no. 1257", "page": 325, "components": [{"name": "Rosewood", "amount": 100.0, "type": "pure"}, {"name": "Bergamot", "amount": 150.0, "type": "pure"}, {"name": "Methyl heptine carbonate", "amount": 10.0, "type": "pure"}, {"name": "Cananga", "amount": 40.0, "type": "pure"}, {"name": "Methyl ionone", "amount": 300.0, "type": "pure"}, {"name": "Mimosa absolute", "amount": 20.0, "type": "pure"}, {"name": "Anisic aldehyde", "amount": 30.0, "type": "pure"}, {"name": "Ionone", "amount": 200.0, "type": "pure"}, {"name": "Orris resin", "amount": 50.0, "type": "pure"}, {"name": "Iso-eugenol", "amount": 10.0, "type": "pure"}, {"name": "Musk xylene", "amount": 30.0, "type": "pure"}, {"name": "Styrax resin", "amount": 30.0, "type": "pure"}, {"name": "Vetivert", "amount": 30.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
14
+ {"formula_id": "poucher_v2_p0335_0013", "name": "Virginian-Second Grade, no. 1264", "page": 335, "components": [{"name": "Coumarin", "amount": 50.0, "type": "pure"}, {"name": "Sweet orange oil", "amount": 20.0, "type": "pure"}, {"name": "Bergamot oil", "amount": 30.0, "type": "pure"}, {"name": "Lemon oil", "amount": 30.0, "type": "pure"}, {"name": "Phenylethyl valerianate", "amount": 20.0, "type": "pure"}, {"name": "Cassia oil", "amount": 5.0, "type": "pure"}, {"name": "Geranium oil", "amount": 50.0, "type": "pure"}, {"name": "Clove oil", "amount": 15.0, "type": "pure"}, {"name": "Tonka bean tincture", "amount": 30.0, "type": "pure"}, {"name": "Tincture of vanilla", "amount": 250.0, "type": "pure"}, {"name": "Tincture of orris", "amount": 500.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
15
+ {"formula_id": "poucher_v2_p0335_0014", "name": "Turkish, no. 1265", "page": 335, "components": [{"name": "Rose otto", "amount": 5.0, "type": "pure"}, {"name": "Geranium oil, Bourbon", "amount": 9.0, "type": "pure"}, {"name": "Orange blossom absolute", "amount": 5.0, "type": "pure"}, {"name": "Tuberose compound", "amount": 3.0, "type": "pure"}, {"name": "Jasmin absolute", "amount": 2.0, "type": "pure"}, {"name": "Lavender oil", "amount": 8.0, "type": "pure"}, {"name": "Patchouli oil", "amount": 2.0, "type": "pure"}, {"name": "Methyl phenylacetate", "amount": 1.0, "type": "pure"}, {"name": "Tonka absolute", "amount": 5.0, "type": "pure"}, {"name": "Tincture of vanilla", "amount": 160.0, "type": "pure"}, {"name": "Tincture of orris", "amount": 800.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
16
+ {"formula_id": "poucher_v2_p0336_0015", "name": "Flake, no. 1267", "page": 336, "components": [{"name": "Coumarin", "amount": 50.0, "type": "pure"}, {"name": "Heliotropin", "amount": 20.0, "type": "pure"}, {"name": "Vanillin", "amount": 20.0, "type": "pure"}, {"name": "Sweet orange oil", "amount": 150.0, "type": "pure"}, {"name": "Cassia oil", "amount": 20.0, "type": "pure"}, {"name": "Clove oil", "amount": 30.0, "type": "pure"}, {"name": "Rose otto", "amount": 30.0, "type": "pure"}, {"name": "Rhodinyl valerianate", "amount": 50.0, "type": "pure"}, {"name": "Cascarilla oil", "amount": 50.0, "type": "pure"}, {"name": "Nutmeg oil", "amount": 80.0, "type": "pure"}, {"name": "Tincture of tonka", "amount": 500.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
17
+ {"formula_id": "poucher_v2_p0342_0016", "name": "Carnation, no. 1274", "page": 342, "components": [{"name": "Iso-eugenol", "amount": 200.0, "type": "pure"}, {"name": "Clove oil", "amount": 200.0, "type": "pure"}, {"name": "Ylang-ylang oil", "amount": 50.0, "type": "pure"}, {"name": "Neroli oil", "amount": 30.0, "type": "pure"}, {"name": "Rose otto", "amount": 20.0, "type": "pure"}, {"name": "Benzoin tincture, 10 per cent", "amount": 300.0, "type": "pure"}, {"name": "Musk tincture, 3 per cent", "amount": 150.0, "type": "pure"}, {"name": "Heliotropin", "amount": 40.0, "type": "pure"}, {"name": "Vanillin", "amount": 10.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
18
+ {"formula_id": "poucher_v2_p0342_0017", "name": "Hawthorn, no. 1275", "page": 342, "components": [{"name": "Anisic aldehyde", "amount": 300.0, "type": "pure"}, {"name": "Almond oil, bitter S.A.P", "amount": 50.0, "type": "pure"}, {"name": "Neroli oil", "amount": 50.0, "type": "pure"}, {"name": "Geranium oil, Bourbon", "amount": 100.0, "type": "pure"}, {"name": "Benzoin tincture, 10 per cent", "amount": 300.0, "type": "pure"}, {"name": "Musk tincture, 3 per cent", "amount": 140.0, "type": "pure"}, {"name": "Orris oil, concrete", "amount": 10.0, "type": "pure"}, {"name": "Coumarin", "amount": 30.0, "type": "pure"}, {"name": "Vanillin", "amount": 20.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
19
+ {"formula_id": "poucher_v2_p0342_0018", "name": "Heliotrope, no. 1276", "page": 342, "components": [{"name": "Heliotropin", "amount": 200.0, "type": "pure"}, {"name": "Vanillin", "amount": 20.0, "type": "pure"}, {"name": "Almond oil, bitter S.A.P", "amount": 50.0, "type": "pure"}, {"name": "Geranium oil, Bourbon", "amount": 100.0, "type": "pure"}, {"name": "Clove oil", "amount": 80.0, "type": "pure"}, {"name": "Peru balsam oil", "amount": 50.0, "type": "pure"}, {"name": "Vanilla essence, 10 per cent", "amount": 300.0, "type": "pure"}, {"name": "Benzoin tincture, 10 per cent", "amount": 200.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
20
+ {"formula_id": "poucher_v2_p0343_0019", "name": "Jasmin, no. 1277", "page": 343, "components": [{"name": "Jasmin absolute", "amount": 20.0, "type": "pure"}, {"name": "Rose absolute", "amount": 30.0, "type": "pure"}, {"name": "Benzyl acetate", "amount": 50.0, "type": "pure"}, {"name": "Orange oil, sweet", "amount": 100.0, "type": "pure"}, {"name": "Neroli oil", "amount": 50.0, "type": "pure"}, {"name": "Bois de rose oil", "amount": 50.0, "type": "pure"}, {"name": "Vanilla essence, 10 per cent", "amount": 700.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
21
+ {"formula_id": "poucher_v2_p0343_0020", "name": "Violet, no. 1279", "page": 343, "components": [{"name": "Methyl ionone", "amount": 200.0, "type": "pure"}, {"name": "Santalwood oil", "amount": 100.0, "type": "pure"}, {"name": "Clove oil", "amount": 100.0, "type": "pure"}, {"name": "Ylang-ylang oil", "amount": 20.0, "type": "pure"}, {"name": "Bergamot oil", "amount": 30.0, "type": "pure"}, {"name": "Geranium oil, Algerian", "amount": 50.0, "type": "pure"}, {"name": "Orris oil, concrete", "amount": 20.0, "type": "pure"}, {"name": "Heliotropin", "amount": 30.0, "type": "pure"}, {"name": "Vanilla essence, 10 per cent", "amount": 450.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
22
+ {"formula_id": "poucher_v2_p0353_0021", "name": "Chypre, no. 1290", "page": 353, "components": [{"name": "Sandalwood", "amount": 300.0, "type": "pure"}, {"name": "Rose petals", "amount": 150.0, "type": "pure"}, {"name": "Cedarwood", "amount": 50.0, "type": "pure"}, {"name": "Lavender flowers", "amount": 100.0, "type": "pure"}, {"name": "Patchouli leaves", "amount": 300.0, "type": "pure"}, {"name": "Vetivert roots", "amount": 30.0, "type": "pure"}, {"name": "Tonka beans", "amount": 20.0, "type": "pure"}, {"name": "Oakmoss absolute, green", "amount": 15.0, "type": "pure"}, {"name": "Ylang-ylang oil, Bourbon", "amount": 5.0, "type": "pure"}, {"name": "Sassafras oil", "amount": 3.0, "type": "pure"}, {"name": "Dimethyl hydroquinone", "amount": 2.0, "type": "pure"}, {"name": "Labdanum clair", "amount": 1.0, "type": "pure"}, {"name": "Castoreum extract, 3 per cent", "amount": 10.0, "type": "pure"}, {"name": "Vanillin", "amount": 4.0, "type": "pure"}, {"name": "Heliotropin", "amount": 7.0, "type": "pure"}, {"name": "Musk ambrette", "amount": 3.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
23
+ {"formula_id": "poucher_v2_p0354_0022", "name": "Heliotrope, no. 1291", "page": 354, "components": [{"name": "Orris", "amount": 350.0, "type": "pure"}, {"name": "Rose", "amount": 300.0, "type": "pure"}, {"name": "Siam benzoin", "amount": 100.0, "type": "pure"}, {"name": "Tonka beans", "amount": 100.0, "type": "pure"}, {"name": "Heliotropin", "amount": 100.0, "type": "pure"}, {"name": "Vanillin", "amount": 10.0, "type": "pure"}, {"name": "Anisic aldehyde", "amount": 15.0, "type": "pure"}, {"name": "Neroli oil, bigarade", "amount": 5.0, "type": "pure"}, {"name": "Musk ketone", "amount": 5.0, "type": "pure"}, {"name": "Civet extract, 3 per cent", "amount": 10.0, "type": "pure"}, {"name": "Almond oil, S.A.P", "amount": 5.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
24
+ {"formula_id": "poucher_v2_p0354_0023", "name": "Jasmin, no. 1292", "page": 354, "components": [{"name": "Rosewood", "amount": 700.0, "type": "pure"}, {"name": "Orris", "amount": 250.0, "type": "pure"}, {"name": "Benzyl acetate", "amount": 30.0, "type": "pure"}, {"name": "Ylang-ylang oil, Bourbon", "amount": 10.0, "type": "pure"}, {"name": "Amyl cinnamic aldehyde", "amount": 2.0, "type": "pure"}, {"name": "Musk ketone", "amount": 3.0, "type": "pure"}, {"name": "Civet extract, 3 per cent", "amount": 5.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
25
+ {"formula_id": "poucher_v2_p0354_0024", "name": "Lavender, no. 1293", "page": 354, "components": [{"name": "Lavender flowers", "amount": 450.0, "type": "pure"}, {"name": "Sandalwood", "amount": 200.0, "type": "pure"}, {"name": "Orris", "amount": 100.0, "type": "pure"}, {"name": "Tonka beans", "amount": 100.0, "type": "pure"}, {"name": "Patchouli leaves", "amount": 100.0, "type": "pure"}, {"name": "Lavender oil, M.B", "amount": 20.0, "type": "pure"}, {"name": "Oakmoss absolute, green", "amount": 2.0, "type": "pure"}, {"name": "Vanilla extract, 10 per cent", "amount": 10.0, "type": "pure"}, {"name": "Petitgrain oil", "amount": 5.0, "type": "pure"}, {"name": "Bergamot oil", "amount": 10.0, "type": "pure"}, {"name": "Musk ketone", "amount": 3.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
26
+ {"formula_id": "poucher_v2_p0354_0025", "name": "Orange Blossom, no. 1294", "page": 354, "components": [{"name": "Rosewood", "amount": 600.0, "type": "pure"}, {"name": "Sandalwood", "amount": 200.0, "type": "pure"}, {"name": "Orris", "amount": 150.0, "type": "pure"}, {"name": "Petitgrain oil, French", "amount": 20.0, "type": "pure"}, {"name": "Geranyl formate", "amount": 2.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
27
+ {"formula_id": "poucher_v2_p0355_0026", "name": "Rose, no. 1295", "page": 355, "components": [{"name": "Rose petals", "amount": 700.0, "type": "pure"}, {"name": "Patchouli leaves", "amount": 50.0, "type": "pure"}, {"name": "Siam benzoin", "amount": 30.0, "type": "pure"}, {"name": "Clove", "amount": 20.0, "type": "pure"}, {"name": "Orris", "amount": 150.0, "type": "pure"}, {"name": "Rose geranium oil, French", "amount": 20.0, "type": "pure"}, {"name": "Rose otto", "amount": 5.0, "type": "pure"}, {"name": "Phenylethyl alcohol", "amount": 15.0, "type": "pure"}, {"name": "Musk ketone", "amount": 3.0, "type": "pure"}, {"name": "Ambergris extract, 3 per cent", "amount": 5.0, "type": "pure"}, {"name": "Heliotropin", "amount": 2.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
28
+ {"formula_id": "poucher_v2_p0355_0027", "name": "TrHle, no. 1296", "page": 355, "components": [{"name": "Sandalwood", "amount": 200.0, "type": "pure"}, {"name": "Orris", "amount": 200.0, "type": "pure"}, {"name": "Rose", "amount": 300.0, "type": "pure"}, {"name": "Lavender", "amount": 100.0, "type": "pure"}, {"name": "Patchouli", "amount": 30.0, "type": "pure"}, {"name": "Vetivert", "amount": 20.0, "type": "pure"}, {"name": "Tonka beans", "amount": 70.0, "type": "pure"}, {"name": "Benzoin, Siam", "amount": 30.0, "type": "pure"}, {"name": "Amyl salicylate", "amount": 30.0, "type": "pure"}, {"name": "Oakmoss absolute, green", "amount": 1.0, "type": "pure"}, {"name": "Clary sage, concrete", "amount": 1.0, "type": "pure"}, {"name": "Ylang-ylang oil, Bourbon", "amount": 3.0, "type": "pure"}, {"name": "Jasmin, compound", "amount": 5.0, "type": "pure"}, {"name": "Musk ambrette", "amount": 10.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
29
+ {"formula_id": "poucher_v2_p0355_0028", "name": "Violet, no. 1297", "page": 355, "components": [{"name": "Orris", "amount": 400.0, "type": "pure"}, {"name": "Sandalwood", "amount": 300.0, "type": "pure"}, {"name": "Cedarwood", "amount": 200.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
30
+ {"formula_id": "poucher_v2_p0360_0029", "name": "Apple Base, no. 1301", "page": 360, "components": [{"name": "Amyl valerianate", "amount": 300.0, "type": "pure"}, {"name": "Ethyl malonate", "amount": 200.0, "type": "pure"}, {"name": "Acetaldehyde", "amount": 100.0, "type": "pure"}, {"name": "Chloroform", "amount": 50.0, "type": "pure"}, {"name": "Geranyl butyrate", "amount": 45.0, "type": "pure"}, {"name": "Ethyl acetate", "amount": 200.0, "type": "pure"}], "profile_text": "top: Benzyl acetate, Rosewood, Petitgrain para Methyl anthranilate Iso-eugenol Terpineol, Bromstyrole, Bergamot, Geraniol, java, Lemon, Spike lavender, Lavendin Linalyl acetate, Cananga Lemongrass Palmarosa; middle: Citronella, java, Verbena, Ionone Coumarin, Clove Musk xylene, Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol, Gingergrass Santal, Cassia Tolu balsam, Citral Vetivert; base: Olibanum resin Methyl benzoate, Benzoin resin; overall: Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa", "top": ["Benzyl acetate", "Rosewood", "Petitgrain para Methyl anthranilate Iso-eugenol Terpineol", "Bromstyrole", "Bergamot", "Geraniol, java", "Lemon", "Spike lavender", "Lavendin Linalyl acetate", "Cananga Lemongrass Palmarosa"], "middle": ["Citronella, java", "Verbena", "Ionone Coumarin", "Clove Musk xylene", "Geranium Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol", "Gingergrass Santal", "Cassia Tolu balsam", "Citral Vetivert"], "base": ["Olibanum resin Methyl benzoate", "Benzoin resin"], "overall": "Methyl benzoate Coumarin Methyl anthranilate Iso-eugenol Terpineol Musk xylene Oakmoss Phenyl ethyl Geranyl acetate Patchouli alcohol Santal Tolu balsam Vetivert Linalyl acetate Lemongrass Palmarosa"}
data/literature_profiles_poucher.jsonl ADDED
The diff for this file is too large to render. See raw diff
 
data/poucher_tier_lookup_expanded.json ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source": "Poucher Vol II - Odour Classification tables",
3
+ "total_entries": 445,
4
+ "unique_cas": 160,
5
+ "cas_to_tier": {
6
+ "100-51-6": "base",
7
+ "100-52-7": "base",
8
+ "100-86-7": "top",
9
+ "10031-93-5": "top",
10
+ "101-84-8": "base",
11
+ "102-16-9": "base",
12
+ "103-26-4": "mid",
13
+ "103-36-6": "mid",
14
+ "103-41-3": "top",
15
+ "103-45-7": "mid",
16
+ "103-48-0": "base",
17
+ "103-54-8": "mid",
18
+ "103-56-0": "mid",
19
+ "103-61-7": "base",
20
+ "103-64-0": "mid",
21
+ "103-82-2": "base",
22
+ "104-21-2": "mid",
23
+ "104-53-0": "mid",
24
+ "104-54-1": "base",
25
+ "104-57-4": "top",
26
+ "104-65-4": "base",
27
+ "104-67-6": "base",
28
+ "104-93-8": "mid",
29
+ "105-13-5": "base",
30
+ "105-85-1": "base",
31
+ "105-87-3": "mid",
32
+ "106-22-9": "mid",
33
+ "106-24-1": "mid",
34
+ "106-25-2": "mid",
35
+ "106-29-6": "base",
36
+ "107-75-5": "mid",
37
+ "110-41-8": "base",
38
+ "111-12-6": "mid",
39
+ "112-14-1": "base",
40
+ "112-31-2": "top",
41
+ "112-54-9": "mid",
42
+ "115-95-7": "mid",
43
+ "118-58-1": "base",
44
+ "119-36-8": "top",
45
+ "119-61-9": "base",
46
+ "120-51-4": "base",
47
+ "120-57-0": "mid",
48
+ "120-72-9": "mid",
49
+ "121-33-5": "base",
50
+ "122-00-9": "mid",
51
+ "122-40-7": "base",
52
+ "122-57-6": "mid",
53
+ "122-63-4": "base",
54
+ "122-78-1": "base",
55
+ "123-11-5": "mid",
56
+ "124-13-0": "base",
57
+ "124-19-6": "base",
58
+ "126-64-7": "base",
59
+ "127-41-3": "mid",
60
+ "1335-46-2": "base",
61
+ "134-20-3": "mid",
62
+ "139-02-6": "mid",
63
+ "140-11-4": "mid",
64
+ "140-39-6": "base",
65
+ "141-14-0": "base",
66
+ "141-78-6": "base",
67
+ "141-97-9": "base",
68
+ "144-39-8": "base",
69
+ "150-84-5": "base",
70
+ "2050-08-0": "mid",
71
+ "3487-99-8": "mid",
72
+ "4602-84-0": "base",
73
+ "5392-40-1": "mid",
74
+ "5451-52-5": "top",
75
+ "60-12-8": "mid",
76
+ "615-90-3": "mid",
77
+ "68127-65-1": "base",
78
+ "68606-83-7": "mid",
79
+ "68966-86-9": "base",
80
+ "68991-27-5": "base",
81
+ "7212-44-4": "base",
82
+ "76-49-3": "mid",
83
+ "77-83-8": "base",
84
+ "78-70-6": "top",
85
+ "79-77-6": "mid",
86
+ "8000-25-7": "mid",
87
+ "8000-27-9": "base",
88
+ "8000-28-0": "mid",
89
+ "8000-29-1": "mid",
90
+ "8000-34-8": "mid",
91
+ "8000-41-7": "mid",
92
+ "8000-42-8": "mid",
93
+ "8000-46-2": "mid",
94
+ "8000-48-4": "base",
95
+ "8006-78-8": "base",
96
+ "8006-81-3": "mid",
97
+ "8006-84-6": "base",
98
+ "8006-87-9": "base",
99
+ "8006-90-4": "mid",
100
+ "8007-00-9": "base",
101
+ "8007-01-0": "mid",
102
+ "8007-02-1": "mid",
103
+ "8007-35-0": "mid",
104
+ "8007-40-1": "mid",
105
+ "8007-46-3": "mid",
106
+ "8007-75-8": "mid",
107
+ "8008-26-2": "top",
108
+ "8008-45-5": "base",
109
+ "8008-52-4": "top",
110
+ "8008-56-8": "mid",
111
+ "8008-57-9": "mid",
112
+ "8014-09-3": "mid",
113
+ "8014-17-3": "mid",
114
+ "8014-19-5": "base",
115
+ "8014-71-9": "mid",
116
+ "8015-01-0": "mid",
117
+ "8015-64-3": "base",
118
+ "8015-65-4": "mid",
119
+ "8015-73-4": "base",
120
+ "8015-77-8": "top",
121
+ "8015-79-2": "mid",
122
+ "8015-91-6": "mid",
123
+ "8015-96-1": "mid",
124
+ "8016-23-7": "mid",
125
+ "8016-38-0": "mid",
126
+ "8016-63-5": "mid",
127
+ "8016-73-1": "base",
128
+ "8016-96-4": "mid",
129
+ "8021-15-0": "base",
130
+ "8022-09-9": "mid",
131
+ "8022-62-6": "base",
132
+ "8023-70-5": "mid",
133
+ "8023-82-3": "mid",
134
+ "8023-83-4": "base",
135
+ "8023-85-4": "mid",
136
+ "8023-87-6": "base",
137
+ "8023-91-4": "base",
138
+ "8024-01-9": "mid",
139
+ "8024-05-2": "mid",
140
+ "8024-12-6": "mid",
141
+ "8024-43-9": "mid",
142
+ "8038-65-1": "base",
143
+ "8050-07-5": "base",
144
+ "81-14-1": "base",
145
+ "81-15-2": "mid",
146
+ "83-54-5": "base",
147
+ "84012-66-8": "mid",
148
+ "90-17-5": "base",
149
+ "9000-50-6": "mid",
150
+ "9000-64-0": "base",
151
+ "9000-72-0": "base",
152
+ "91-64-5": "mid",
153
+ "91771-61-8": "base",
154
+ "93-19-6": "base",
155
+ "93-26-3": "mid",
156
+ "93-28-7": "base",
157
+ "93-58-3": "top",
158
+ "93-89-0": "top",
159
+ "93-92-5": "mid",
160
+ "94-48-4": "base",
161
+ "94-59-7": "base",
162
+ "94-90-6": "base",
163
+ "97-53-0": "mid",
164
+ "97-54-1": "base",
165
+ "98-86-2": "base"
166
+ },
167
+ "tier_distribution": {
168
+ "top": 13,
169
+ "mid": 78,
170
+ "base": 69
171
+ },
172
+ "unmatched_names": [
173
+ "Acetiso-eugenol",
174
+ "Acetyl iso-eugenol",
175
+ "An example follows:",
176
+ "Benzyl iso-butyrate",
177
+ "Broom absolute",
178
+ "Camomile",
179
+ "Cardamon",
180
+ "Cedryl acetate",
181
+ "Celery seed",
182
+ "Chemistry",
183
+ "Compound, as above",
184
+ "Compound, no. 1052",
185
+ "Costus",
186
+ "Cummin",
187
+ "Curd, no. 1205",
188
+ "Curd, no. 1206",
189
+ "Cyclamen",
190
+ "Cyclamen aldehyde",
191
+ "Cyclohexanyl",
192
+ "Cyclohexanyl butyrate",
193
+ "Cypress",
194
+ "Dimethyl acetal",
195
+ "Dimethyl anthranilate",
196
+ "Dimethyl benzyl acetate",
197
+ "Dimethyl nonenol",
198
+ "Dimethyl octd.nol",
199
+ "Diphenyl methane",
200
+ "Dydroxy",
201
+ "Elemi oil",
202
+ "Elemi resin",
203
+ "Ethyl anisate",
204
+ "Ethyl phenylacetate",
205
+ "Ethyl salicylate",
206
+ "Ethyl vanillin",
207
+ "Eugenyl formate",
208
+ "Gamma nonyl",
209
+ "Gerany! formate",
210
+ "Geranyl formate",
211
+ "Geranyl iso-butyrate",
212
+ "Guaiyl acetate",
213
+ "Guaiyl esters",
214
+ "Heliotrope Compound, no. 1025",
215
+ "Herb, no. 1217",
216
+ "Hyacinth absolute",
217
+ "Hydro cinnamic",
218
+ "Hyssop",
219
+ "Ion one alpha",
220
+ "Iso-butyl acetate",
221
+ "Iso-butyl benzoate",
222
+ "Iso-butyl methyl",
223
+ "Iso-butyl phenyl-",
224
+ "Iso-butyl salicylate",
225
+ "J onquille absolute",
226
+ "Jasmin Colourless, no. 1032",
227
+ "Jonquille absolute",
228
+ "Laurinic alcohol",
229
+ "Lavendin",
230
+ "Lilac compound",
231
+ "Linalyl cinnamate",
232
+ "Linalyl formate",
233
+ "Liquidambar resin",
234
+ "Magnolia, no. 1040",
235
+ "Mandarin",
236
+ "Mastic oil",
237
+ "May Blossom, no. 12 31",
238
+ "May blossom, no. 1023",
239
+ "May blossom, no. 1024",
240
+ "Methoxy",
241
+ "Methyl acetophenpne",
242
+ "Methyl anisate",
243
+ "Methyl butyrate",
244
+ "Methyl eugenol",
245
+ "Methyl iso-eugenol",
246
+ "Methyl methyl",
247
+ "Musk ambrette",
248
+ "Narcissus absolute",
249
+ "Niaouli",
250
+ "Nonyl acetate",
251
+ "Nonyl alcohol",
252
+ "Orange flower water",
253
+ "Orchid, no. 1052",
254
+ "Orchid, no. 1053",
255
+ "Para cresyl acetate",
256
+ "Para cresyl iso-butyrate",
257
+ "Para cresyl methyl ether",
258
+ "Paracresyl iso-",
259
+ "Paramethyl hydro-",
260
+ "Parsley",
261
+ "Phenoxyethyl iso-",
262
+ "Phenyl acetal de-",
263
+ "Phenyl propyl acetate",
264
+ "Phenyl propyl alcohol",
265
+ "Phenyl propyl iso-",
266
+ "Pimento",
267
+ "Pure extract",
268
+ "Rue",
269
+ "SO",
270
+ "Safrole",
271
+ "Solid extract",
272
+ "Spearmint",
273
+ "Tagette",
274
+ "Terpinyl propionate",
275
+ "Tetrahydro geraniol",
276
+ "Tonka absolute",
277
+ "Tonka resin",
278
+ "Trefle, no. 1062",
279
+ "U ndecalactone",
280
+ "Undecylenic",
281
+ "Undecylic",
282
+ "Undecylic alcohol",
283
+ "Undecylic aldehyde",
284
+ "Vetiven",
285
+ "Violet absolute",
286
+ "Violet leaf absolute",
287
+ "Volatile oil",
288
+ "Wallflower, no. 1069",
289
+ "Zdravets",
290
+ "lonone",
291
+ "lonone alpha"
292
+ ]
293
+ }
scripts/extract_poucher_tiers.py ADDED
@@ -0,0 +1,541 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Extract Poucher evaporation coefficient tier assignments from the literature pages.
3
+
4
+ Scans all 3013 pages for "Odour classification" sections, parses the
5
+ Top/Middle/Basic notes tables, and maps each material to its tier
6
+ based on Poucher's coefficient number system:
7
+ Top notes: coefficient 1-14
8
+ Middle notes: coefficient 15-60
9
+ Base notes: coefficient 61-100
10
+ """
11
+ import json
12
+ import re
13
+ from pathlib import Path
14
+ from collections import defaultdict
15
+
16
+ DATA = Path("data")
17
+
18
+
19
+ def load_pages() -> list[dict]:
20
+ """Load all literature pages, extracting text and source."""
21
+ pages = []
22
+ with open(DATA / "literature_flat" / "literature_pages.jsonl") as f:
23
+ for line in f:
24
+ record = json.loads(line).get("record", "")
25
+ if isinstance(record, str):
26
+ try:
27
+ rec = json.loads(record)
28
+ except json.JSONDecodeError:
29
+ continue
30
+ else:
31
+ rec = record
32
+ text = rec.get("text", "")
33
+ source = rec.get("source", "")
34
+ page_num = rec.get("page", 0)
35
+ if text and "Poucher" in source:
36
+ pages.append({"page": page_num, "text": text, "source": source})
37
+ return pages
38
+
39
+
40
+ def parse_odour_classification(text: str) -> list[dict]:
41
+ """Parse a single page's Odour Classification section.
42
+
43
+ Structure observed:
44
+ Odour classification
45
+ Top notes
46
+ 1. Benzyl acetate
47
+ Linalol
48
+ Phenyl ethyl acetate
49
+ 2. Rosewood
50
+ ...
51
+ Middle notes
52
+ 15. Acet anisol
53
+ Heliotropin
54
+ 21. Anisic aldehyde
55
+ Ionone alpha
56
+ ...
57
+ Basic notes
58
+ 65. Cinnamic alcohol
59
+ 77. Methyl naphthyl ketone
60
+ ...
61
+
62
+ Key insight: materials listed after a numbered entry and before the next number
63
+ belong to the same coefficient group.
64
+ """
65
+ results = []
66
+
67
+ # Find the "Odour classification" section
68
+ oc_match = re.search(r'[Oo]dour\s+[Cc]lassification', text)
69
+ if not oc_match:
70
+ return results
71
+
72
+ section = text[oc_match.start():]
73
+
74
+ # Find tier section boundaries
75
+ tier_keywords = [
76
+ (r'(?:^|\n)\s*Top\s+notes?\s*(?:\n|$)', 'top'),
77
+ (r'(?:^|\n)\s*Middle\s+notes?\s*(?:\n|$)', 'mid'),
78
+ (r'(?:^|\n)\s*(?:Basic|Base)\s+notes?\s*(?:\n|$)', 'base'),
79
+ ]
80
+
81
+ tier_positions = []
82
+ for pattern, tier in tier_keywords:
83
+ for m in re.finditer(pattern, section):
84
+ tier_positions.append((m.start(), m.end(), tier))
85
+
86
+ tier_positions.sort()
87
+
88
+ for i, (start, header_end, tier) in enumerate(tier_positions):
89
+ # Section text for this tier
90
+ end = tier_positions[i + 1][0] if i + 1 < len(tier_positions) else min(len(section), start + 2000)
91
+ tier_text = section[header_end:end]
92
+
93
+ # Parse lines: numbered entries set the coefficient, unnumbered lines
94
+ # that follow are materials at the same coefficient
95
+ current_coeff = None
96
+ lines = tier_text.strip().split('\n')
97
+
98
+ for line in lines:
99
+ line = line.strip()
100
+ if not line:
101
+ continue
102
+
103
+ # Check if this line starts with a number (coefficient)
104
+ num_match = re.match(r'^(\d{1,3})\.\s*(.+)', line)
105
+ if num_match:
106
+ current_coeff = int(num_match.group(1))
107
+ material_name = num_match.group(2).strip()
108
+ if material_name and len(material_name) > 1:
109
+ results.append({
110
+ "coefficient": current_coeff,
111
+ "tier": tier,
112
+ "name": material_name,
113
+ })
114
+ else:
115
+ # This is a continuation material — belongs to the current coefficient
116
+ # Filter out prose (sentences) and formula-like entries
117
+ if (current_coeff is not None
118
+ and len(line) > 1
119
+ and len(line) < 50
120
+ and not line[0].isdigit() # not a formula amount
121
+ and not line.startswith('Compounding')
122
+ and not line.startswith('Soap')
123
+ and not line.startswith('page')
124
+ and not '.' in line[:5] # not a page number
125
+ and line[0].isupper() # material names start with capital
126
+ and not any(w in line.lower() for w in ['notes', 'classification', 'perfum', 'soap', 'chapter'])):
127
+ results.append({
128
+ "coefficient": current_coeff,
129
+ "tier": tier,
130
+ "name": line,
131
+ })
132
+
133
+ return results
134
+
135
+
136
+ # Extended name → CAS mapping based on Poucher materials
137
+ POUCHER_NAME_TO_CAS = {
138
+ # Top notes (coeff 1-14)
139
+ "benzyl acetate": "140-11-4",
140
+ "linalol": "78-70-6",
141
+ "linalool": "78-70-6",
142
+ "paracresyl acetate": "140-39-6",
143
+ "p-cresyl acetate": "140-39-6",
144
+ "benzaldehyde": "100-52-7",
145
+ "almonds": "100-52-7",
146
+ "phenyl ethyl acetate": "103-45-7",
147
+ "phenylethyl acetate": "103-45-7",
148
+ "benzyl cinnamate": "103-41-3",
149
+ "terpineol": "8000-41-7",
150
+ "alpha-terpineol": "98-55-5",
151
+ "citronellol": "106-22-9",
152
+ "lavender": "8000-28-0",
153
+ "bergamot": "8007-75-8",
154
+ "geraniol": "106-24-1",
155
+ "geraniol java": "106-24-1",
156
+ "amyl salicylate": "2050-08-0",
157
+ "lemon": "8008-56-8",
158
+ "limes": "8008-26-2",
159
+ "sweet orange": "8008-57-9",
160
+ "cedarwood": "8000-27-9",
161
+ "rosewood": "8015-77-8",
162
+ "bois de rose": "8015-77-8",
163
+ "linalyl acetate": "115-95-7",
164
+ "methyl cinnamate": "103-26-4",
165
+ "cananga": "68606-83-7",
166
+ "ylang": "8006-81-3",
167
+ "ylang-ylang": "8006-81-3",
168
+ "lavandin": "8022-15-7",
169
+ "petitgrain para": "8014-17-3",
170
+ "petitgrain": "8014-17-3",
171
+ "spike lavender": "8022-09-9",
172
+ "methyl salicylate": "119-36-8",
173
+ "methyl benzoate": "93-58-3",
174
+ "methyl anthranilate": "134-20-3",
175
+ "citronella ceylon": "8000-29-1",
176
+ "citronella java": "91771-61-8",
177
+ "phenyl ethyl alcohol": "60-12-8",
178
+ "phenylethyl alcohol": "60-12-8",
179
+ "bromstyrole": "103-64-0",
180
+ "cumic aldehyde": "112-31-2",
181
+ "cuminic aldehyde": "112-31-2",
182
+ "methyl octine carbonate": "111-12-6",
183
+ "methyl heptine carbonate": "111-12-6",
184
+ "dimethyl benzyl carbinol": "100-86-7",
185
+ "nonyl aldehyde": "124-19-6",
186
+ "nonyl aldehyde": "124-19-6",
187
+ "decaldehyde": "112-31-2",
188
+ "decyl aldehyde": "112-31-2",
189
+ "methyl acetophenone": "122-00-9",
190
+ "diphenyl oxide": "101-84-8",
191
+ "diphenyl ether": "101-84-8",
192
+ "carrot seed": "8015-88-1",
193
+ "methyl ionone": "1335-46-2",
194
+ "orris concrete": "8023-85-4",
195
+ "orris": "8023-85-4",
196
+ "mimosa absolute": "8023-87-6",
197
+ "reseda absolute": "8022-62-6",
198
+ "terpinyl acetate": "8007-35-0",
199
+ "linalyl benzoate": "126-64-7",
200
+ "phenyl ethyl benzoate": "94-47-3",
201
+ "citronellyl formate": "105-85-1",
202
+ "citronellyl acetate": "150-84-5",
203
+ "geranyl acetate": "105-87-3",
204
+ "linalyl propionate": "144-39-8",
205
+ "nerol": "106-25-2",
206
+ "neryl acetate": "141-78-6",
207
+ "rhodinol": "68127-65-1",
208
+ "palmarosa": "8014-19-5",
209
+ "geraniol palmarosa": "8014-19-5",
210
+ "sassafras": "94-59-7",
211
+
212
+ # Middle notes (coeff 15-60)
213
+ "acet anisol": "104-21-2",
214
+ "heliotropin": "120-57-0",
215
+ "piperonal": "120-57-0",
216
+ "eugenol": "97-53-0",
217
+ "clove": "8000-34-8",
218
+ "cinnamyl acetate": "103-54-8",
219
+ "anisic aldehyde": "123-11-5",
220
+ "anisaldehyde": "123-11-5",
221
+ "ionone alpha": "127-41-3",
222
+ "alpha ionone": "127-41-3",
223
+ "ionone beta": "79-77-6",
224
+ "beta ionone": "79-77-6",
225
+ "ionone": "127-41-3",
226
+ "clary sage": "8016-63-5",
227
+ "verbena": "8024-12-6",
228
+ "methyl anthranilate": "134-20-3",
229
+ "dimethyl hydroquinone": "615-90-3",
230
+ "geranium bourbon": "8000-46-2",
231
+ "geranium african": "8000-46-2",
232
+ "geranium": "8000-46-2",
233
+ "orange flower absolute": "8016-38-0",
234
+ "neroli": "8016-38-0",
235
+ "jasmin absolute": "8024-43-9",
236
+ "rose absolute": "8007-01-0",
237
+ "rose otto": "8007-01-0",
238
+ "rose": "8007-01-0",
239
+ "laurinic aldehyde": "112-54-9",
240
+ "dodecyl aldehyde": "112-54-9",
241
+ "lauryl aldehyde": "112-54-9",
242
+ "cinnamon leaf": "8015-91-6",
243
+ "cinnamon": "8015-91-6",
244
+ "cassia": "8015-96-1",
245
+ "ethyl cinnamate": "103-36-6",
246
+ "cassia oil": "8015-96-1",
247
+ "serpolet": "84012-66-8",
248
+ "melissa": "8014-71-9",
249
+ "calamus": "8015-79-2",
250
+ "marjoram": "8015-01-0",
251
+ "angelica seed": "8015-64-3",
252
+ "bornyl acetate": "76-49-3",
253
+ "phenyl ethyl iso-butyrate": "103-48-0",
254
+ "phenyl ethyl butyrate": "103-52-6",
255
+ "phenoxy ethyl iso-butyrate": "103-61-7",
256
+ "phenyl methyl carbinyl acetate": "93-92-5",
257
+ "citral": "5392-40-1",
258
+ "gingergrass": "8023-70-5",
259
+ "methyl nonyl acetaldehyde": "110-41-8",
260
+ "aldehyde c-12 mna": "110-41-8",
261
+ "cinnamyl formate": "104-65-4",
262
+ "guaiac wood": "8016-23-7",
263
+ "phenoxyethyl alcohol": "622-08-2",
264
+
265
+ # Base notes (coeff 61-100)
266
+ "cinnamic alcohol": "104-54-1",
267
+ "cinnamyl alcohol": "104-54-1",
268
+ "methyl naphthyl ketone": "94-90-6",
269
+ "methyl naphthal ketone": "94-90-6",
270
+ "civet absolute": "68991-27-5",
271
+ "hydroxy citronellal": "107-75-5",
272
+ "hydroxycitronellal": "107-75-5",
273
+ "phenyl acetaldehyde": "122-78-1",
274
+ "phenyl acetic acid": "103-82-2",
275
+ "phenylacetic acid": "103-82-2",
276
+ "ethyl methyl phenyl glycidate": "77-83-8",
277
+ "rhodinyl acetate": "141-14-0",
278
+ "rhodinyl formate": "83-54-5",
279
+ "undecalactone": "104-67-6",
280
+ "gamma-undecalactone": "104-67-6",
281
+ "amyl cinnamic aldehyde": "122-40-7",
282
+ "amyl cinnamaldehyde": "122-40-7",
283
+ "benzoin resin": "9000-72-0",
284
+ "benzoin": "9000-72-0",
285
+ "coumarin": "91-64-5",
286
+ "musk xylene": "81-15-2",
287
+ "musk ketone": "81-14-1",
288
+ "peru balsam": "8007-00-9",
289
+ "tolu balsam": "9000-64-0",
290
+ "styrax resin": "8024-01-9",
291
+ "styrax": "8024-01-9",
292
+ "vanillin": "121-33-5",
293
+ "vetivert": "8016-96-4",
294
+ "vetiver": "8016-96-4",
295
+ "patchouli": "8014-09-3",
296
+ "oakmoss": "9000-50-6",
297
+ "labdanum resin": "8016-73-1",
298
+ "labdanum": "8016-73-1",
299
+ "castoreum absolute": "8023-83-4",
300
+ "castoreum": "8023-83-4",
301
+ "santal": "8006-87-9",
302
+ "sandalwood": "8006-87-9",
303
+ "cedar": "8000-27-9",
304
+ "opoponax resin": "8021-15-0",
305
+ "myrrh resin": "8023-82-3",
306
+ "myrrh": "8023-82-3",
307
+ "ambergris": "8038-65-1",
308
+ "cassie absolute": "8023-85-4",
309
+ "tuberose absolute": "8024-05-2",
310
+ "phenyl acetic aldehyde": "122-78-1",
311
+ "opoponax oil": "8021-15-0",
312
+ "olibanum resin": "8050-07-5",
313
+ "olibanum": "8050-07-5",
314
+ "benzyl salicylate": "118-58-1",
315
+ "iso-eugenol": "97-54-1",
316
+ "isoeugenol": "97-54-1",
317
+ "benzyl iso-eugenol": "93-26-3",
318
+ "iso-butyl salicylate": "87-19-4",
319
+ "geranyl benzoate": "94-48-4",
320
+ "methyl salicylate": "119-36-8",
321
+ "linalyl salicylate": "115-95-7",
322
+ "benzophenone": "119-61-9",
323
+ "phenyl carbonate": "135-20-6",
324
+ "ethyl decine carbonate": "10031-93-5",
325
+ "decanal": "112-31-2",
326
+ "octyl aldehyde": "124-13-0",
327
+ "estragnol": "8015-79-2",
328
+ "estragon": "8015-79-2",
329
+ "iso-butyl quinoline": "93-19-6",
330
+ "isobutyl quinoline": "93-19-6",
331
+ "cinnamic aldehyde": "104-55-2",
332
+ "cinnamaldehyde": "104-55-2",
333
+ "trichlor phenyl methyl carbinyl acetate": "90-17-5",
334
+ "acetophenone": "98-86-2",
335
+ "phenyl acetaldehyde dimethyl acetal": "101-48-8",
336
+ "phenyl ethyl dimethyl acetal": "67674-46-8",
337
+ "paracresyl phenylacetate": "101-94-0",
338
+ "iso-butyl phenylacetate": "102-13-6",
339
+ "paracresyl methyl ether": "104-93-8",
340
+ "benzylidene acetone": "122-57-6",
341
+ # Additional materials found in unmatched list
342
+ "benzyl alcohol": "100-51-6",
343
+ "benzyl benzoate": "120-51-4",
344
+ "benzyl formate": "104-57-4",
345
+ "benzyl propionate": "122-63-4",
346
+ "benzyl phenylacetate": "102-16-9",
347
+ "benzyl iso-butyrate": "103-09-3",
348
+ "benzyl isoeugenol": "93-26-3",
349
+ "anisyl acetate": "104-21-2",
350
+ "anisic alcohol": "105-13-5",
351
+ "anisyl alcohol": "105-13-5",
352
+ "bay": "8006-78-8",
353
+ "ambrette seed": "8015-65-4",
354
+ "angelica root": "8015-64-3",
355
+ "basilic": "8015-73-4",
356
+ "basil": "8015-73-4",
357
+ "amyl cinnamate": "3487-99-8",
358
+ "amyl oxyiso": "68966-86-9",
359
+ "acet eugenol": "93-28-7",
360
+ "eugenyl acetate": "93-28-7",
361
+ "acetyl iso-eugenol": "93-29-6",
362
+ "acetiso-eugenol": "93-29-6",
363
+ "phenoxyethyl alcohol": "622-08-2",
364
+ "phenyl ethyl alcohol": "60-12-8",
365
+ "methyl benzoate": "93-58-3",
366
+ "ethyl benzoate": "93-89-0",
367
+ "benzyl cinnamate": "103-41-3",
368
+ "cinnamyl butyrate": "103-56-0",
369
+ "phenyl propyl aldehyde": "104-53-0",
370
+ "hydroquinone dimethyl ether": "150-78-7",
371
+ "indole": "120-72-9",
372
+ "phenyl cresyl oxide": "139-02-6",
373
+ "phenyl ethyl phenylacetate": "2114-33-2",
374
+ "citronellyl phenylacetate": "103-48-0",
375
+ "eugenyl phenylacetate": "7783-13-1",
376
+ "methyl phenylacetate": "101-41-7",
377
+ "rosemary": "8000-25-7",
378
+ "thyme": "8007-46-3",
379
+ "nutmeg": "8008-45-5",
380
+ "mace": "8007-40-1",
381
+ "lemongrass": "8007-02-1",
382
+ "peppermint": "8006-90-4",
383
+ "eucalyptus": "8000-48-4",
384
+ "caraway": "8000-42-8",
385
+ "fennel": "8006-84-6",
386
+ "coriander": "8008-52-4",
387
+ "galbanum resin": "8023-91-4",
388
+ "galbanum": "8023-91-4",
389
+ "galbanum oil": "8023-91-4",
390
+ "citronellyl formate": "105-85-1",
391
+ "decyl formate": "5451-52-5",
392
+ "ethyl acetoacetate": "141-97-9",
393
+ "ethyl acetate": "141-78-6",
394
+ "octyl acetate": "112-14-1",
395
+ "terpinyl acetate": "8007-35-0",
396
+ "neryl acetate": "141-78-6",
397
+ "geranyl propionate": "105-90-8",
398
+ "linalyl butyrate": "78-36-4",
399
+ "citronellyl butyrate": "141-16-2",
400
+ "geranyl butyrate": "106-29-6",
401
+ "phenyl ethyl butyrate": "103-52-6",
402
+ "citronellyl propionate": "141-14-0",
403
+ "farnesol": "4602-84-0",
404
+ "nerolidol": "7212-44-4",
405
+ "bisabolol": "23089-26-1",
406
+ "damascone alpha": "43052-91-7",
407
+ "damascenone": "23696-85-7",
408
+ "ionone methyl": "1335-46-2",
409
+ "methyl dihydrojasmonate": "24851-98-7",
410
+ "hedione": "24851-98-7",
411
+ "lilial": "80-54-6",
412
+ "lyral": "31906-04-4",
413
+ "hydroxyisohexyl 3-cyclohexene carboxaldehyde": "31906-04-4",
414
+ "galaxolide": "1222-05-5",
415
+ "fixolide": "21145-77-7",
416
+ "musk t": "105-95-3",
417
+ "ambrettolide": "123-69-3",
418
+ "ethylene brassylate": "105-95-3",
419
+ "exaltolide": "502-72-7",
420
+ "pentadecalactone": "502-72-7",
421
+ "lactiscene": "28645-51-4",
422
+ "iso e super": "68555-14-8",
423
+ "vertofix": "32388-55-9",
424
+ "methyl cedryl ketone": "32388-55-9",
425
+ "isobornyl acetate": "125-12-2",
426
+ "vetiveryl acetate": "62563-80-8",
427
+ "cinnamyl acetate": "103-54-8",
428
+ }
429
+
430
+
431
+ def match_name_to_cas(name: str) -> str | None:
432
+ """Match a Poucher ingredient name to CAS."""
433
+ norm = name.lower().strip()
434
+ norm = re.sub(r'[^\w\s]', '', norm)
435
+ norm = re.sub(r'\s+', ' ', norm)
436
+
437
+ if norm in POUCHER_NAME_TO_CAS:
438
+ return POUCHER_NAME_TO_CAS[norm]
439
+
440
+ # Try partial matches
441
+ for hint, cas in POUCHER_NAME_TO_CAS.items():
442
+ if norm.startswith(hint) or hint.startswith(norm):
443
+ return cas
444
+
445
+ return None
446
+
447
+
448
+ def main():
449
+ pages = load_pages()
450
+ print(f"Loaded {len(pages)} Poucher pages")
451
+
452
+ # Extract all odour classification entries
453
+ all_entries = []
454
+ seen = set() # (name_lower, tier) to avoid duplicates
455
+
456
+ for page in pages:
457
+ entries = parse_odour_classification(page["text"])
458
+ for entry in entries:
459
+ key = (entry["name"].lower(), entry["tier"])
460
+ if key not in seen:
461
+ seen.add(key)
462
+ all_entries.append(entry)
463
+
464
+ print(f"Extracted {len(all_entries)} unique material-tier entries")
465
+
466
+ # Count by tier
467
+ tier_counts = defaultdict(int)
468
+ for e in all_entries:
469
+ tier_counts[e["tier"]] += 1
470
+ for tier in ['top', 'mid', 'base']:
471
+ print(f" {tier:5s}: {tier_counts[tier]}")
472
+
473
+ # Match to CAS
474
+ cas_to_tiers = defaultdict(set)
475
+ matched = 0
476
+ unmatched = []
477
+
478
+ for entry in all_entries:
479
+ cas = match_name_to_cas(entry["name"])
480
+ if cas:
481
+ cas_to_tiers[cas].add(entry["tier"])
482
+ matched += 1
483
+ else:
484
+ unmatched.append(entry["name"])
485
+
486
+ # Resolve multi-tier (prefer most volatile)
487
+ cas_to_tier_final = {}
488
+ for cas, tiers in cas_to_tiers.items():
489
+ if 'top' in tiers:
490
+ cas_to_tier_final[cas] = 'top'
491
+ elif 'mid' in tiers:
492
+ cas_to_tier_final[cas] = 'mid'
493
+ else:
494
+ cas_to_tier_final[cas] = 'base'
495
+
496
+ print(f"\nCAS matching:")
497
+ print(f" Matched: {matched} entries → {len(cas_to_tier_final)} unique CAS")
498
+ tier_dist = defaultdict(int)
499
+ for tier in cas_to_tier_final.values():
500
+ tier_dist[tier] += 1
501
+ for tier in ['top', 'mid', 'base']:
502
+ print(f" {tier:5s}: {tier_dist[tier]}")
503
+ print(f" Unmatched material names: {len(unmatched)}")
504
+ if unmatched:
505
+ unique_unmatched = sorted(set(unmatched))[:20]
506
+ print(f" Samples: {unique_unmatched}")
507
+
508
+ # Save
509
+ output = {
510
+ "source": "Poucher Vol II - Odour Classification tables",
511
+ "total_entries": len(all_entries),
512
+ "unique_cas": len(cas_to_tier_final),
513
+ "cas_to_tier": {k: v for k, v in sorted(cas_to_tier_final.items())},
514
+ "tier_distribution": dict(tier_dist),
515
+ "unmatched_names": sorted(set(unmatched)),
516
+ }
517
+ (DATA / "poucher_tier_lookup_expanded.json").write_text(json.dumps(output, indent=2))
518
+ print(f"\nSaved to data/poucher_tier_lookup_expanded.json")
519
+
520
+ # Merge with existing perfumer tier lookup
521
+ with open(DATA / "perfumer_tier_lookup.json") as f:
522
+ existing = json.load(f)
523
+
524
+ merged = dict(existing)
525
+ for cas, tier in cas_to_tier_final.items():
526
+ if cas not in merged:
527
+ merged[cas] = tier
528
+
529
+ (DATA / "perfumer_tier_lookup.json").write_text(
530
+ json.dumps({k: v for k, v in sorted(merged.items())}, indent=2)
531
+ )
532
+ print(f"Merged lookup: {len(existing)} → {len(merged)} CAS")
533
+ tier_dist_merged = defaultdict(int)
534
+ for tier in merged.values():
535
+ tier_dist_merged[tier] += 1
536
+ for tier in ['top', 'mid', 'base']:
537
+ print(f" {tier:5s}: {tier_dist_merged[tier]}")
538
+
539
+
540
+ if __name__ == "__main__":
541
+ main()
scripts/recover_perfumer_tiers.py ADDED
@@ -0,0 +1,329 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Task 0.5.2 — Recover TGSC/Poucher perfumer tiers and measure OAV-vs-perfumer agreement.
3
+
4
+ Sources:
5
+ - Poucher profiles (data/literature_profiles_poucher.jsonl): 25 profiles with
6
+ explicit top/middle/base ingredient lists from the perfumery textbook.
7
+ - Poucher formulas with profiles (data/literature_formulas_poucher_with_profiles.jsonl):
8
+ 30 formulas with tier ingredient lists.
9
+
10
+ Output:
11
+ - data/perfumer_tier_lookup.json: CAS → perfumer tier mapping
12
+ - data/tgsc_perfumer_tiers.jsonl: per-formula perfumer tier labels
13
+ - Agreement: OAV-derived vs perfumer confusion matrix + Cohen's κ
14
+ """
15
+ from __future__ import annotations
16
+
17
+ import json
18
+ import re
19
+ import numpy as np
20
+ from pathlib import Path
21
+ from collections import defaultdict, Counter
22
+
23
+ DATA = Path("data")
24
+
25
+ # ─── Canonical name normalization ────────────────────────────────────────────
26
+
27
+ def normalize_ingredient_name(name: str) -> str:
28
+ """Normalize an ingredient name for matching."""
29
+ s = name.lower().strip()
30
+ # Remove common suffixes/prefixes
31
+ s = re.sub(r'\b(oil|absolute|resin|abs|synth|natural|pure|extract)\b', '', s)
32
+ s = re.sub(r'[^\w\s]', '', s)
33
+ s = re.sub(r'\s+', ' ', s).strip()
34
+ return s
35
+
36
+ # Common name → CAS mappings for Poucher ingredient names
37
+ # These are the classic perfumery materials referenced in Poucher
38
+ NAME_TO_CAS_HINTS = {
39
+ # Top notes
40
+ 'bergamot': '8007-75-8',
41
+ 'lemon': '8008-56-8',
42
+ 'orange sweet': '8008-57-9',
43
+ 'orange flower': '8016-38-0',
44
+ 'neroli': '8016-38-0',
45
+ 'petitgrain': '8014-17-3',
46
+ 'linalol': '78-70-6',
47
+ 'linalool': '78-70-6',
48
+ 'linalyl acetate': '115-95-7',
49
+ 'linalyl': '115-95-7',
50
+ 'terpineol': '8000-41-7',
51
+ 'alpha pinene': '80-56-8',
52
+ 'limonene': '5989-27-5',
53
+ 'benzaldehyde': '100-52-7',
54
+ 'phenyl ethyl alcohol': '60-12-8',
55
+ 'phenylethyl alcohol': '60-12-8',
56
+ 'rosewood': '8015-77-8',
57
+ 'benzyl acetate': '140-11-4',
58
+ # Middle notes
59
+ 'geraniol': '106-24-1',
60
+ 'geranyl acetate': '105-87-3',
61
+ 'citronellol': '106-22-9',
62
+ 'hydroxy citronellal': '107-75-5',
63
+ 'ionone alpha': '127-41-3',
64
+ 'alpha ionone': '127-41-3',
65
+ 'ionone': '127-41-3',
66
+ 'methyl ionone': '1335-46-2',
67
+ 'cinnamic alcohol': '104-54-1',
68
+ 'cinnamyl': '104-54-1',
69
+ 'eugenol': '97-53-0',
70
+ 'iso eugenol': '97-54-1',
71
+ 'isoeugenol': '97-54-1',
72
+ 'iso butyl salicylate': '87-19-4',
73
+ 'amyl salicylate': '2050-08-0',
74
+ 'benzyl salicylate': '118-58-1',
75
+ 'heliotropin': '120-57-0',
76
+ 'piperonal': '120-57-0',
77
+ 'anisic aldehyde': '123-11-5',
78
+ 'anisaldehyde': '123-11-5',
79
+ 'methyl anthranilate': '134-20-3',
80
+ 'coumarin': '91-64-5',
81
+ 'methyl cinnamate': '103-26-4',
82
+ 'clove': '8000-34-8',
83
+ 'ylang': '8006-81-3',
84
+ 'jasmin absolute': '8024-43-9',
85
+ 'jasmin': '8024-43-9',
86
+ 'rose absolute': '8007-01-0',
87
+ 'rose otto': '8007-01-0',
88
+ 'neroly': '8016-38-0',
89
+ # Base notes
90
+ 'musk ketone': '81-14-1',
91
+ 'vanillin': '121-33-5',
92
+ 'vanilla': '121-33-5',
93
+ 'santal': '8006-87-9',
94
+ 'sandalwood': '8006-87-9',
95
+ 'vetivert': '8016-96-4',
96
+ 'vetiver': '8016-96-4',
97
+ 'benzoin resin': '9000-72-0',
98
+ 'benzoin': '9000-72-0',
99
+ 'peru balsam': '8007-00-9',
100
+ 'tolu balsam': '9000-64-0',
101
+ 'styrax resin': '8024-01-9',
102
+ 'cinnamic aldehyde': '104-55-2',
103
+ 'cinnamaldehyde': '104-55-2',
104
+ 'undecalactone': '104-67-6',
105
+ 'gamma undecalactone': '104-67-6',
106
+ 'ethyl methyl phenyl glycidate': '77-83-8',
107
+ 'methyl naphthyl ketone': '94-90-6',
108
+ 'orris resin': '8023-85-4',
109
+ 'orris': '8023-85-4',
110
+ 'coumarin': '91-64-5',
111
+ 'civet absolute': '68991-27-5',
112
+ 'ambrette seed': '8015-65-4',
113
+ 'decyl aldehyde': '112-31-2',
114
+ 'decanal': '112-31-2',
115
+ 'clary sage': '8016-63-5',
116
+ 'geranium african': '8000-46-2',
117
+ 'geranium': '8000-46-2',
118
+ 'rhodinol': '68127-65-1',
119
+ 'phenyl acetic acid': '103-82-2',
120
+ 'phenyl acetic aldehyde': '122-78-1',
121
+ 'phenylacetaldehyde': '122-78-1',
122
+ 'methyl salicylate': '119-36-8',
123
+ 'bromstyrole': '103-64-0',
124
+ 'bay': '8006-78-8',
125
+ 'cardamon': '8000-66-8',
126
+ 'cinnamon leaf': '8015-91-6',
127
+ 'nutmeg': '8008-45-5',
128
+ 'pepper': '8006-82-4',
129
+ 'hydroxycitronellal': '107-75-5',
130
+ 'acetyl iso eugenol': '93-29-6',
131
+ 'benzyl iso eugenol': '93-26-3',
132
+ 'ionone beta': '79-77-6',
133
+ 'decanal': '112-31-2',
134
+ 'cuminic aldehyde': '112-31-2',
135
+ }
136
+
137
+
138
+ def parse_poucher_tier_items(raw_items: list) -> list[str]:
139
+ """Split Poucher tier items (which contain concatenated names) into individual names."""
140
+ parsed = []
141
+ for item in raw_items:
142
+ if not isinstance(item, str):
143
+ continue
144
+ if len(item) > 60:
145
+ # Likely concatenated names or prose — skip
146
+ continue
147
+ # Some items are compound: "Clove, Ylang, Jasmin, Rose"
148
+ # Split on commas and semicolons
149
+ parts = re.split(r'[,;]\s*', item)
150
+ for part in parts:
151
+ part = part.strip()
152
+ if part and len(part) < 40 and not part[0].isdigit():
153
+ parsed.append(part)
154
+ return parsed
155
+
156
+
157
+ def match_to_cas(name: str) -> str | None:
158
+ """Try to match an ingredient name to a CAS number."""
159
+ norm = normalize_ingredient_name(name)
160
+
161
+ # Direct lookup
162
+ if norm in NAME_TO_CAS_HINTS:
163
+ return NAME_TO_CAS_HINTS[norm]
164
+
165
+ # Try partial match (first word)
166
+ for hint_name, cas in NAME_TO_CAS_HINTS.items():
167
+ if norm.startswith(hint_name) or hint_name.startswith(norm):
168
+ return cas
169
+
170
+ return None
171
+
172
+
173
+ def cohen_kappa(confusion: dict) -> float:
174
+ """Compute Cohen's κ from a confusion dict {(perfumer_tier, oav_tier): count}."""
175
+ tiers = ['top', 'mid', 'base']
176
+
177
+ # Build confusion matrix
178
+ matrix = np.zeros((3, 3))
179
+ tier_to_idx = {'top': 0, 'mid': 1, 'base': 2}
180
+
181
+ for (perf, oav), count in confusion.items():
182
+ if perf in tier_to_idx and oav in tier_to_idx:
183
+ matrix[tier_to_idx[perf], tier_to_idx[oav]] += count
184
+
185
+ total = matrix.sum()
186
+ if total == 0:
187
+ return 0.0
188
+
189
+ # Observed agreement
190
+ po = np.trace(matrix) / total
191
+
192
+ # Expected agreement
193
+ row_marginals = matrix.sum(axis=1) / total
194
+ col_marginals = matrix.sum(axis=0) / total
195
+ pe = np.sum(row_marginals * col_marginals)
196
+
197
+ if pe == 1.0:
198
+ return 1.0
199
+
200
+ return (po - pe) / (1 - pe)
201
+
202
+
203
+ def main() -> None:
204
+ # ─── 1. Load Poucher perfumer tier data ───────────────────────────────────
205
+ perfumer_tiers = defaultdict(set) # CAS → {tier1, tier2, ...}
206
+
207
+ for fpath in [DATA / "literature_profiles_poucher.jsonl",
208
+ DATA / "literature_formulas_poucher_with_profiles.jsonl"]:
209
+ with open(fpath) as f:
210
+ records = [json.loads(l) for l in f]
211
+
212
+ for rec in records:
213
+ for tier in ['top', 'middle', 'base']:
214
+ tier_label = 'mid' if tier == 'middle' else tier
215
+ items = rec.get(tier, [])
216
+ parsed = parse_poucher_tier_items(items)
217
+
218
+ for name in parsed:
219
+ cas = match_to_cas(name)
220
+ if cas:
221
+ perfumer_tiers[cas].add(tier_label)
222
+
223
+ # Resolve multi-tier: if an ingredient appears in multiple tiers, keep the
224
+ # most base-like (perfumery convention: a material that's top+base is used
225
+ # in both but its primary classification is determined by VP)
226
+ # For κ computation, if multi-tier, use the first (most volatile) tier
227
+ perfumer_tier_final = {}
228
+ for cas, tiers in perfumer_tiers.items():
229
+ if 'top' in tiers:
230
+ perfumer_tier_final[cas] = 'top'
231
+ elif 'mid' in tiers:
232
+ perfumer_tier_final[cas] = 'mid'
233
+ else:
234
+ perfumer_tier_final[cas] = 'base'
235
+
236
+ print(f"=== Perfumer tier lookup built ===")
237
+ print(f" Total unique CAS matched: {len(perfumer_tier_final)}")
238
+ tier_counts = Counter(perfumer_tier_final.values())
239
+ for tier in ['top', 'mid', 'base']:
240
+ print(f" {tier:5s}: {tier_counts[tier]:3d}")
241
+ print()
242
+
243
+ # Persist
244
+ (DATA / "perfumer_tier_lookup.json").write_text(
245
+ json.dumps({k: v for k, v in sorted(perfumer_tier_final.items())}, indent=2)
246
+ )
247
+ print(f" Saved to data/perfumer_tier_lookup.json")
248
+ print()
249
+
250
+ # ─── 2. Load OAV-derived tiers from v8 dataset ────────────────────────────
251
+ # Re-run the OAV classifier on the v8 records and compare
252
+
253
+ import sys
254
+ sys.path.insert(0, 'scripts')
255
+ from generate_pyramid_targets import classify_ingredient, tier_from_centroid
256
+
257
+ with open(DATA / "empirical_dataset_v8.jsonl") as f:
258
+ records = [json.loads(l) for l in f]
259
+
260
+ # For each ingredient that we have a perfumer tier for, compute the OAV-derived tier
261
+ confusion = defaultdict(int)
262
+ matched = 0
263
+ unmatched_cas = 0
264
+
265
+ for rec in records:
266
+ if rec.get('is_control'):
267
+ continue
268
+ trajectory = rec.get('trajectory', [])
269
+ formula = rec.get('formula', [])
270
+
271
+ for comp in formula:
272
+ cas = comp.get('cas', '')
273
+ if not cas:
274
+ continue
275
+
276
+ # Check if we have a perfumer tier for this CAS
277
+ # Handle SMILES-prefixed CAS by checking the raw value
278
+ lookup_cas = cas
279
+ if lookup_cas not in perfumer_tier_final:
280
+ continue
281
+
282
+ perf_tier = perfumer_tier_final[lookup_cas]
283
+
284
+ # Compute OAV-derived tier
285
+ oav_series = np.array([
286
+ step.get('OAV', {}).get(cas, 0.0) for step in trajectory
287
+ ], dtype=np.float32)
288
+
289
+ # We need registry data for VP/BP fallback — but let's use just OAV
290
+ oav_tier = classify_ingredient(cas, oav_series, None)
291
+
292
+ confusion[(perf_tier, oav_tier)] += 1
293
+ matched += 1
294
+
295
+ print(f"=== OAV vs Perfumer Agreement ===")
296
+ print(f" Matched ingredients: {matched}")
297
+ print(f" Unmatched (perfumer CAS not in dataset): {unmatched_cas}")
298
+ print()
299
+
300
+ # Confusion matrix
301
+ tiers = ['top', 'mid', 'base']
302
+ print(f" Confusion matrix (rows=perfumer, cols=OAV-derived):")
303
+ print(f" {'':12s} {'OAV-top':>10s} {'OAV-mid':>10s} {'OAV-base':>10s} {'Total':>10s}")
304
+ for perf in tiers:
305
+ row = [confusion.get((perf, oav), 0) for oav in tiers]
306
+ total = sum(row)
307
+ print(f" Perf-{perf:5s} {row[0]:>10d} {row[1]:>10d} {row[2]:>10d} {total:>10d}")
308
+ col_totals = [sum(confusion.get((p, oav), 0) for p in tiers) for oav in tiers]
309
+ print(f" {'Total':12s} {col_totals[0]:>10d} {col_totals[1]:>10d} {col_totals[2]:>10d} {sum(col_totals):>10d}")
310
+ print()
311
+
312
+ kappa = cohen_kappa(confusion)
313
+ po = sum(confusion.get((t, t), 0) for t in tiers) / max(1, sum(confusion.values()))
314
+ print(f" Observed agreement (Po): {po:.3f}")
315
+ print(f" Cohen's κ: {kappa:.3f}")
316
+ print()
317
+
318
+ if kappa >= 0.3:
319
+ print(f" → κ ≥ 0.3: OAV classifier has MODERATE agreement with perfumer tiers.")
320
+ print(f" Recalibration (Task 0.5.4) is warranted.")
321
+ else:
322
+ print(f" → κ < 0.3: OAV classifier does NOT track perfumer tiers.")
323
+ print(f" Task 0.5.4 (threshold recalibration) should be SKIPPED.")
324
+ print(f" VLE-derived labels should be dropped in favor of perfumer-only labels.")
325
+ print()
326
+
327
+
328
+ if __name__ == "__main__":
329
+ main()
scripts/vp_vs_perfumer.py ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/usr/bin/env python3
2
+ """Test VP-based tier classification against perfumer tiers."""
3
+ import json
4
+ import sqlite3
5
+ import numpy as np
6
+ from collections import defaultdict, Counter
7
+
8
+ # Load perfumer tiers
9
+ with open('data/perfumer_tier_lookup.json') as f:
10
+ perfumer_tiers = json.load(f)
11
+
12
+ # Load VP from registry
13
+ conn = sqlite3.connect('src/pino/registry.db')
14
+ c = conn.cursor()
15
+ c.execute("SELECT cas, vapor_pressure_pa FROM aroma_chemicals WHERE vapor_pressure_pa > 0")
16
+ registry_vp = {r[0]: r[1] for r in c.fetchall()}
17
+ conn.close()
18
+
19
+ # Compare VP-based classification to perfumer tiers
20
+ # Using current thresholds from classify_ingredient: VP >= 10 = top, >= 0.5 = mid, < 0.5 = base
21
+ confusion_current = defaultdict(int)
22
+ confusion_optimized = defaultdict(int)
23
+ matched = 0
24
+
25
+ tier_to_idx = {'top': 0, 'mid': 1, 'base': 2}
26
+
27
+ for cas, perf_tier in perfumer_tiers.items():
28
+ if cas not in registry_vp:
29
+ continue
30
+ vp = registry_vp[cas]
31
+ matched += 1
32
+
33
+ # Current thresholds: VP >= 10 = top, >= 0.5 = mid, < 0.5 = base
34
+ if vp >= 10:
35
+ oav_tier = 'top'
36
+ elif vp >= 0.5:
37
+ oav_tier = 'mid'
38
+ else:
39
+ oav_tier = 'base'
40
+ confusion_current[(perf_tier, oav_tier)] += 1
41
+
42
+ print(f"=== VP-based vs Perfumer (current thresholds: VP>=10 top, >=0.5 mid) ===")
43
+ print(f"Matched CAS: {matched}")
44
+ tiers = ['top', 'mid', 'base']
45
+ print(f" {'':12s} {'VP-top':>10s} {'VP-mid':>10s} {'VP-base':>10s} {'Total':>10s}")
46
+ for perf in tiers:
47
+ row = [confusion_current.get((perf, oav), 0) for oav in tiers]
48
+ total = sum(row)
49
+ print(f" Perf-{perf:5s} {row[0]:>10d} {row[1]:>10d} {row[2]:>10d} {total:>10d}")
50
+ col_totals = [sum(confusion_current.get((p, oav), 0) for p in tiers) for oav in tiers]
51
+ print(f" {'Total':12s} {col_totals[0]:>10d} {col_totals[1]:>10d} {col_totals[2]:>10d} {sum(col_totals):>10d}")
52
+
53
+ total_n = sum(confusion_current.values())
54
+ po = sum(confusion_current.get((t, t), 0) for t in tiers) / max(1, total_n)
55
+ matrix = np.zeros((3, 3))
56
+ for (perf, oav), cnt in confusion_current.items():
57
+ if perf in tier_to_idx and oav in tier_to_idx:
58
+ matrix[tier_to_idx[perf], tier_to_idx[oav]] = cnt
59
+ row_marg = matrix.sum(axis=1) / total_n
60
+ col_marg = matrix.sum(axis=0) / total_n
61
+ pe = np.sum(row_marg * col_marg)
62
+ kappa = (po - pe) / (1 - pe) if pe < 1 else 1.0
63
+ print(f" Po: {po:.3f}, kappa: {kappa:.3f}")
64
+ print()
65
+
66
+ # Now let's sweep VP thresholds to find optimal
67
+ print("=== VP threshold sweep (maximize kappa) ===")
68
+ best_kappa = -1
69
+ best_params = None
70
+
71
+ for top_thresh in np.arange(1, 50, 0.5):
72
+ for mid_thresh in np.arange(0.01, top_thresh, 0.1):
73
+ conf = defaultdict(int)
74
+ for cas, perf_tier in perfumer_tiers.items():
75
+ if cas not in registry_vp:
76
+ continue
77
+ vp = registry_vp[cas]
78
+ if vp >= top_thresh:
79
+ pred = 'top'
80
+ elif vp >= mid_thresh:
81
+ pred = 'mid'
82
+ else:
83
+ pred = 'base'
84
+ conf[(perf_tier, pred)] += 1
85
+
86
+ n = sum(conf.values())
87
+ if n == 0:
88
+ continue
89
+ p_obs = sum(conf.get((t, t), 0) for t in tiers) / n
90
+ m = np.zeros((3, 3))
91
+ for (p, o), cnt in conf.items():
92
+ if p in tier_to_idx and o in tier_to_idx:
93
+ m[tier_to_idx[p], tier_to_idx[o]] = cnt
94
+ rm = m.sum(axis=1) / n
95
+ cm = m.sum(axis=0) / n
96
+ pe_val = np.sum(rm * cm)
97
+ k = (p_obs - pe_val) / (1 - pe_val) if pe_val < 1 else 1.0
98
+
99
+ if k > best_kappa:
100
+ best_kappa = k
101
+ best_params = (top_thresh, mid_thresh, p_obs)
102
+
103
+ print(f" Best kappa: {best_kappa:.3f}")
104
+ print(f" Optimal thresholds: VP>={best_params[0]:.1f} = top, VP>={best_params[1]:.2f} = mid")
105
+ print(f" Po at optimal: {best_params[2]:.3f}")
106
+ print()
107
+
108
+ # Apply optimal thresholds and show confusion matrix
109
+ top_t, mid_t = best_params[0], best_params[1]
110
+ print(f"=== Optimized VP classification (VP>={top_t:.1f} top, VP>={mid_t:.2f} mid) ===")
111
+ conf_opt = defaultdict(int)
112
+ tier_counts = Counter()
113
+ for cas, perf_tier in perfumer_tiers.items():
114
+ if cas not in registry_vp:
115
+ continue
116
+ vp = registry_vp[cas]
117
+ if vp >= top_t:
118
+ pred = 'top'
119
+ elif vp >= mid_t:
120
+ pred = 'mid'
121
+ else:
122
+ pred = 'base'
123
+ conf_opt[(perf_tier, pred)] += 1
124
+ tier_counts[pred] += 1
125
+
126
+ print(f" {'':12s} {'VP-top':>10s} {'VP-mid':>10s} {'VP-base':>10s} {'Total':>10s}")
127
+ for perf in tiers:
128
+ row = [conf_opt.get((perf, oav), 0) for oav in tiers]
129
+ total = sum(row)
130
+ print(f" Perf-{perf:5s} {row[0]:>10d} {row[1]:>10d} {row[2]:>10d} {total:>10d}")
131
+ col_totals = [sum(conf_opt.get((p, oav), 0) for p in tiers) for oav in tiers]
132
+ print(f" {'Total':12s} {col_totals[0]:>10d} {col_totals[1]:>10d} {col_totals[2]:>10d} {sum(col_totals):>10d}")
133
+
134
+ # Now apply to ALL dataset ingredients and show distribution
135
+ with open('data/empirical_dataset_v8.jsonl') as f:
136
+ records = [json.loads(l) for l in f]
137
+
138
+ all_tiers = Counter()
139
+ for r in records:
140
+ if r.get('is_control'):
141
+ continue
142
+ for comp in r.get('formula', []):
143
+ cas = comp.get('cas', '')
144
+ if cas in registry_vp:
145
+ vp = registry_vp[cas]
146
+ if vp >= top_t:
147
+ all_tiers['top'] += 1
148
+ elif vp >= mid_t:
149
+ all_tiers['mid'] += 1
150
+ else:
151
+ all_tiers['base'] += 1
152
+ else:
153
+ all_tiers['no_vp'] += 1
154
+
155
+ total_ingredients = sum(all_tiers.values())
156
+ print(f"\n=== Full dataset ingredient distribution (optimized VP thresholds) ===")
157
+ for tier in ['top', 'mid', 'base', 'no_vp']:
158
+ print(f" {tier:8s}: {all_tiers[tier]:6d} ({100*all_tiers[tier]/total_ingredients:.1f}%)")