subject

Write the required functions and script that prompts the user to enter the the names of any number of text files; reads these text files (creating one special semantic dictionary); optionally prints the dictionary in a special form; prompts the user to enter the name of a file containing a series of synonym problems (given a word, which of a series of words is its best synonym); then uses the semantic dictionary to try to solve each synonym problem, printing the results of each problem in a special form, and finally printing the percentage of problems that it solved correctly. The program will read the text file(s) to learn which words are similar to which others: each word in the semantic dictionary is associated with a context dictionary storing the words that appear in the same sentences (and how often they appear in the same sentences). The program will use a metric function to determine how similar any two words are by comparing their context dictionaries. By this process, the program can determine whether two words are more or less likely to be synonyms.

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 08:30, sofigaviria05
All of these are true about using adhesive except: a. dissimilar materials can be joined. b. mixing tips are product and material specific. c. a specific application gun may be required. d. two-part adhesives are dispensed using two mixing tips
Answers: 3
image
Computers and Technology, 25.06.2019 06:00, DASASDAEDWEDA
Sam needs to create a spreadsheet for his coworkers. they will need to follow a crossed a long road of data. sam would like to make his spreadsheet easy to read. sam should
Answers: 1
image
Computers and Technology, 25.06.2019 06:30, yushan2751
During which stage do you think is the best time for a company to purchase an emerging technology
Answers: 1
image
Computers and Technology, 25.06.2019 07:20, genyjoannerubiera
Acompany's intranet is set up on this type of server. application communication print web
Answers: 1
You know the right answer?
Write the required functions and script that prompts the user to enter the the names of any number o...

Questions in other subjects: