Skip to content

The project is a Ruby script which takes an input of a 10 digit phone number and converts into meaningful words by performing keypad's letter combinations against a dictionary file

License

Notifications You must be signed in to change notification settings

murtazabasrai/phone-number-to-words-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phone Number To Words Converter

The project is a Ruby script which takes an input of a 10 digit phone number and converts into meaningful words by performing keypad's letter combinations against a dictionary file

Contents

  • Assumptions
  • Installation
  • Execution
  • Output Screens

Assumptions

  • Number should be 10 digits
  • Number should not contain 0 & 1 digits
  • The matching word's length is atleast 3 characters
  • This application is using a standard keypad

Installation

Execution

  • Run the program: ruby lib/converter.rb
  • Run the tests: rspec spec --format documentation

Output screen

Program Output

Test Output

About

The project is a Ruby script which takes an input of a 10 digit phone number and converts into meaningful words by performing keypad's letter combinations against a dictionary file

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages