pino-source-code / scripts /parse_poucher_profiles.md
mattbitzesty's picture
feat(literature): add structured Poucher odour profile parser
73075a8 unverified
|
Raw History Blame
679 Bytes
# Poucher structured odour profile parser
`parse_poucher_profiles.py` extracts Poucher's `Odour classification` blocks
into structured volatility profiles:
- `top`: materials with Poucher coefficients 1-14
- `middle`: materials with coefficients 15-60
- `base`: materials with coefficients 61+
- `overall`: prose / compounding notes from the page
Usage:
```bash
python scripts/parse_poucher_profiles.py \
--input /path/to/literature_pages.jsonl \
--output data/literature_profiles_poucher.jsonl
```
Generated artifacts (kept out of git; upload to HF dataset repo):
- `data/literature_profiles_poucher.jsonl`
- `data/literature_formulas_poucher_with_profiles.jsonl`