feat: Feature Observation data extraction for Nidus Notes dictation #156
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-155-feature-observation-parser-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What this PR does
Implements the Feature Observation data extraction model (Issue #155) for the Nidus Notes voice dictation system. This is the first of 9 planned observation types, built with an extensible trigger-word dispatch table architecture.
Parser (platform/dictation/)
Database
API Integration
Decision log
All trigger word decisions confirmed with @benjaminsperry (clarity: replaces organic:, connection:/connect: aliases, where: alias for origin, producing = provisional flag, denominator = total group quantity).
Closes #155
Implement the first observation type parser for Nidus Notes dictation. Uses an extensible trigger-word dispatch table architecture supporting 9 planned observation types through registration of new trigger routes. Parser features: - Tokenizer segments "property: value" pairs from raw transcription - Bare text fallback for implicit habitat declarations ("feature: bucket") - 47-value habitat enum with alias/synonym matching - 17-value origin, 9-value land use, clarity (renamed from organic), flow, connectivity, and vegetation enums - Water status parser with proportion support ("4 wet 11 dry", "all wet") - Size dimension parser (length×width×depth, diameter, unit hints) - Group declaration ("feature: plant saucer group") + auto-group by qty>1 - Provisional flag for producing mentions during Feature observation - Post-processing pass for habitat-dependent unit resolution - Raw text preservation for all values to enable future analysis Implements the architectural decisions confirmed in issue #155: - "clarity:" replaces "organic:" to avoid phoneme collision with "origin" - "where:" alias for origin ("source" reserved for Nidus meaning) - "conn:" alias for connectivity - Denominator convention: producingProportion always / total quantity - All "all wet"/"all dry" as syntactic sugar for proportion 1.0This isn't the right way to go. I'll explain on the issue.
Noted, Eli. I see you closed PR #156 — I will hold off on any changes here until you have had a chance to explain on the issue. In the meantime, I picked up Nidus-iOS issue #1 (PR #2 with the knowledge graph documentation is up) and your comment there should help clarify where you want things to go. Holler when you are ready to discuss the new direction.
Pull request closed