Skip to content

aditi184/Written-to-Spoken-Text-Conversion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Written To Spoken Text Conversion

A rule-based NLP engine is designed for converting written text to spoken text. This is part of Natural Language Processing course taken by Prof Mausam. Some examples of the text conversion:

  1. All abbreviations are separated as they are spoken. Example, “U.S.” or “US” is converted to “u s”.
  2. All dates are converted into words. Example, “29 March 2012” will be converted to “the twenty ninth of march twenty twelve”. “2011-01-25” will be converted to “the twenty fifth of january twenty eleven”.
  3. All times are converted into words. Example, “04:40 PM” is converted to “four forty p m”. “21:30:12” is converted to “twenty one hours thirty minutes and twelve seconds”
  4. Currency is also spelled out. “$15.24” is converted to “fifteen dollars and twenty four cents”. “£11” is converted to “eleven pounds”.

Running Mode

Predictions

python run.py --input_path <path_to_input> --solution_path <path_to_solution>

Testing

python test.py --ground_truth_path <path_to_ground_truth> --solution_path <path_to_solution>

About

A rule-based NLP system for written-to-spoken text conversion.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages