Week 10 Homework
LIRI is like iPhone’s SIRI. However, while SIRI is a Speech Interpretation and Recognition Interface, LIRI is a Language Interpretation and Recognition Interface. LIRI will be a command line node app that takes in parameters and gives you back data.
This app can take in one of the following commands:
concert-this
spotify-this-song
movie-this
do-what-it-says
node liri.js concert-this <artist/band name here>
EXAMPLE:
node liri.js spotify-this-song '<song name here>'
If no song is provided then your program will default to “The Sign” by Ace of Base.
EXAMPLE:
node liri.js movie-this '<movie name here>'
If the user doesn’t type a movie in, the program will output data for the movie ‘Mr. Nobody.’
EXAMPLE:
node liri.js do-what-it-says
fs
Node package, LIRI will take the text inside of random.txt and then use it to call one of LIRI’s commands.