######################## README ############################# @author: Yash Pradhan - ypp170130 The uploaded folder "HW4_Yash Pradhan" contains following: 1. readme.txt file 2. SimplifiedLesk.py containing code 3. "HW4_Yash Pradhan.pdf" containing solutions to questions that require hand computation. Instructions about executing the code: File: SimplifiedLesk.py Language: Python NOTE: The sentence and word are provided in the code. Sample Run: > python SimplifiedLesk.py Sample Output: Synset('bank.n.01') Definition: sloping land (especially the slope beside a body of water) Overlap: 1 Synset('depository_financial_institution.n.01') Definition: a financial institution that accepts deposits and channels the money into lending activities Overlap: 3 Synset('bank.n.03') Definition: a long ridge or pile Overlap: 1 Synset('bank.n.04') Definition: an arrangement of similar objects in a row or in tiers Overlap: 1 Synset('bank.n.05') Definition: a supply or stock held in reserve for future use (especially in emergencies) Overlap: 1 Synset('bank.n.06') Definition: the funds held by a gambling house or the dealer in some gambling games Overlap: 1 Synset('bank.n.07') Definition: a slope in the turn of a road or track; the outside is higher than the inside in order to reduce the effects of centrifugal force Overlap: 0 Synset('savings_bank.n.02') Definition: a container (usually with a slot in the top) for keeping money at home Overlap: 1 Synset('bank.n.09') Definition: a building in which the business of banking transacted Overlap: 1 Synset('bank.n.10') Definition: a flight maneuver; aircraft tips laterally about its longitudinal axis (especially in turning) Overlap: 1 Synset('bank.v.01') Definition: tip laterally Overlap: 1 Synset('bank.v.02') Definition: enclose with a bank Overlap: 1 Synset('bank.v.03') Definition: do business with a bank or keep an account at a bank Overlap: 1 Synset('bank.v.04') Definition: act as the banker in a game or in gambling Overlap: 0 Synset('bank.v.05') Definition: be in the banking business Overlap: 0 Synset('deposit.v.02') Definition: put into a bank account Overlap: 2 Synset('bank.v.07') Definition: cover with ashes so to control the rate of burning Overlap: 2 Synset('trust.v.01') Definition: have confidence or faith in Overlap: 1 Best Sense by Simplified Lesk: Sentence: The bank can guarantee deposits will eventually cover future tuition costs because it invests in adjustable-rate mortgage securities. word: bank Synset('depository_financial_institution.n.01') Max Overlap: 3 Definition: a financial institution that accepts deposits and channels the money into lending activities Example 1 : he cashed a check at the bank Example 2 : that bank holds the mortgage on my home ######### END OF SAMPLE OUTPUT ################# The file "HW4_Yash Pradhan.pdf" has the solutions to problems solved by hand. Q1. Statistical Parsing Q2. Thematic Role Labelling