Skip to content

Commit 2eb4cfc

Browse files
fix(aroma): rename underscore heads to concatenated form
clary_sage -> clarysage, black_pepper -> blackpepper, violet_leaf -> violetleaf, matching the other multi-word heads (grapefruit, blackberry, honeysuckle, frankincense). Head keys only; the human keyword cues ('clary sage', 'black pepper', 'violet leaf') are unchanged. Model files + manifest + enrichment regenerated with the new names (private, not in repo). Signed-off-by: Austin L. <86896075+rvnminers-A-and-N@users.noreply.github.com>
1 parent 0f14870 commit 2eb4cfc

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

β€Žtraining/build_aroma_dataset.pyβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"mimosa": ["mimosa", "acacia"],
124124
"narcissus": ["narcissus", "daffodil", "jonquil"],
125125
"corky": ["corky", "cork taint", "chloroanisole", "musty cork", "mouldy cork"],
126-
"violet_leaf": ["violet leaf", "violet-leaf", "leafy violet"],
126+
"violetleaf": ["violet leaf", "violet-leaf", "leafy violet"],
127127
"fir": ["fir", "pine needle", "pine-needle", "conifer", "spruce"],
128128
"oakmoss": ["oakmoss", "oak moss", "mossy"],
129129
"vetiver": ["vetiver", "vetivert"],
@@ -149,7 +149,7 @@
149149
"cumin": ["cumin", "cuminic"],
150150
"passionfruit": ["passion fruit", "passionfruit", "passion-fruit"],
151151
"rosemary": ["rosemary"],
152-
"black_pepper": ["black pepper", "peppercorn", "peppery"],
152+
"blackpepper": ["black pepper", "peppercorn", "peppery"],
153153
"nutmeg": ["nutmeg", "mace"],
154154
"sage": ["sage", "salvia"],
155155
"thyme": ["thyme"],
@@ -176,7 +176,7 @@
176176
"costus": ["costus"],
177177
"tagetes": ["tagetes", "marigold"],
178178
"truffle": ["truffle"],
179-
"clary_sage": ["clary sage", "clary"],
179+
"clarysage": ["clary sage", "clary"],
180180
"elemi": ["elemi"],
181181
"labdanum": ["labdanum", "cistus", "rockrose"],
182182
"wormwood": ["wormwood", "absinthe", "artemisia"],

β€Žtraining/predict.pyβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ def analyze_balance(ingredients):
922922
"geranium": "geranium β€” rosy-green (geraniol, citronellol, rose oxide)",
923923
"eucalyptus": "eucalyptus β€” cineole / camphoraceous terpenoids",
924924
"corky": "corky / cork-taint β€” haloanisoles (TCA) & moldy phenols",
925-
"violet_leaf": "violet leaf β€” green-cucumber (methyl octine carbonate, 2,6-nonadienal); distinct from powdery violet",
925+
"violetleaf": "violet leaf β€” green-cucumber (methyl octine carbonate, 2,6-nonadienal); distinct from powdery violet",
926926
"fir": "fir / pine-needle β€” bornyl acetate & conifer terpenes",
927927
"oakmoss": "oakmoss β€” mossy orcinol / orsellinate esters (fragrance; atranol restricted)",
928928
"vetiver": "vetiver β€” earthy-woody sesquiterpenes (vetivones, khusimol)",
@@ -943,7 +943,7 @@ def analyze_balance(ingredients):
943943
"cumin": "cumin β€” cuminaldehyde & cymene terpenes",
944944
"passionfruit": "passionfruit β€” tropical thiols & esters (mercaptohexanol, oxathiane)",
945945
"rosemary": "rosemary β€” cineole / camphor / verbenone herb",
946-
"black_pepper": "black pepper β€” rotundone & peppery sesquiterpenes",
946+
"blackpepper": "black pepper β€” rotundone & peppery sesquiterpenes",
947947
"nutmeg": "nutmeg / mace β€” myristicin & terpene spice",
948948
"sage": "sage β€” thujones, camphor & cineole",
949949
"thyme": "thyme β€” thymol / carvacrol phenolic herb",
@@ -960,7 +960,7 @@ def analyze_balance(ingredients):
960960
"davana": "davana β€” davanone & davana ether (fruity-balsamic; narrow scaffold)",
961961
"costus": "costus β€” costunolide & sesquiterpene lactones",
962962
"truffle": "truffle β€” dimethyl-polysulfides & dithiapentane (savoury-sulfurous)",
963-
"clary_sage": "clary sage β€” sclareol / linalyl acetate (amber-herbal)",
963+
"clarysage": "clary sage β€” sclareol / linalyl acetate (amber-herbal)",
964964
"elemi": "elemi β€” elemol & elemicin (lemon-resinous)",
965965
"labdanum": "labdanum / cistus β€” labdane amber-resins",
966966
"styrax": "styrax / storax β€” cinnamate esters (sweet-balsamic)",

