Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please include a snap of the code in the program ;-) thank you. The EnglishWords.txt file is provided and contains this(and more words): This word

Please include a snap of the code in the program ;-) thank you.image text in transcribed

image text in transcribed

The EnglishWords.txt file is provided and contains this(and more words):

This word list is derived from the Princeton WordNet. Please refer to the copyright notice and statements. 00-database-url http://www.cogsci.princeton.edu/~wn/ 00-database-short WordNet (r) 1.7 00-database-long WordNet (r): A Lexical Database for English from the Cognitive Science Laboratory at Princeton University 00-database-info This file was converted from the original database on: Sat Jun 23 14:21:23 2001

The original data is available from: http://www.cogsci.princeton.edu/~wn/ The original data was distributed with the notice shown below. No additional restrictions are claimed. Please redistribute this changed version under the same conditions and restriction that apply to the original version. This software and database is being provided to you, the LICENSEE, by Princeton University under the following license. By obtaining, using and/or copying this software and database, you agree that you have read, understood, and will comply with these terms and conditions.: Permission to use, copy, modify and distribute this software and database and its documentation for any purpose and without fee or royalty is hereby granted, provided that you agree to comply with the following copyright notice and statements, including the disclaimer, and that the same appear on ALL copies of the software, database and documentation, including modifications that you make for internal use or for distribution. WordNet 1.7 Copyright 2001 by Princeton University. All rights reserved. THIS SOFTWARE AND DATABASE IS PROVIDED "AS IS" AND PRINCETON UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PRINCETON UNIVERSITY MAKES NO REPRESENTATIONS OR WARRANTIES OF MERCHANT- ABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE, DATABASE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. The name of Princeton University or Princeton may not be used in advertising or publicity pertaining to distribution of the software and/or database. Title to copyright in this software, database and any associated documentation shall at all times remain with Princeton University and LICENSEE agrees to preserve same. START clobber transversalis squinter cunner damson extrovertive absorptive polity disburser mechanistic agranulosis unresisting mercuric skysail costate seediness acetylene veterinarian etherify ectozoa comedy thrombus problem narrative excretion hypoactive newspaperman cement busy mycobacterium stye cockatoo piercing practicable awlwort spillikin coital square coupon alphabetical overspend cenotaph fiddler unfolding formatting disgracefulness shrinkage candied henceforth briary gimel ponderous interact somersault defecator dreamily blissful cladogram subjugation thereinafter spearfish carnage rapacious lxxxii ongoing skittishly unsaleable protractor krummhorn bosomy unfaithfulness diuretic germanium inga attractiveness henroost bagascosis shmear unexacting metagrabolised drily unwebbed tineid ballerina arborolatry toucan measurably chicory moneyer fraternisation alphabetizer liothyronine harper supercritical gravimeter patchcord periosteum isoniazid unprejudiced subscribe rondo practician erythrina absentee riflebird instroke officialize unowned crosshatch tripling paraphrase salient mannequin pug denim tin neutralised antiphonary vasovasostomy invigoration laziness name affray stonework saltbox malleable derail polyandry toxaemia grand hawse comport vomitus turbidity hagberry spooky blending gouache stumbling traveller agalactosis sonography fetology chordal pentagram cardinalate cyan obviate glacier agonistic indubitably mince hoopoe thrall mammothermography thallus mithan porphyrin speedup dissonate broadtail osteosclerosis astonishing ruble occupational mobility presentational assonate drygoods peninsular comal watercourse hemolytic reviewer interlope beingness sandstorm acaudal alehouse humanization heirloom cyclopaedia timorousness concentrated bichloride cutely kyphotic needlework maltha lightsome unregistered primp overheating pilaw traitorously f torturesome gaol hadal riddance sottishly poisonous cinema outstroke crease cicatrice cesspool aquaphobic congregating disputatiously impact hereto carom lessening lignite admissible adscript buckeye angiotonin acquiescent cliquishly dumbwaiter burning forbidden furrier swishing unsavoriness overlie generate aciduric harquebus stomper sooty reawaken shot linden laparoscopy osteoblastoma allegro hinderingly fossilise wittily italicize distracted reattribute dud unadapted thermal prize mutinous centralise kumquat teemingness caveat lollipop show kaoliang purpose assagai perdurable tegument tobogganist adrenocortical barometer mule booklet interpretative porousness flavorsome toupeed scarper formed cunnilinctus hitter contemplate parenthetical alloy apiary transference battledore nonsynchronous permeation seasonableness disembarrassment lynching crenel coelenteron insouciance presbytery interlineal belemnite xciii resolvable glaciate

Write a program called'anagramsets.py that asks the user to enter a word length and a filename. The program will search the 'EnglishWords.txt' file (of question 1) for sets of words that are that length and are anagrams of each other, and will write the results to a file with the given filename. Sample User I/O: Set Search **Anagram Enter word length: 12 Searching... Enter file name: twelve.txt Writing results... Expected output to 'twelve.txt': ['abolitionism', 'mobilisation' I'accouterment' 'accoutrement' ['alterability,'bilaterality'] I'amphitheater', 'amphitheatre']

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases A Beginners Guide

Authors: Andy Oppel

1st Edition

007160846X, 978-0071608466

More Books

Students also viewed these Databases questions

Question

What is? a. A 10-K b. A 10-Q c. An 8-K

Answered: 1 week ago

Question

=+2 How does the preparation and support for each type of IE vary?

Answered: 1 week ago

Question

=+What is the extent of the use of each type of IE?

Answered: 1 week ago