refactor(parser): extract line classifier #91
Labels
No labels
area:backend
area:frontend
area:infra
area:ocr
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
phase:M1
phase:M2
phase:M3
phase:M4
phase:M5
phase:M6
phase:M7
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
TJC/bill-splitter#91
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Parent: #77 (Phase A, step 3). Invariants live in the epic.
Extract line classification into its own component.
Anchors
ReceiptParser.cs:293-317-IsSubtotal,IsItemCount,IsCategoryRollup,IsTax,IsTaxBreakdown,IsTip,IsService,IsTotal,IsPaymentNoise.CategoryRollup()(42),ItemCount()(73),ServiceLabel()(48).Steps
ILineClassifier+KeywordClassifierinParsing/Classification,mapping a line to
LineType.LineTypein place of the inline helper calls atReceiptParser.cs:121and139-195.Done
Parse.