Your solution MUST be submitted by 3:20 PM EST Friday March 25, 2022.
Late penalties will be incurred for solutions submitted after 3:20 PM
(20% deduction for each 5 minutes late with a maximum late time of 25 minutes).
Solutions submitted 25 or more minutes will be worth 0.
Specifications:
Provide a complete solution to the following problem using the Python
programming language.
READ THE ENTIRE QUESTION (AND THE EXAMPLE) CAREFULLY BEFORE DEVELOPING
YOUR SOLUTION!
PART A:
Write the code for a Python function named "extractAndConvert" that
removes the Nth occurrence of a given word in a list and returns the
a dictionary such that all remaining words are converted so that
each word begins with an initial capital letter and all other
characters in the word are converted to lowercase.
The dictionary keys will consist of the words and each key's value
will consist of the length of each word.
For example, given a list of:
items = [ "wISdoM", "FASCINATION", "BEginS", "in", "wonDEr" ]
Then the function call:
result = extractAndConvert(items, 4)
removes the word "in" from the list and returns a dictionary as:
{ "Wisdom":6, "Fascination":11, "Begins":6, "Wonder":6 }
(6 marks).
PART B:
The file "[login to view URL]" (see link below) contains lists
of words and their definitions (one per line) such that the
colon character ':' separates the word from its definition.
The file contains 3459 lines.
LINK to FILE: [login to view URL]
sample records in the file: [login to view URL]
==========================================
abduco : to lead, or take away / detach, withdraw.
abeo : to go away, retire / depart from life, die.
abeo : to digress / change / vanish, disappear.
abscido : to cut off, to separate, take away.
absconditus : hidden, concealed.
abutor : to make full use of, to abuse.
abutor : to use abusive language / use a word incorrectly.
saepius sepius : often, frequently, repeatedly.
Write the code for a Python function called "readAncient" that
accepts a string containing the name of a file and a word to search for
and then searches through the file for that word
(case insensitively; i.e. case does NOT matter).
If the word is found, the function displays the word AND its definition
as output:
WORD=>DEFINITION
For example, given the list of sample words above, the function
call:
readAncient("[login to view URL]", "abscido")
would display:
abscido=>to cut off, to separate, take away.
If the dictionary contains multiple entries for the word, then your
program would display ALL such entries.
For example, given the list of sample words above, the function
call:
readAncient("[login to view URL]", "abutor")
would display:
abutor=>to make full use of, to abuse.
abutor=>to use abusive language / use a word incorrectly.
You MUST test your solutions with the following words:
word: lines matched
abbatia (1)
abutor (2)
acervus (1)
admiror (1)
causa (3)
prosum (3)
quorum (2)
sepius (1)
veritas (1)
Your solution MUST make use of exception handling (14 marks).
TIME PERMITTED: 1 hour and 50 minutes.
Hi Mate,
I am a professional developer with 5+ years of quality experience in Python Development. I have gone through your requirement and understood every aspect of them. I am interested to work on this project.
EXPERTISE:
Python, Django - Flask web development, ChatBot, Image classification-Processing, Sentimental analysis, Artificial Intelligence, Machine Learning, Computer Vision, Object Detection, Object Tracking, Image Processing. Data Science, Data Analytics, Natural Language Processing (NLP), Optical Character Recognition.
Looking forward to your earliest reply.
Thank you.
Virang Patel
Hello Jayrajthakkar111,
We have 20 years of strong experience in Python, Software Architecture, as a result, we can successfully complete this project.
Please, review our profile here: https://www.freelancer.com/u/tangramua
Here detailed information about our company, our portfolio, and the client's recent reviews.
Also, we wanted to personally discuss questions about your project, which helps us to give you the right estimation.
Best regards,
Tangram Canada Inc.
Hi there. I am a fully experienced Python script developer. I've complete lots of similar projects using python. I will provide high-quality results in time. I'd like to know more about the project. I can start your project soon. Thank you.
⭐ C/C++/Python/Java Expert⭐
Hello.
I am very familiar with C/C++/Python/Java languages.
I noticed that I am suitable to your project.
When do you need this finished by ?
I can start it right now.
Thank you for your attention.
Hello, I am a data science engineer, I'm a Python and DL addict, I'm specialized in Artificial Intelligence, Machine Learning, Deep Learning, NLP and Computer Vision... I'm currently a ML and DL engineer in the medical field. I'm invinting you to visit my profil for more information.
I can do an excellent work in a short time, while waiting for more information from you, I hope we can work together !
Accept and you will never regret it ;)
Hello sir, I am an expert in Python. I can help you solve this task as required and in the specified deadline.
Please contact me for more details.
Best regards!
Hi ,
I am an experienced Python programmer with 5 years of experience is software and web development, design and implementation.
I can deliver well within your budget and deadline.
I'm willing to work in your time zone.
Looking forward to your response
I am Ring. I am about 19+ years experienced in GNU/Linux based system, server installation and customization, develop, deploy, security and support. I may help you in this regard.
"Python Code experts available"
Hello!
Our team read your project after confirmation by experts then we bid this project we can do it professionally.
If you want so we can discuss on chat!
Thank you!
Hello,
I am a data science engineer, I'm a Python and DL addict, I'm specialized in Artificial Intelligence, Machine Learning, Deep Learning, NLP and Computer Vision... I'm currently a ML and DL engineer in the medical field.
I can do an excellent work in a short time, while waiting for more information from you, I hope we can work together !
Accept and you will never regret it ;)
Hi, It is easy, I can do on time. I work online, where you can track progress of your project. I have 6 years of experience in development(websites, web applications, mobile apps, desktop applications, I/UX), using PHP, WordPress, Java, Python, JavaScript, ReactJs, Bootstrap, I can start now, please come to chat, to discuss more.