https://github.com/muhammadshavaiz/verbanum
VerbaNum is a tool that converts numbers from English words to French using finite state automata (FSA) for processing. It features a Tkinter-based graphical interface for user-friendly interaction. The tool first converts English words to Arabic numerals and then translates them into French.
https://github.com/muhammadshavaiz/verbanum
Last synced: over 1 year ago
JSON representation
VerbaNum is a tool that converts numbers from English words to French using finite state automata (FSA) for processing. It features a Tkinter-based graphical interface for user-friendly interaction. The tool first converts English words to Arabic numerals and then translates them into French.
- Host: GitHub
- URL: https://github.com/muhammadshavaiz/verbanum
- Owner: MuhammadShavaiz
- Created: 2025-01-23T18:46:05.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T18:55:01.000Z (over 1 year ago)
- Last Synced: 2025-01-23T19:37:00.697Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# VerbaNum
VerbaNum is a Python tool that translates numbers from English words to French using finite state automata (FSA). It processes English words into Arabic numerals and converts them to French equivalents, handling numbers from 0 to 999.
## Features
- Converts English words to Arabic numerals (e.g., "ninety-nine" to 99).
- Translates Arabic numerals to French words (e.g., 99 to "quatre-vingt-dix-neuf").
- Handles invalid input gracefully.
## Usage
1. Run the program:
```bash
python main.py
```
2. Enter numbers in English words and get the output in French.
3. Type `quit` to exit.
## Example
**Input:**
```
ninety-nine
```
**Output:**
```
English: ninety-nine
Number: 99
French: quatre-vingt-dix-neuf
```