β€Žtraining/workbench.htmlβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1107,7 +1107,7 @@ <h4>Software &amp; type</h4>
11071107
rancid:'#9A8B5A',tarry:'#4A4038',winey:'#8E4B6E',honey:'#E0A83C',apple:'#8DBF4A',
11081108
cherry:'#C0392B',pine:'#3FA06B',banana:'#E6C84D',fatty:'#C9B27A',petroleum:'#6E7B8B',
11091109
alcoholic:'#9FB6C4',musky:'#8B7BA5',putrid:'#6E7A4A',soapy:'#B9C6D0',vegetable:'#6FA36B',bready:'#C7A06A',odorless:'#9AA4AC',
1110-
onion:'#B7A64B',neroli:'#F0A5A0',aldehydic:'#E8C070',animalic:'#8A6B5A',amber:'#C08A4E',leathery:'#6E5544',powdery:'#D9C6D0',resinous:'#7A8B5A',terpenic:'#6B9E5A',ozonic:'#6FC2C4',hyacinth:'#8FC46A',cooling:'#6FD0C0',metallic:'#9BB0BE',lactonic:'#E3C99A',popcorn:'#D9B87A',celery:'#A8C46A',maple:'#B5773A',chamomile:'#E8D888',tobacco:'#8A6B4A',carnation:'#D9607A',mimosa:'#E8D77A',magnolia:'#E6E29A',narcissus:'#E0C878',saffron:'#E0700E',tuberose:'#EBA9C0',gardenia:'#E8C9D6',ylang:'#D9A6C4',lilac:'#C9A6D6',osmanthus:'#E8B48A',geranium:'#D77A8E',eucalyptus:'#5FA98A',corky:'#8A8A6E',violet_leaf:'#7DB36A',fir:'#3E7A5A',oakmoss:'#6E7A4A',vetiver:'#7A6B4A',patchouli:'#8A5A3A',sandalwood:'#C9A87A',cedarwood:'#9C6B4A',cognac:'#A85A2E',grapefruit:'#E8846A',bergamot:'#C8D45A',mandarin:'#EE9A2E',lime:'#8FC44A',yuzu:'#D4D46A',honeysuckle:'#E8C86A',freesia:'#E0D0A0',cyclamen:'#D98AB0',linden:'#C8D488',coriander:'#9DBE6A',cumin:'#B5883A',passionfruit:'#E0C84A',rosemary:'#5A8A6A',black_pepper:'#6E5A4A',nutmeg:'#A8703A',sage:'#8AA07A',thyme:'#7A9A5A',oregano:'#8A9A4A',mustard:'#D9C84A',pineapple:'#EBD24A',strawberry:'#E0506A',raspberry:'#C0396B',myrrh:'#8A6B4E',frankincense:'#B0A07A',musty:'#8AA07A',hazelnut:'#C6B07A',blueberry:'#C08A6A',guava:'#9AA6B0',juniper:'#C6B07A',allspice:'#B0A07A',dill:'#8AA07A',tomato:'#C08A6A',fig:'#C08A6A',mango:'#B0A07A',champaca:'#C6B07A',styrax:'#8AA07A',davana:'#B0A07A',truffle:'#8AA07A',clary_sage:'#C08A6A',opoponax:'#8AA07A',turmeric:'#9AA6B0',costus:'#C6B07A',elemi:'#9AA6B0',labdanum:'#C6B07A',};
1110+
onion:'#B7A64B',neroli:'#F0A5A0',aldehydic:'#E8C070',animalic:'#8A6B5A',amber:'#C08A4E',leathery:'#6E5544',powdery:'#D9C6D0',resinous:'#7A8B5A',terpenic:'#6B9E5A',ozonic:'#6FC2C4',hyacinth:'#8FC46A',cooling:'#6FD0C0',metallic:'#9BB0BE',lactonic:'#E3C99A',popcorn:'#D9B87A',celery:'#A8C46A',maple:'#B5773A',chamomile:'#E8D888',tobacco:'#8A6B4A',carnation:'#D9607A',mimosa:'#E8D77A',magnolia:'#E6E29A',narcissus:'#E0C878',saffron:'#E0700E',tuberose:'#EBA9C0',gardenia:'#E8C9D6',ylang:'#D9A6C4',lilac:'#C9A6D6',osmanthus:'#E8B48A',geranium:'#D77A8E',eucalyptus:'#5FA98A',corky:'#8A8A6E',violetleaf:'#7DB36A',fir:'#3E7A5A',oakmoss:'#6E7A4A',vetiver:'#7A6B4A',patchouli:'#8A5A3A',sandalwood:'#C9A87A',cedarwood:'#9C6B4A',cognac:'#A85A2E',grapefruit:'#E8846A',bergamot:'#C8D45A',mandarin:'#EE9A2E',lime:'#8FC44A',yuzu:'#D4D46A',honeysuckle:'#E8C86A',freesia:'#E0D0A0',cyclamen:'#D98AB0',linden:'#C8D488',coriander:'#9DBE6A',cumin:'#B5883A',passionfruit:'#E0C84A',rosemary:'#5A8A6A',blackpepper:'#6E5A4A',nutmeg:'#A8703A',sage:'#8AA07A',thyme:'#7A9A5A',oregano:'#8A9A4A',mustard:'#D9C84A',pineapple:'#EBD24A',strawberry:'#E0506A',raspberry:'#C0396B',myrrh:'#8A6B4E',frankincense:'#B0A07A',musty:'#8AA07A',hazelnut:'#C6B07A',blueberry:'#C08A6A',guava:'#9AA6B0',juniper:'#C6B07A',allspice:'#B0A07A',dill:'#8AA07A',tomato:'#C08A6A',fig:'#C08A6A',mango:'#B0A07A',champaca:'#C6B07A',styrax:'#8AA07A',davana:'#B0A07A',truffle:'#8AA07A',clarysage:'#C08A6A',opoponax:'#8AA07A',turmeric:'#9AA6B0',costus:'#C6B07A',elemi:'#9AA6B0',labdanum:'#C6B07A',};
11111111
const aromaColor = n => AROMA_COLORS[n] || 'var(--aroma)';
11121112

