An API to convert words to numbers built in the W language: Rust. Fast, efficient, amazing. No disgusting LLMs, just pure, fast pattern matching! If you need LLMs use ai.hackclub.com!
An API to convert words to numbers built in the W language: Rust. Fast, efficient, amazing. No disgusting LLMs, just pure, fast pattern matching! If you need LLMs use ai.hackclub.com!
Now all numbers from 1-999 are supported! Took far too long debugging cuz there was a space at the start of the string past ‘and’ and it confused the code. Anyways fixed! 
Log in to leave a comment
I’m starting with logic to convert words to numbers first, then API stuff later. We can convert 1-10 and 10,20,30,40,50,60,70,80,90! I’ve selected these numbers as thankfully english just uses those again and again so if now I’ll split numbers like sixty-seven to convert separately, then add together to make 67!
Log in to leave a comment