Translating Japanese Numbers with Functional Programming
summary
Claims a working rewrite systems pipeline implemented in Scala implementation that turns mixed Japanese text (Arabic digits, kanji, English words) into a normalized entity stream so CAT tool checks can compare values. Handles months, imperial eras (example Heisei 3 → 1991), multi-digit composition, and large units like man and oku units (10,000 and 100,000,000) by staging intermediate case classes to ensure confluence and iterating to a fixed point. Demo reduces the flood of false positives and converges on correct numeric outputs.
AI-written summary · about
chapters (7)
- 0:00Introduction
- 2:33Japanese number translation issues
- 8:09Rewrite systems core concepts
- 13:08Implementing in Scala
- 19:54Kanji number handling
- 24:25Fixing non-confluent rules
- 27:40Results and future work
related talks
01h 00mWhat The Functional Programming
49mJava Functional Programming Idioms
47mSemi-Automated Direction-Driven Functional Conversion
01h 01mTransforming Data using the Functional API
41mFunctional Programming Without Succumbing to Fads
36mHow functional programming change my Java code
33mAnalyzing Functional Programs
54mLaziness, trampolines, monoids and other functional amenities