11131113
const $ = id => document.getElementById(id);
@@ -1267,7 +1267,7 @@ <h4>Software &amp; type</h4>
12671267
mandarin:'mandarin / tangerine β€” sinensals over citrus terpenes',
12681268
honeysuckle:'honeysuckle β€” nectar floral (hotrienol, jasmine lactone); marginal (0.74)',
12691269
freesia:'freesia β€” soft ionone-green floral',
1270-
violet_leaf:'violet leaf β€” green-cucumber (methyl octine carbonate, 2,6-nonadienal); distinct from powdery violet',
1270+
violetleaf:'violet leaf β€” green-cucumber (methyl octine carbonate, 2,6-nonadienal); distinct from powdery violet',
12711271
oakmoss:'oakmoss β€” mossy orcinol / orsellinate esters (fragrance; atranol restricted)',
12721272
patchouli:'patchouli β€” camphoraceous-woody (patchoulol, patchoulenes)',
12731273
linden:'linden / lime-blossom β€” honeyed floral (farnesol, decadienal); marginal (0.81)',
@@ -1283,7 +1283,7 @@ <h4>Software &amp; type</h4>
12831283
strawberry:'strawberry β€” furaneol &amp; fruity esters; marginal (0.78)',
12841284
cumin:'cumin β€” cuminaldehyde &amp; cymene terpenes',
12851285
rosemary:'rosemary β€” cineole / camphor / verbenone herb',
1286-
black_pepper:'black pepper β€” rotundone &amp; peppery sesquiterpenes',
1286+
blackpepper:'black pepper β€” rotundone &amp; peppery sesquiterpenes',
12871287
nutmeg:'nutmeg / mace β€” myristicin &amp; terpene spice',
12881288
thyme:'thyme β€” thymol / carvacrol phenolic herb',
12891289
oregano:'oregano / marjoram β€” carvacrol &amp; thymol',
@@ -1306,7 +1306,7 @@ <h4>Software &amp; type</h4>
13061306
styrax:'styrax / storax β€” cinnamate esters (sweet-balsamic)',
13071307
davana:'davana β€” davanone &amp; davana ether (fruity-balsamic; narrow scaffold)',
13081308
truffle:'truffle β€” dimethyl-polysulfides &amp; dithiapentane (savoury-sulfurous)',
1309-
clary_sage:'clary sage β€” sclareol / linalyl acetate (amber-herbal)',
1309+
clarysage:'clary sage β€” sclareol / linalyl acetate (amber-herbal)',
13101310
opoponax:'opoponax β€” bisabolene &amp; santalol resins',
13111311
turmeric:'turmeric β€” ar-turmerone &amp; curcuma sesquiterpenes',
13121312
costus:'costus β€” costunolide &amp; sesquiterpene lactones',
@@ -1773,7 +1773,7 @@ <h4>Software &amp; type</h4>
17731773
// aroma head shows, even if the current map has few or zero of one (e.g. salty).
17741774
const TASTE_CLASSES = ['sweet','bitter','umami','sour','salty','tasteless'];
17751775
// all trained aroma heads β€” keep in sync with aroma_models/ (see docs/AROMA-AUDIT.md)
1776-
const AROMA_HEADS = ['odorless','pungent','sweet','ammoniacal','fruity','ethereal','phenolic','sulfurous','floral','acidic','garlic','fishy','gardenia','camphor','terpenic','fatty','almond','champaca','minty','ylang','spicy','petroleum','honeysuckle','cherry','jasmine','earthy','grassy','aldehydic','resinous','fresh','grape','berry','putrid','animalic','powdery','raspberry','orange','muguet','waxy','alcoholic','leathery','hyacinth','citrus','herbal','meaty','musky','geranium','wintergreen','green','woody','pine','winey','burnt','ozonic','saffron','oakmoss','mustard','pineapple','styrax','tropical','lavender','rose','nutty','anise','cheesy','creamy','soapy','amber','lactonic','popcorn','sandalwood','strawberry','neroli','magnolia','vanilla','balsamic','smoky','banana','vegetable','bready','cooling','celery','grapefruit','hazelnut','davana','truffle','clary_sage','melon','mushroom','cassis','fennel','buttery','onion','coconut','apple','coffee','maple','carnation','mimosa','corky','bergamot','mandarin','freesia','cumin','rosemary','black_pepper','nutmeg','thyme','oregano','myrrh','blueberry','guava','juniper','allspice','dill','opoponax','peach','violet','ginger','hay','tonka','caramel','rancid','medicinal','honey','clove','cinnamon','tarry','metallic','chamomile','violet_leaf','patchouli','linden','coriander','frankincense','mango','tomato','turmeric','costus','pear','apricot','malty','marine','cardamom','plum','tea','elderflower','cocoa','lilac','osmanthus','eucalyptus','tobacco','narcissus','fir','vetiver','cedarwood','cognac','lime','yuzu','cyclamen','passionfruit','sage','elemi','labdanum'];
1776+
const AROMA_HEADS = ['odorless','pungent','sweet','ammoniacal','fruity','ethereal','phenolic','sulfurous','floral','acidic','garlic','fishy','gardenia','camphor','terpenic','fatty','almond','champaca','minty','ylang','spicy','petroleum','honeysuckle','cherry','jasmine','earthy','grassy','aldehydic','resinous','fresh','grape','berry','putrid','animalic','powdery','raspberry','orange','muguet','waxy','alcoholic','leathery','hyacinth','citrus','herbal','meaty','musky','geranium','wintergreen','green','woody','pine','winey','burnt','ozonic','saffron','oakmoss','mustard','pineapple','styrax','tropical','lavender','rose','nutty','anise','cheesy','creamy','soapy','amber','lactonic','popcorn','sandalwood','strawberry','neroli','magnolia','vanilla','balsamic','smoky','banana','vegetable','bready','cooling','celery','grapefruit','hazelnut','davana','truffle','clarysage','melon','mushroom','cassis','fennel','buttery','onion','coconut','apple','coffee','maple','carnation','mimosa','corky','bergamot','mandarin','freesia','cumin','rosemary','blackpepper','nutmeg','thyme','oregano','myrrh','blueberry','guava','juniper','allspice','dill','opoponax','peach','violet','ginger','hay','tonka','caramel','rancid','medicinal','honey','clove','cinnamon','tarry','metallic','chamomile','violetleaf','patchouli','linden','coriander','frankincense','mango','tomato','turmeric','costus','pear','apricot','malty','marine','cardamom','plum','tea','elderflower','cocoa','lilac','osmanthus','eucalyptus','tobacco','narcissus','fir','vetiver','cedarwood','cognac','lime','yuzu','cyclamen','passionfruit','sage','elemi','labdanum'];
17771777
function legendClasses(){
17781778
if(_mapColorBy==='aroma') return AROMA_HEADS;
17791779
if(_mapColorBy==='both') return TASTE_CLASSES.concat(AROMA_HEADS);

0 commit comments

Comments
Β (0)