Develop a program in C that reads texts from the user and breaks them down into words, sentences, and paragraphs.• A word consists of 1 or more consecutive letters (lowercase and uppercase)
• A sentence consists of 1 or more words (separated by spaces or other characters) ending with . or ! or ? or ;
• A paragraph consists of 1 or more sentences that end with a line shift character.
The program will continuously request commands from the user until it accepts the qt command that terminates the program.
The commands it can accept are:
• "ap:" After this command the program should read one paragraph (maximum length of 10000 characters) to parse it in
sentences and words and store it in appropriate structures in memory.
• “fw:” After this command the program should read one string (max 10000 characters long) and display the words containing the specific string inside them. Note: The program should display only once each word (even if this is repeated in the text).
• "fs:" After this command the program should read one string (up to 10000 characters long) and display them sentences containing the specific string inside them.
Note: In displaying suggestions the program should displays the words in the correct order (separated by exactly one space) and after a line shift character. The other characters probably given by the user will not be displayed.
• “fp:” After this command the program should read one string (up to 10000 characters long) and display them
paragraphs containing the specified string inside them.
Note: In displaying paragraphs the program should shows all sentences in this paragraph according to previous.
• "owf" The program should display all words in the text (each word will appear only once) sorted in descending order
the number of impressions of each word in the text. If 2 words have the same frequency of occurrence to be sorted by ascending order lexicographic series (first chapters after lowercase). Every word should appear along with its display number in [] (eg the [3], since the word had 3 times the text)
• "owl" The program should display all words in the text (each word will appear only once) sorted by ascending order
the length of each word. If 2 words are the same length as are sorted in ascending order (first chapters after lowercase). Each word should appear along with its length in [] (e.g. Graham [6], as the word is 6 letters long)
• “qt” The program should shut down.
Note: The program will run in a restricted environment
stack resources so you should use as much as possible
more dynamic memory management and avoid static matrices
HI..I am proficient in C/C++ programming with required data structures, algorithms and can help you complete the given text processing program as per given specs.
Hi There
I am a senior software engineer with 10 years of practical programming experience. I have excellent
programming and development skills in various programming languages and frameworks. I am interested
in your project. I will provide an efficient, robust and well documented solution with dedicated
support. I will anticipate to discuss the details to get started.
Thanks
Farah Saif
I am an Embedded Systems developer with good background in the C language.I have taken courses in C language including one course that talks about files and dynamic memory through coursera and did several projects.
Hi, I am a computer science graduate and expert in related topics. I have done multiple similar assigments. I could deliver your project in hours. please ping me for more details.
Hello Thanks for your posting. I am a senior developer so i can do it very easily if you want.I’ve read your job description carefully and I am very interested in your project. I am sure that I can finish this project of 100% result in short time with the reasonable budget
Hello. I'm a developer with experience in C and I can create this program for you in only 3 days for only 50 EUR. I'm waiting for your reply and I'm ready to start now.
Hello Sir,
I am a computer engineer and I have done similar projects like yours;
1- A console project that reads a ".doc" file and find all sentences that include a specific word in it. (working like Ctrl+F)
2- A console project that scans a ".csv" file of 2 million tweets and finds the most repeated 10 words
3- A console project that scans a ".csv" file of over 1.5 million orders lists and projects the least ordered products in total
etc.
All these projects included parsing the texts into characters, words and sentences. And your project includes finding characters in texts so I am experienced in these kind of projects.
I am kindly asking you to contact me to discuss your project in details.
Have a nice day :)
hi, I gone through your project description, it is very interesting and I will able to provide optimised solution within 3 days.
thanks and regards
Aditya.
Hi there, I would like to do this project for you. I am quite good at C and I am free the next days. Message me to discuss more details about your project.
I'll be waiting for the reply.
Thank you!!
I have worked at AxisRooms where I developed a system to recommend location by choices based on user's interests like Budget, Rating, Art & Culture, Sports and Hill Stations. I implemented KNN to predict the data patterns from the choices selected by the user
Movie Recommendation System (IMDB)
• Recommended movies based on the choice of an individual. Used supervised learning, K-nearest neighbors algorithm for predictions
• Used IMDB movie dataset containing 5000+ movies for training and achieved an accuracy of 93% when tested on 700 movie reviews