精华内容
下载资源
问答
  • C++ 学习笔记10

    万次阅读 2019-02-01 15:25:13
    C++ 学习笔记10
                     

    Design and implement a simple spell checker.

     


    许多常用字处理软件都内置了拼写检查程序。请设计和实现自己的拼写检查程序。可以在程序中建立字典文件。

     

    dictionary.txt

    abandon abandonment abbreviation abeyance abide ability able abnormal aboard abolish abolition abortion abortive about above abreast abridge abroad abrogate abrogation abrupt abruptly absence absent absolute absolutely absorb absorption abstract abstraction absurd absurdity abundance abundant abuse abasement academic academy accede accelerate acceleration accent accept acceptable acceptance access accessible accessory accident accidental accidentally accommodate accommodation accompaniment accompany accomplish accomplishment accord accordance according accordingly account accountant accounting accrue accrued accumulate accumulation accumulative accuracy accurate accurately accusation accuse accustom ache aching achieve achievement acid acknowledge acknowledgment acquaint acquaintance acquaintant acquire acquisition acre acrobat acrobatics across act action activate active actively activity actor actress actual actuality actually acute ad adapt adaptation add addition additional additive address adequate adequately adhere adhesive adjacent adjective adjoin adjust adjustable adjustment administer administration administrative admirable admiration admire admission admit admittedly adolescence adolescent adopt adoption adore adorn adornment adult advance advanced advantage advantageous adventure adventurous adverb adverbial adversary adverse adversity advertise advertising advertisement advice advisable advise adviser advocate aerial aeroplane affair affect affection affectionate affiliate affirm affirmation affirmative afford affordable afloat aforesaid afraid africa african after afternoon afterward again against age agency agent aggravate aggravation aggregate aggregation aggression aggressive aggressor agitate agitation ago agonize agony agree agreeable agreeably agreed agreement agricultural agriculture ahead aid aids ailment aim aimless air aircraft airline airliner airmail airplane airport airway aisle ajar alarm alarming alas album alcohol alcoholic alcoholism ale alert algebra alien alienate alienation alignment alike alive all allergic allergy alliance allied allocate allocation allot allotment allow allowance alloy ally almost alone along alongside aloud alphabet also alter alternate alternation alternative although altitude altogether aluminum always amateur amaze amazement ambassador ambient ambiguity ambiguous ambition ambitious ambulance amend amendment amends america american amiable amicable amid ammunition among amount ampere ample amplification amplifier amplify amuse amusement analogue analogy analysis analytical analyze ancestor anchor ancient and anecdote angel anger angle angry angular animal animate animation ankle annex anniversary announce announcement announcer annoy annoyance annual annually another answer ant antagonism antagonist antarctic antibiotic antecedent anticipate anticipation antique antonym antonymous anxiety anxious anxiously any anybody anyhow anyone anything anyway anywhere apart apartment ape apologize apology apparatus apparent apparently appeal appealing appear appearance appendix appetite applaud applause apple appliance applicable applicant application apply appoint appointment appreciable appreciably appreciate appreciation appreciative apprentice apprize approach appropriate approval approve approximate approximately approximation april apt aptitude arab arabian arabic arbitrary arbitrate arbitration arbitrator arc arch archaeologist archaeology architect architecture arctic ardent arduous are area arena argue argument arise aristocracy aristocrat aristocratic arithmetic arm arms armchair armour army around arouse arrange arrangement array arrear arrest arrival arrive arrogance arrogant arrogantly arrow art article artificial artist artistic as ascend ascertain ascribe asean ash ashamed ashore ashtray asia asian aside ask asleep aspect aspirin ass assassinate assassination assassinator assault assemble assembly assert assertion assess assessment assign assignment assist assistance assistant associate associated association associative assorted assortment assume assumption assurance assure assured astonish astonishment astound astray astronaut astronomer astronomical astronomy at athlete athletic atlantic atlas atmosphere atmospheric atom atomic attach attachment attack attain attempt attend attendance attendant attention attentive attentively attic attitude attorney attract attraction attributable attribute attribution attributive auction audience auditorium august aunt aural auspice australia australian author authority authorization authorize autobiography automate automatic automation automobile autonomous autonomy autumn auxiliary avail availability available avenge avenue average averagely aviation avoid await awake awaken award aware away awe awesome awful awfully awkward awkwardly awkwardness ax axial axis axle baby bachelor back backbone backdate background backing backlog backward backwardness bacon bacterium bad badge badly badminton baffle bag baggage baggy bait bake baker bakery balance balcony bald ball ballet balloon ballooning pen ballroom bamboo banana band bandage bandit bang bank banker banking bankrupt banner banquet bar barber bare barely bargain barge bark barn barometer baron baroness barrel barren barrier barter base baseball basement basic basically basin basis basket basketball bat bath bathe bathroom batter battery battle bay bazaar be beach bead beak beam bean bear bearing bearish beast beat beautiful beauty because become bed bedroom bee beef beer beetle before beforehand beg beggar begin beginner beginning behalf behave behavior behind behindhand being belief believe bell belly belong beloved below belt bench bend beneath beneficial beneficiary benefit benevolence benevolent bent berry beside besides best bestow bet betray betrayal better between beverage beware bewilder beyond bias bible bicycle bid bidding big bike bill billion bind binding biographer biography biologist biology bird birth birthday birthplace biscuit bishop bit bite bitter bitterly bitterness black blackboard blacksmith blade blame blank blanket blast blaze bleach bleed blend bless blessing blind blink block blockage blond blood bloody bloom blossom blot blouse blow blue blunder blunt blush blushy board boarding boast boat body bodyguard boil boiler boiling bold boldness bolt bomb bomber bona fide bond bonded bone bony bonus book booking booklet bookcase bookshelf bookstore boom booming boost boot booth border bore boring born borrow borrowings bosom boss bossy both bother bottle bottom bough bounce bound boundary bourgeois bow bowl bowling box boxer boxing boy boycott brace bracket brag brain brake branch brand brandy brass brave bravely bravery brazil brazilian breach bread breadth break breakage breakdown breakthrough breakfast breast breath breathe breed breeze bribe bribery brick bride bridegroom bridge bridle brief briefing briefly bright brighten brightness brilliance brilliant brim bring brink brisk bristle britain british brittle broad broadcast broadcasting broaden brochure broken broker bronze brood brook broom brother brotherhood brow brown bruise brush brutal brute bubble bucket bud buddhism buddhist budget buffalo buffet bug bugle build builder building bulb bulk bulky bull bullet bulletin bullion bullish bump bumpy bunch bundle burden burdensome bureau bureaucracy bureaucratic burglar burglary burial burn burner burnt burst bury bus bush bushel business businesslike busy but butcher butchery butt butter butterfly button buy buyer buzz by bygone bypass cab cabbage cabin cabinet cable cafe cafeteria cage cake calculate calculation calculus calendar calf calibration call calm calmly calorie camel camera camp campaign camping campus can canada canadian canal canary cancel cancellation cancer candid candidate candle candy cane canned cannon canoe canon canteen canvas canvass cap capability capable capacity cape capita capital capitalism capitalist capitalization capitalize captain caption captive capture car caravan carbon card cardboard cardinal care career careful careless carelessness cargo carol carpenter carpet carriage carrier carrot carry cart carton cartoon cartridge carve carving case cash cashier cassette cast castle casual casualty cat catalog catastrophe catalyst catch category cater cathedral catholic cattle cause caution cautious cavalry cave cavern cavity cease ceiling celebrate celebration celery cell cellar cement cemetery censor censorship cent centigrade centimeter central center century cereal ceremonial ceremony certain certainly certainty certificate certification certify chain chair chairman chairperson chairwoman chalk challenge challenging chamber champion championship chance change changeable channel chaos chap chapter character characteristic characteristical characterize charcoal charge charity charm charming chart charter chase chat chatter cheap cheat cheating check cheek cheeky cheer cheerful cheese chemical chemist chemistry cheque cherish cherry chess chest chestnut chew chick chicken chief chiefly child childhood childish childlike chill chilly chimney chin china china chinese chip chocolate choice choke choose chop chorus christ christian christianity christmas church cif cigar cigarette cinema circle circular circuit circulate circulation circumference circumstance circus cite citizen citizenship city civil civilization civilize claim clamp clap clarify clarification clash clasp class classic classical classification classify classmate classroom clatter clause claw clay clean clear clearance clearly clench clerk clever cleverness client clientele cliff climate climax climb cling clinic clip cloak clock clockwise close closed close down closely closet cloth clothe clothes clothing cloud cloudy clown club clue clumsy cluster clutch coach coal coarse coast coastal coat cock cocktail code codify coefficient coffee coffin coherence coherent cohesion cohesive coil coin coinage coincide coincidence coincident coldness collaborate collaboration collapse collar colleague collect collection collective college collide collision colonel colonial colonist colonist colony color colorful colorless column columnist comb combat combination combine come comedian comedy comfort comfortable comic command commander commemorate commemoration commence commend commandment comment commerce commercial commission commit commitment committee commodity common commonly commonplace commonsense commonwealth commune communicate communication communicative communism communist community compact companion company comparable comparative comparatively compare comparison compass compatible compel compensate compensation compete competent competition competitive competitiveness competitor compile complain complaint complement complete completely completion complex complexity compliance complicate complicated compliment complimentary comply component componential compose composed composer composite composition compound comprehend comprehension comprehensive compress compression comprise compromise compels compulsory computation compute computer computerization computerize comrade conceal concede conceit conceited conceive concentrate concentrated concentration concept conception conceptive concern concerned concerning concert concerted concess concession concise conclude conclusion conclusive concrete concur concurrence concurrent condemn condemnation condensation condense condenser condition conditional conduce conducive conduct conduction conductor cone confer conference confess confession confide confidence confident confidential confine confinement confirm confirmation conflict conform conformity confront confrontation confuse confusion congestion congratulate congratulation congress congressman conjunction connect connection conquer conqueror conquest conscience conscientious conscientiously conscious consciousness consecutive consent consequence consequently conservation conservative consider considerable considerably considerate consideration consign consignment consist consistency consistent console consolidate consolidated consolidation consonant conspicuous conspiracy constable constant constantly constituent constitute constitution constitutive constraint construct construction construe consul consulate consult consultant consultation consume consumer consumption contact contain container contemplate contemplation contemporarian contemporary contempt contemptuous content contest contestant context contextual continent continental contingency continual continuance continue continuous continuously contract contracted contractual contradict contradiction contrary contrast contribute contribution control controversy controversial convenience convenient convention conventional conversant conversation converse conversely conversion convert convey conveyance convict conviction convince convinced cook cooker cool coolness cooperate cooperation cooperative coordinate coordination cope copper copy cord cordial cordially core cork corn corner corporate corporation correct correction correctly correlate correlation correspond correspondence correspondent corresponding corridor corrode corrosion corrupt corruption cosmetics cosmic cosmos cosmopolitan cost costly cottage cotton couch cough council counsel counsellor count countable countenance counter countermand countermeasure counterpart countersign countersignature countless country countryside county couple courage courageous course court courteous courtesy courtyard cousin cover coverage covering cow coward cowardly crab crack cracker cradle craft craftsman craftsmanship crane crash crate crave crawl craziness crazy cream creamy create creation creative creature credit creditworthy creditworthiness creek creep crew cricket crime criminal crimson cripple crisis crisp critic critical criticism criticize crook crooked crop cross crossing crossroads crouch crow crowd crown crude cruel cruelty cruise crumb crumble crush crust crutch cry crystal cube cubic cubism cuckoo cucumber cultivate cultivation cultural culture cunning cup cupboard curb cure curiosity curious curl curly currency current currently curse curtail curtain curve cushion custody custom customary customer customs cut cutlery cutter cutting cycle cyclist cylinder dacron dad dagger daily dainty dairy dam damage damn damp dance dancer danger dangerous danish denmark dare daring dark darken darkness darling dart dash data date dating daughter dawn day daybreak daylight daytime daze dazzle dazzling dead deadline deadly deaf deafen deal dealer dealing dean dear death deathly debate debit debt decade decay deceased deceit deceive deception deceitful december decency decent decide decided decidedly decimal decision decisive deck declaration declare decline declining decompose decorate decoration decorative decrease decree dedicate deduce deduct deduction deed deem deep deepen deeply deer default defeat defect defective defence defend defer defiance defiant deficiency deficient deficit define definite definitely definition definitive deflate deflect deflection deform deformation defray defy degradation degrade degree delay del credere delegate delegation delete deletion deliberate deliberately deliberation delicacy delicate delicious delight delightful delinquency delinquent deliver deliverance delivery delusion delusive demand demanding democracy democrat democratic demolish demolition demonstrate demonstration demurrage den denial denominate denomination denote denounce dense density dent dentist deny depart department departure depend dependability dependable dependant dependence dependent depict depiction deplete deposit deposition depreciate depreciation depress depressed depression deprive depth deputy derivation derive derrick descend descendant descent describe description desert deserve design designate designation designer desirable desire desk desolate desolation despair desperate desperation despise despite dessert destination destine destiny destroy destruction destructive detach detail detailed detain detect detection detective deteriorate deterioration determination determine detour detract detriment detrimental devaluation devalue develop developing development deviate deviation device devil devise devote devoted devotion devour dew diagnose diagnosis diagram dial dialect dialog diameter diamond diary dictate dictation dictator dictatorship diction dictionary die diesel diet differ difference different differential differently difficult difficulty dig digest digestion digit digital dignity dike dilute diligent dim dime dimension dimensional diminish dine dingy dinner dip diploma diplomacy diplomat diplomatic direct direction directive directly director directory dirt dirty disable disabled disadvantage disadvantageous disagree disagreement disallow disappear disappearance disappoint disappointed disappointment disapproval disaster disastrous disburse disbursement disc discard discern discharge disciplinary discipline disclaim disclose discomfort discomfortable discontinue discount discourage discourse discover discovery discreet discreetly discrepancy discretion discriminate discrimination discuss discussion disdain disease disgrace disgraceful disguise disgust disgustful dish dishonorable dishonor disillusion disinclined disinfectant disintegration dislike disloyal disloyalty dismal dismay dismiss dismissal disobey disorder disparity dispatch dispel dispense disperse displace displacement display displease displeasure disposal dispose disposed disposition dispute disregard dissatisfaction dissatisfy dissimilar dissipate dissolve distance distant distillation distinct distinction distinctly distinguish distinguished distort distortion distract distraction distress distribute distribution distributor distributorship district disturb disturbance disunite disuse ditch ditto dive diver diverge divergence diverse diversion diversity divert divide divine division divorce dizzy do dock doctor doctrine document documentary documentation dodge dog doggedly doll dollar domain dome domestic dominant dominate donate donation donkey doom door doorway dormitory dose dot double doubt doubtful doubtless dough dove down downstairs downtown downward downwards doze dozen draft drag dragon drain drainage drama dramatic dramatist dramatize drastic draw drawback drawer drawing dread dreadful dream dreary drench dress dressing drift drill drink drip drive driver droop drop dropout drought drown drug drugstore drum drunk drunkard dry dubious duck due duke dull duly dumb dummy dump dumping dung dungeon duplicate durable duration during dusk dust dustbin dusty duty dwarf dwell dweller dwelling dye dynamic dynasty each eager eagle ear earl early earmark earn earnest earnings earphone earth earthly earthquake ease easily east easter eastern eastward easy eat eccentric eccentricity echo eclipse ecology economic economical economically economics economize economy ecstasy edge edit edition editor editorial educate education educational eel effect effective effectively effectiveness efficiency efficient effort egg eggplant egypt egyptian eight eighteen eighth eighty either eject ejection elaborate elaboration elapse elastic elasticity elbow elder elect election electric electrical electrician electricity electrify electron electronic electronics elegance elegant element elemental elementary elephant elevate elevation elevator eleven eleventh eliminate elimination elliptical ellipsis eloquence eloquent else elsewhere elusive email emancipate emancipation embargo embark embarrass embarrassing embarrassment embassy embody embrace embroider embroidery emerge emergency emigrant emigrate emigration eminent emission emit emotion emotional emperor emphasis emphasize emphatic empire empirical employ employee employer employment emptiness empty enable enchant encircle enclose enclosure encounter encourage encouragement encyclopaedia end endanger endeavor ending endless endorse endorsement endow endurance endure endures enemy energetic energy enforce engage engaged engagement engine engineer engineering england english englishman engrave engraving engulf enhance enhancement enjoy enjoyable enjoyment enlarge enlargement enlighten enlightening enormous enough enquire enquiry enrich enroll enrolment en route ensure entail enter enterprise entertain entertainment enthusiasm enthusiastic entire entirely entirety entitle entrance entreat entrust entry enumerate envelop envelope envious environment environmental envy epidemic episode epoch equal equality equally equation equator equilibrium equip equipment equivalence equivalent era eradicate eradication erase erasure erect erection erosion err errand error erupt eruption escalator escape escort especial especially essay essayist essence essential essentially establish established establishment estate esteem estimate estimation eternal europe european evaluate evaluation evaporate evaporation eve even evening evenly event eventful eventually ever everlasting every everybody everyday everyone everything everywhere evidence evident evidently evil evolution evolve ex exact exactly exaggerate exaggerated exaggeration exalt exalted exam examination examine example exasperate exasperation exceed exceedingly excel excellence excellent except exception exceptional excess excessive exchange excite excited excitement exciting exclaim exclamation exclude exclusion exclusive exclusively exclusivity excursion excuse execute execution executive exemplify exempt exercise exert exertion exhaust exhausted exhaustion exhaustive exhibit exhibition exile exist existence existing exit exonerate exoneration expand expansion expect expectation expedience expedient expedite expedition expel expend expenditure expense expensive experience experienced experiment experimental experimentation expert expertise expiration expire expiry explain explanation explanatory explicit explicitly explode exploit exploitation exploration explore explorer explosion explosive export exportation exporter expose exposition exposure express expression expressive expressly expressway exquisite extend extension extensive extensively extent exterior external extinct extinction extinguish extra extract extraction extraordinary extravagance extravagant extreme extremely eye eyeball eyebrow eyeglass eyelid eyesight fable fabric fabricate fabrication face facilitate facility fact faction factor factory faculty fade fahrenheit fail failing failure faint fair fairly fairy faith faithful faithfully fake fall false fame familiarity familiar family famine famous fan fanatic fancy fantastic far fare farewell farm farmer farmhand farmhouse farming farther fascinate fascination fascism fascist fashion fashionable fast fasten fat fatal fate father fathom fatigue fault faultless faulty favor favorable favorably favorite fbi fear fearful fearless feasibility feasible feast feat feather feature february federal federation fee feeble feed feedback feel feeling fell fellow fellowship female feminine fence ferocious ferrous ferry ferryboat fertile fertilizer fervent festival fetch feud feudal feudalism fever few fiber fiction fictional fiddle field fierce fiery fifteen fifth fifty fig fight fighter figurative figure file filing fill filling film filter filth filthy final finalize finally finance financial financier financing find finding fine finger finish finished finite fir fire fireman fireplace firework firm firmly firmness first fish fisherman fishery fission fist fit fitness fitting five fix fixed fixture flag flake flame flank flannel flap flare flash flask flat flatten flatter flavor flaw flee fleece fleet flesh fleshy flexibility flexible flicker flight fling float flock flood floor flour flourish flow flower flu fluctuate fluctuation fluency fluent fluid flush flute flutter flux fly foam fob focus fodder foe fog foggy fold foliage folk follow follower following fond food foodstuff fool foolish foot football footing footstep for forbid forbidden force fore forecast forefather forefinger foregoing forehead foreign foreigner foreman foremost foresee forest forestry foretell forever forge forgery forget forgive fork form formal formality format formation former formerly formidable formula formulate formulation forsake fort forth forthcoming fortitude fortnight fortress fortuity fortunate fortunately fortune forty forum forward fossil foster foul found foundation founder fountain four fourteen fourth fowl fox fraction fractional fracture fragile fragment fragrance fragrant frail frame framework france franchise frank frankly free freedom freely freeze freezer freight french frenchman frequency frequent frequently fresh freshen freshman fret friction friday friend friendly friendship fright frighten frightening frightful fringe frock frog from front frontier frost frosty frown frugal fruit fruitful frustrate frustration fry fuck fuel fulfil fulfillment full fully fumble fun function functional fund fundamental funeral funny fur furious furnace furnish furniture furrow further furthermore fury fuse fuss fussy future futures gain gale gallery gallon gallop gamble gambler game gang gangster gaol gap garage garbage garden gardener gardening garlic garment garrison gas gasoline gasp gate gather gathering gauge gay gaze gear gem general generalization generalize generally generate generation generator generosity generous genius gentle gentleman gently genuine geography geology geometry germ german germany gesture get ghost giant gift gigantic giggle ginger girl giver glad glance glare glass glassware gleam glide glimpse glisten glitter global globalization globalize globe gloom gloomy glorious glorify glory glossary glove glow glue glut gnaw gnp go goal goat god goddess gold golden golf good goodness goodself goods goodwill goose gorge gorgeous gorilla gossip govern government governess governor gown grab grace graceful gracious grade gradual gradually graduate graduation grain gram grammar grammatical gramophone grand grandchild granddaughter grandfather grandmother grandparent grandson granite grant grape graph grasp grass grasshopper grateful gratify gratifying gratis gratitude grave gravel gravity graze grease great greatly greatness greece greed greedy greek green greengrocer greenhouse greet greeting grey grief grieve grim grin grind grip groan v grocer grocery groove grope gross ground groundless group grove grow growl grown growth grudge grumble grunt guarantee guard guardian guess guest guesthouse guidance guide guilt guilty guitar gulf gulp gum gun gunpowder gust gutter guy gymnasium gymnastics gymnast habit habitual haggard haggle hail hair haircut hairdress hairpin hairy half halfway hall hallmark halt halve ham hamburger hammer hamper hand handbag handbook handful handicap handicapped handkerchief handle handling handsome handout handwriting handy hang hanger haphazard happen happening happily happiness happy harbor hard harden hardly hardness hardship hardware hardy hare harm harmful harmless harmonious harmony harness harsh harvest haste hasten hasty hat hatch hate hateful hatred haughty haul haunt have hawk hay hazard he head headache heading headline headlong headmaster headquarters heal health healthy heap hear hearing heart heartfelt hearth heartily hearty heat heated heating heave heaven heavily heavy hedge hedgehog heed heel height heighten heir heiress helicopter hell hello helmet help helpful helpless hemisphere hen hence henceforth her herald herb herbal herd here hereafter hereby herein hereinafter hereof hereto herewith hero heroic heroine herself hesitant hesitate hesitation hey hi hide hideous high highland highly highway hijack hijacker hike hill hillside him himself hind hinder hinterland hindrance hinge hint hip hire his hiss historian historic historical history hit hitchhike hitherto hoarse hobby hoe hoist hold holder holding hole holiday hollow holy home homeless homely homesick homework homogenous honest honesty honey honeymoon honor honorable hook hop hope hopeful hopefully hopeless horizon horizontal horn horrible horrify horror horse horsepower hose hospital hospitable hospitality host hostage hostel hostess hostile hot hotdog hotel hotelling hour hound house household housekeeper housewife housework hover how however howl hug huge hull hum human humane humanism humanitarian humanity humble humid humidity humiliate humiliation humor humorous hundred hundredth hunger hungry hunt hunter hurl hurrah hurry hurt husband hush hustle hut hydraulic hydroelectric hydrogen hygiene hymn hypocrisy hypothesis hypothetical hysteria hysteric i ice iceland icy idea ideal idealism idealize identical identification identify identity idiom idiomatic idiot idle idleness idol if ignite ignorance ignorant ignore ill illegal illegible illiteracy illiterate illness illuminate illusion illusive illustrate illustration image imaginary imagination imagine imitate imitation immaterial immature immediate immediately immense immerse immigrant immigrate immigration imminent immoral immortal impact impart impartial impatience impatient imperative imperfect imperialism imperialist implement implementation implication implied implore imply import importance important importation importer impose imposition impossibility impossible impost impractical impress impression impressive imprison imprisonment improper improve improvement impulse impurity in inability inaccessible inaccurate inadequate inasmuch inaugural inaugurate inauguration incapable incense incentive inch incident incidentally inclination incline inclined include inclusion inclusive income incompatibility incompatible incomplete inconsistency inconsistent inconvenience inconvenient incorporate incorporated incorrect incoterms increase increasing increasingly incredible incredulous increment incur indebted indebtedness indeed indefinite indefinitely indemnify indent independence independent independently index india indian indicate indication indicative indifference indifferent indigestion indignant indignation indirect indirectly indispensable individual indoor indoors induce inducement induction indulge industrial industrialize industrialization industrialized industrious industry ineffective ineffectiveness inefficiency inefficient inertia inevitable inevitably inexpensive infant infantry infect infection infectious infer inference inferior inferiority infinite infinitely infinitive infinity inflammable inflation inflict influence influential influenza inform informal information informative infrequent infringe infringement ingenious ingenious ingenuity inhabit inhabitant inherent inherit initial initially initiate initiative inject injection injure injury injustice ink inland inlet inn inner innocence innocent innovate innovation innumerable inorganic input inquire inquiry insane insect insert insertion inside insider insight insignificant insist insistent insofar insolvent inspect inspection inspector inspiration inspire instable install installation installment instance instant instantly instead instinct instinctive institute institution instruct instruction instructive instructor instrument instrumental insufficient insulate insulation insult insurance insure intangible integral integrate integration integrity intellect intellectual intelligence intelligent intend intense intensity intensive intent intention intentional interact interaction intercourse interest interested interesting interface interfere interference interior intermediate internal international internationalization internationalize interpret interpretation interpreter interrupt interruption interval intervene interview intimate intimation into intonation introduce introduction introductory intrude inundate invade invader invalid invalidate invaluable invariably invasion invent invention inventor inverse inversely invest investigate investigation investment invisible invitation invite invoice involve involved involvement inward inwards ireland iron ironical irony irregular irregularity irresistible irrespective irrevocable irrigate irrigation irritate irritation islam island isolate isolation issue it italian italy itch item itemize its itself ivory jack jacket jail jam january japan japanese jar jaw jazz jealousy jealous jeans jelly jeep jeopardize jerk jesus jet jettison jew jewel jewelry jewish jingle job jobless jog join joint joke jot journal journalism journalist journey joy joyful judge judgement jug juice juicy july jumble jump junction june jungle junior jupiter jury just justice justifiable justification justify juvenile kangaroo keen keep keeper keeping kernel kerosene kettle key keyboard keyhole kick kid kidnap kidnaper kidney kill killer kilo kilogram kilometer kilowatt kind kindergarten kindle kindly kindness king kingdom kiss kit kitchen kite knee kneel knife knight knit knob knock knot know knowledge knowledgeable lab label laboratory labor laborer lace lack lad ladder lady lag lake lamb lame lamp land landed landing landlady landlord landscape lane langkap language lantern lap lapse large largely lark laser last lasting late lately latent later lateral lathe latin latitude latter lattice laugh laughter launch laundry lavatory law lawful lawn lawyer lay layday layer layout laziness lazy lead leader leadership leading leaf leaflet league leak leakage lean leap learn learned learner learning lease least leather leave lecture lecturer leeway left leftover leg legal legend legendary legislation legitimate legitimation leisure lemon lemonade lend lending length lengthen leninism lens leopard less lessen lesson lest let letter level lever levy liability liable liar liberal liberate liberation liberty librarian library license lick lid lie lieutenant life lifetime lift light lighten lighter lighthouse lightly lightning like likelihood likely likeness likewise liking lily limb lime limestone limit limitation limited limousine limp line linear linen liner linger linguist linguistics lining link lion lioness lip lipstick liquid liquor list listen listener literacy literal literally literary literate literature litre litter little live livelihood lively liver livestock living load loaf loan lobby lobster local locality locate location lock locomotive locust lodge lodging lofty log logic logical loneliness lonely lonesome long longevity longing longitude look loom loop loose loosen lord lorry lose loss lost lot lottery loud loudness loudspeaker lounge lovable love lovely lover low lower loyal loyalty lubricate lubrication luck lucky luggage lumber luminous lump lumpsum lunar lunch luncheon lung luxurious luxury machine machinery mackintosh macroeconomics mad madam madman madness magazine magic magician magistrate magnet magnetic magnetism magnificent magnify magnitude maid maiden mail mailbox main mainland mainly mainstream maintain maintenance maize majesty major majority make maker malady malaria malaise malaysia male malice malicious man manage management manager managerial manhood manifest manifestation manifesto manipulate manipulation mankind manly manner mansion manual manufacture manufactured manufacturer manuscript many map maple marble march march margin marginal marine mariner mark marked market marketable marketing marketplace marking marriage married marry mars marsh marshal martyr marvel marvellous marxism marxist masculine mask mass massacre massage massive mass media mast master masterpiece mat match mate material materialism materialize mathematical mathematics mathematician maths matinee matter mattress mature maturity maximize maximum may may maybe mayor me meadow meal mean meaning means meantime meanwhile measure measurement meat mechanic mechanical mechanically mechanics mechanism medal medical medicine medieval meditate meditation mediterranean medium meek meet meeting melancholy melody melon melt member membership memo memoir memorial memorize memory menace mend mental mentality mention menu merchandise merchant mercantile merciful mercury mercury mercy mere merely merge merit mermaid merry mesh mess message messenger metal metallic metallurgy meter method methodology meticulous meticulously metre metric metropolitan mexican mexico microeconomics microphone microprocessor microscope microwave midday middle middleman middling midnight midst might mighty migrant migrate migration mild mile mileage milestone military militia milk milkman milky mill miller millimetre million millionaire mince mincer mind mine miner mineral mingle miniature minicomputer minimize minimum minister ministry minor minority mint minus minute miracle miraculous mirror miscarriage miscarry mischief miser miserable misery misfortune misgiving mishandle mishap misinterpret mislead miss missile missing mission missionary mist mistake mistaken mister mistress misty misunderstand misunderstanding mitten mix mixer mixture moan mob mobile mobilize mock mode model moderate moderately modern modernization modernize modest modesty modification modified modify modulate module moist moisture molecular molecule moment momentary momentous monarch monastery monday monetary money monitor monk monkey monopolize monopoly monotonous monotony monster monstrous month monthly monument monumental mood moon moonlight moonlighting moor mop moral morale morality more moreover morning mortal moslem mosque mosquito moss most mostly motel moth mother motion motionless motivate motivation motive motor motorcar motorcycle motorist motorway motto mould mount mountain mountainous mourn mournful mourning mouse moustache mouth mouthful move movement movie much mud muddy muffle muffler mug mule multiple multiplication multiply multifunction multitude municipal mumble mumps murder murderer murmur muscle muscular muse museum mushroom music musical musician must mustard mute mutter mutton mutual my myriad myself mysterious mystery mystic myth mythology nail naive naked name nameless namely namesake nap napkin narrate narration narrator narrow nasty nation national nationality native natural naturally nature naughty nausea naval navel navigable navigation navy near nearby nearly neat necessarily necessary necessitate necessity neck necklace need needful needle needless needy negate negation negative neglect negligence negligent negligible negotiable negotiate negotiation negro neighbor neighborhood neighboring neither nephew nerve nervous nest nestle net network neutral neutrality neutron never nevertheless new news newspaper next nice nickel nickname niece night nightgown nightingale nightmare nine nineteen ninety ninth nitrogen no nobility noble nobody nod noise noisy nominal nominate nomination none nonsense noon nor norm normal normalization normalize normally north northeast northern northward northwest nose nostril not notable notably note notebook noted nothing notice noticeable notification notify notion notorious notwithstanding nought noun nourish nourishment novel novelist novelette novelty november now nowadays nowhere nuclear nucleus nuisance null nullify number numerical numerous nun nurse nursery nut nylon oak oar oath obedience obedient obey object objection objective obligation oblige obliterate oblong obscure observance observation observe observer obstacle obstinate obstruction obtain obtainable obvious obviously occasion occasional occasionally occident occidental occupation occupy occur occurrence ocean oceania oceanography october odd odour of off offence offend offensive offer offering office officer official offset offspring often oh oil old olive omen ominous omission omit on once one oneself onion only onset onto onward opal opaque open opener opening opera operate operation operational operative operator opinion opium opponent opportune opportunity oppose opposite opposition oppress oppression optical optimal optimism optimistic optimize optimum option optional or oral orange orbit orchard orchestra order orderly ordinarily ordinary ore organ organic organism organization organizational organize orient oriental orientation origin original originality originally originate ornament ornamental orphan oscillation other otherwise ought ounce our ourselves out outbreak outcome outdoor outdoors outer outermost outland outlandish outlaw outlay outlet outline outlook output outrage outrageous outright outset outside outsider outskirts outstanding outturn outward oval oven over overall overcast overcharge overcoat overcome overestimate overextend overflow overhead overhear overjoy overlap overlapping overload overlook overnight overpayment overseas oversight overtake overthrow overtime overwhelm overwhelming owe owing owl own owner ownership ox oxide oxygen oyster pace pacific pack package packaging packet packing pad page pail pain painful paint painter painting pair palace pale palm pamphlet pan panda pane panel panic panorama panoramic pant panther pantry pants paper papercut papercutting papers par parachute parade paradise paragraph parallel paralyse parameter parasite parcel pardon parent paris parish park parking parliament parlimental parlor parrot part partial partially participant participate participation particle particular particularly partition partly partner partnership party pass passable passage passenger passion passionate passive passport past paste pastime pasture pat patch patent path pathetic patience patient patriot patriotic patriotism patrol patron patronage pattern pause pave pavement paw pawn pay payable payment pea peace peaceful peach peacock peak peanut pear pearl peasant peasantry pebble peck peculiar peculiarity pedal pedestrian pedlar peel peep peer peg pen penalty pencil pending penetrate penetration penicillin peninsular penny pension people pepper per perceive percent percentage perception perch perfect perfection perfectly perform performance performer perfume perhaps peril perimeter period periodic periodical peripheral perish permanence permanent permanently permission permissive permit perpendicular perpetual perplex persecute persecution persevere perseverance persist persistence person personal personality personally personnel perspective persuade persuasion pertain pertinence pertinent perturb perturbed perusal peruse pessimist pessimistic pest pet petition petrol petroleum petty phase phenomenon philosopher philosophical philosophy phone phonetics photo photograph photographer photography photostatic phrase physical physically physician physicist physics pianist piano pick pickle pickpocket picnic pictorial picture picturesque pie piece pier pig pigeon pigment pile pilferage pilgrim pilgrimage pill pillar pillow pilot pin pinch pine pineapple pink pint pioneer pioneering pious pipe pipeline pirate pistol piston pit pitch pitcher pity place plague plain plan plane planet plant plantation plaster plastic plastics plate plateau platform platinum play player playground playmate playwright plea plead pleasant please pleased pleasure pledge plenary plentiful plenty plight plot plough pluck plug plumb plumber plume plump plunder plunge plural plus ply pneumatic pneumonia pocket poem poet poetry point pointed poison poisonous poke poker polar polarity pole police policeman policy polish polite politeness political politician politics poll pollute pollution polymer pond ponder pony pool poor pop popcorn pope popular popularity popularize population porcelain porch pore pork porridge port portable porter portion portrait portray portugal portuguese pose position positive positively possess possession possessive possibility possible possibly post postage postal postcard posterity postman postpone postponement postulate pot potato potent potential potentiality poultry pound pour poverty powder power powerful practicable practical practically practice practise prairie praise pray prayer preach preacher precaution precede precedence precedent preceding precious precise precisely precision predecessor predict prediction predominance predominant preface prefer preferable preferably preference preferential prefix pregnancy pregnant prejudice preliminary prelude premature premier premises premium preoccupy preparation prepare prepared preposition prescribe prescribed prescription presence present presentation presently preservation preserve preset preside president presidential press pressing pressure prestige presumably presume pretend pretense pretentious pretty prevail prevailing prevalence prevalent prevent prevention previous previously prey price pricing prick pride priest primarily primary prime primitive prince princess principal principally principle print printer prior priority prism prison prisoner privacy private privilege privileged prize probability probable probably probe problem problematic procedure proceed proceeding proceeds process processing procession proclaim procure procurement produce producer product production productive productivity profess profession professional professor proficiency proficient profile profit profitable proforma profound program programer programing progress progressive prohibit prohibition prohibitive project projection projector proletarian prolong prominence prominent promise promising promissory promote promotion prompt promptly prone pronoun pronounce pronunciation proof propaganda propagate propagation propel propellent propeller proper properly property prophesy prophet proportion proportional proposal propose proposition proprietor proprietorship prose prosecute prosecution prosecutor prospect prosperity prosperous protect protection protectionism protective protein protest protestant protocol prototype protracted proud prove proverb provide provided province provincial provision provisional provocation provoke proximo prudence prudent psychological psychologist psychology public publication publicity publicly publish publisher pudding puff pull pulley pulse pump pumpkin punch punctual punctuality punctuation punish punishment pupil puppet puppy purchase purchaser pure purely purify purity purple purpose purse pursuance pursuant pursue pursuit push put puzzle pyjamas pyramid qualification qualified qualify qualitative quality quantitative quantity quarrel quart quarter quarterly quartz quay queen queer quench query quest question questionnaire queue quick quicken quickly quiet quietly quietness quilt quit quite quiver quiz quota quotation quote rabbit race racial rack racket radar radial radiant radiate radiation radical radio radioactive radioactivity radish radium radius rag rage raid rail railroad railway rain rainbow raincoat rainfall rainy raise rake rally ramble ranch random range rank rapid rapidly rapture rare rarely rascal rash rat rate rather ratification ratify ratio ration rational rattle ravage raw ray razor re reach react reaction reactionary reactor read reader readily reading ready real realism realist realistic reality realization realize really realm reap rear reason reasonable reasonably reassure rebate rebel rebellion rebuke recall recede receipt receive receiver recent recently reception receptionist recession recipe recipient reciprocal recitation recite reckless reckon reclaim recognition recognize recollect recollection recommend recommendation recompense reconcile reconnaissance record recorder recourse recover recovery recreation recruit recruitment rectangle rectification rectify recur recurrence red redeem redound reduce reduction reed reef reel reexport refer referee reference referent refine refined refinement refinery reflect reflection reform refrain refresh refreshment refrigerator refuge refugee refund refusal refuse refute regard regarding regardless regime regiment region regional regionalization regionalize register registered registration regret regretful regretfully regrettable regular regularity regularly regulate regulation rehearsal rehearse reign reimburse reimbursement rein reinforce reinforcement reiterate reject rejection rejoice relate related relation relationship relative relatively relativity relax relaxation relay release relevant reliability reliable reliance relief relieve religion religious relinquish relish reluctance reluctant rely remain remainder remains remark remarkable remedy remember remembrance remind reminiscence reminiscent remit remittance remnant remote remoteness removal remove remuneration renaissance render renew renewable renewal rent rental repair repairmen repay repeal repeat repeatedly repel repent repetition repetitive replace replacement replenish replenishment reply report reportage reporter represent representation representative reproach reproduce reproduction reptile republic republican repudiate reputable reputation repute request require requirement requisite rescind rescue research researcher resemblance resemble resent resentful resentment reservation reserve reservoir reside residence resident residual resign resignation resist resistance resistant resolute resolution resolutely resolve resort resource respect respectable respectful respectfully respective respectively respond response responsibility responsible rest restaurant restless restock restore restrain restraint restrict restriction restrictive result resultant resume resume retail retailer retain retell retire retirement retort retreat retroactive return reveal revenge revenue reverence reverse revert review revise revision revival revive revoke revolt revolution revolutionary revolve reward rewarding rheumatism rhyme rhythm rib ribbon rice rich richness rid riddle ride ridge ridicule rediculous rifle right righteous rigid rigidity rigor rigorous rim ring rinse riot riotous rip ripe ripen ripple rise risk risky rival rivalry river road roam roar roast rob robber robbery robe robot robust rock rocket rod role roll roller roman romance romantic romanticism rome roof room rooster root rope rose rosy rot rotary rotate rotation rotten rough roughly round roundabout rouse route routine row royal royalty rub rubber rubbish rude rug ruin ruinous rule ruler ruling rumor run runner running rural rush russia russian rust rusty ruthless sack sacred sacrifice sad saddle sadly sadness safe safely safety sag said sail sailing sailor saint sake salad salability salable salary sale sales salesman salmon salt salty salute salution same sample sampling sand sandwich sandy sanitary santa Claus sarcasm sarcastic sardine satellite satire satisfaction satisfactorily satisfactory satisfy saturation saturday saturn sauce saucer sausage savage save savings saw say scale scaly scan scandal scar scarce scarcely scarcity scare scarf scarlet scatter scene scenery scenic scent schedule scheme scholar scholarship school schooling science scientific scientist scissors scoff scold scope scorch scorching score scorn scornful scotch scotsman scottish scotland scout scramble scrap scrape scratch scream screech screen screw screwdriver script scrub scrutiny sculptor sculpture sea seal seam seaman seaport search seashore seaside season seasonal seat second secondary secondhand secondly secrecy secret secretariat secretary section sector secure security see seed seek seem seemingly segment seize seizure seldom select selection self selfish sell seller seminar semiconductor senate senator send sender senior sensation sensational sense senseless sensible sensitive sensitivity sentence sentiment sentimental separate separately separation september sequence serene serenity series serious seriously sermon serpent servant serve service serviceable session set setting settle settlement seven seventeen seventh seventy several severe severely sew sex sexual sexuality shabby shade shadow shadowy shady shaft shake shall shallow sham shame shameful shampoo shape shapeless share shark sharp sharpen sharpener sharply shatter shave she shear shed sheep sheepish sheer sheet shelf shell shelter shepherd sheriff shield shift shilling shine shiny ship shipbuilding shipmail shipment shipowner shipping shipwreck shipyard shirt shiver shock shoe shoemaker shoot shop shopkeeper shopping shore short shortage shortcoming shortcut shorten shorthand shortly shorts shot should shoulder shout shove shovel show shower showroom shrewd shriek shrill shrine shrimp shrink shroud shrub shrug shuffle shun shut shutter shuttle shy sick sickness sickle side sidewalk sideways siege sieve sift sigh sight sightseeing sign signal signature significance significant signify signpost silence silent silicon silk silky silly silver similar similarity simple simplicity simplify simply simulate simultaneous simultaneously sin since sincere sincerely sincerity sinful sing singer single singular sink sir siren sister sit site situate situation six sixteen sixth sixty sizable size skate skating skeleton sketch ski skiing skill skillful skim skin skip skirmish skirt skull sky skyrocket skyscraper slack slam slander slang slap slaughter slave slavery slay sleep sleepy sleet sleeve slender slice slide slight slightly slim slip slipper slippery slit slogan slope slow slowdown slowly slum slumber slump sly smack small smart smash smell smile smog smoke smoker smoking smooth smoothly smuggle smuggler smuggling snack snail snake snap snatch sneak sneakers sneer sneeze sniff snob snobbery snobbish snore snow snowman snowstorm snowy so soak soap soar sob sober soccer sociable social socialism socialist society sociologist sociology sock soda sodium sofa soft soften softly softness software soil solar soldier sole solely solemn solicitor solid solidarity solitary solitude solo solution solve solvency solvent some somebody somehow someone something sometime sometimes somewhat somewhere son song sonnet sonyericsson soon soot soothe sophisticated sophistication sore sorrow sorrowful sorry sort soul sound soup sour source south southeast southern southward southwest souvenir sovereign sovereignty sow soy space spacecraft spaceship spaceshuttle spacious spade spain span spanish spare spark sparkle sparrow spatial speak speaker spear special specialist specialize specialized specially specialty species specific specification specify specimen spectacle spectacular spectator spectrum speculate speculation speculator speech speed speedy spell spelling spend sphere spice spicy spider spill spin spiral spirit spiritual spit spite splash splendid split spoil spokesman sponge sponsor sponsorship spontaneous spoon spoonful sport sportsman sportsmanship spot sprain spray spread spring sprinkle sprout spur spy square squash squat squeeze squirrel stab stability stable stack stadium staff stage stagger stagnation stain stainless stair staircase stake stale stalk stall stammer stamp stand standard standardize standing standpoint standstill staple stapler star stare start starting startle starvation starve state statement statesman static station stationary stationery statistical statistics statue status statute stay steadily steady steak steal steam steamer steel steep steer stem stencil step stereo sterling stern stevedore stew steward stewardess stick sticky stiff still stillness stimulate stimulation sting stink stipulate stipulation stir stirring stitch stock stocking stomach stone stony stool stoop stop storage store storey storm stormy story stout stove stow stowage straight straightforward straighten strain strait strand strange stranger strap strategic strategy straw strawberry stray streak stream streamline street streetcar strength strengthen stress stretch strict strictly stride strife strike striking string strip stripe strive stroke stroll stroller strong strongly stronghold structural structure struggle stubborn student studio study stuff stuffy stumble stump stupid stupidity sturdy style stylist subdivide subdue subject subjective subjunctive submarine submerge submit subordinate subordination subscribe subscription subsequence subsequent subsequently subsidiary substance substantial substantiate substitute substitution subtle subtract subtraction suburb suburban subway succeed success successful successfully succession successive successor such suck sudden suddenly suffer suffering suffice sufficient sufficiently suffix sugar suggest suggestion suicide suit suitable suitcase suite sullen sultry sum summarize summary summer summit summon sun sunburn sunday sunflower sunlight sunny sunrise sunset sunshine super superb superficial superinrtendent superior superiority supermarket supersede supersonic superstition superstitious supervise supervision supervisor supper supplement supplementary supplier supply support supporter suppose supposing suppress suppression supreme surcharge sure surely surface surge surgeon surgery surmise surname surpass surplus surprise surprising surrender surround surroundings survey surveyor survival survive survivor suspect suspend suspense suspicion suspicious sustain swallow swamp swan swarm sway swear sweat sweater swede sweden swedish sweep sweet sweeten sweetheart sweetness swell swift swim swing swiss switch switzerland sword syllable symbol symbolize symmetric symmetry sympathetic sympathize sympathy symphony symposium symptom synonym synthesis synthetic system systematic systematically table tablet tabulate tack tackle tact tactful tactics tag tail tailor take tale talent talk talkative tall tally tame tan tangle tank tanker tap tape tar target tare tariff task taste tasteful tax taxation taxi tea teach teacher teaching teacup team teapot tear tease technical technician technique technological technology tedious teenager teens telefax telegram telegraph telephone telescope television telex tell teller temper temperature temple temporary tempt tempatation ten tenant tend tendency tender tenis tenor tense tension tent tentative tenth term terminable terminal terminate termination terminology terrace terrible terribly terrific terrify territory terror terrorism terrorist test testify testimony text textbook textile textual than thank thankful thanks thanksgiving day that the theatre theatrical theft their them theme themselves then theoretical theory there thereafter thereby therefor therefore therefrom therein thereof thereon therewith thermometer these thesis they thick thicken thickness thief thigh thin thing think thinking thinker third thirst thirsty thirteen thirty this thorn thorough thoroughly those though thought thoughtful thoughtless thousand thrash thread threat threaten three threshold thrift thrifty thrill thriller thrive throat throne throng through throughout throw thrust thumb thumbtack thunder thunderstorm thursday thus tick ticket tickle tide tidy tie tiger tight tighten tightly tigress tile till tilt timber time timely timetable timid tin tiny tip tiptoe tire tired tiresome tissue title to toad toast tobacco today toe together toil toilet token tolerable tolerance tolerant tolerate toll tomato tomb tombstone tomorrow ton tone tongue tonight tonnage tonne too tool tooth toothache toothbrush toothpaste top topic torch torment torpedo torrent tortoise torture toss total totally touch tough tour tourism tourist tow toward towel tower town toy trace track tractor trade trader trademark tradesman tradition traditional traffic tragedy tragic trail train trainee trainer training traitor tram tramp trample tranquil transact transaction transfer transferable transform transformation transformer transcient transistor transit transition translate translation translator transmission transmit transparent transplant transport transportation transship transshipment transverse trap traverse travel traveler tray tread treason treasure treasurer treat treatment treaty tree tremble tremendous trench trend trial triangle triangular tribe tribute trick trickle tricky trifle trigger trim trip triple triplicate triumph triumphant trivial trolley troop tropic tropical trot trouble troublesome trousers truck true truly trumpet trunk trust truth truthful try tub tube tuberculosis tuck tuesday tug tuition tulip tumble tumult tuna tune tunnel turbine turbulent turk turkey turn turning turnip turnover turtle tutor twelfth twelve twentieth twenty twice twig twilight twin twinkle twist two type typewriter typhoon typical typist tyranny tyrant tyre ugly ulcer ultimate ultimately ultimo ultrasonic ultraviolet umbrella unable unacceptable unaccommodating unaffordable unanimous unavoidable unbearable uncertain uncertainty uncle uncomfortable uncommon unconditionally unconscious uncover under underestimate undergo undergraduate underground underline underlying undermentioned undermine underneath undersigned understand understanding undertake undertaking underwear underwriter undo undoubtedly undue unduly uneasy unemloyment unexpected unfair unfit unfold unfortunate unfortunately unhappy uniform uniformly uninterested union unique unit unite united united kingdom united nations united states unity universal universally universe university unjust unkind unknown unlawful unless unlike unlikely unlimited unload unlock unlucky unmerchantable unnecessary unobtainable unpaid unpleasant unprecedented unprecedentedly unreasonable unsalable unsatisfactory unstable unsuitable untie until unusable unusual unwarranted unwelcome unwilling unworkable up upcreep uphold upon upper upright uproar upset upside upstairs upward uranium urban urge urgent urgently us usage use useful usefulness useless user usual usually utensil utility utilization utilize utmost utter utterance vacacy vacant vacation vaccinate vaccination vacuum vague vain vainly valian valid validity valley valuable value valued valve van vanish vanity vapor variable variance variant variation varied variety various varnish vary vase vast vault vegetable vehicle veil vein velocity velvet vender vengeance ventilate ventilation venture venus verb verbal verge verification verify versatile verse version versus vertical very vessel vest veteran veto vex via vibrate vibration vice vicinity vicious victim victorious victory video view viewer viewpoint vigor vigorous villa village villain vine vinegar violate violation violence violent violet violin virgin virtual virtually virtue virus visa viscous visible vision visit visitor visual vital vitamin vivid vividly vividness vocabulary vocation vogue voice voiceless void volcano volley volleyball volt voltage volume voluntary volunteer vote voter voting vouch voucher vow vowel voyage vulgar vulnerability vulnerable wade wag wage wagon waist wait waiter waitress waive wake waken walk walker wall wallet walnut wander want war ward wardrobe ware warehouse warehousing warfare warm warmly warmth warn warning warrant warranted warranty warrior warship wash wasp waste wasteful watch watchful water waterfall waterfront waterproof watertight watery watt wave wavelength waver waving wax way we weak weakness wealth wealthy weapon wear weary weather weave weaver web wedding wedge wednesday weed week weekday weekend weekly weep weigh weight welcome weld welfare well west western westerner westward wet whale whaling wharf what whatever wheat wheel when whenever where whereabouts whereas whereby wherein wherever whether which whichever while whilst whip whirl whisker whisky whisper whistle white whitewash who whoever whole wholesale wholesaler wholesaling wholesome wholly whom whose why wicked wide widely widen widespread widow widower width wield wife wild wilderness will willing willingly willingness willow win wind winding windmill window windowsill windy wine winery wing wink winner winter wipe wire wireless wisdom wise wish wit with withdraw withdrawal wither withhold within without withstand witness witty woe wolf woman wonder wonderful wood wooden woodpecker woods wool woollen word wording wordy work workable worker workman workmanship works workshop world worldwide worm worry worse worship worst worth worthless worthwhile worthy wound wounded wrap wrapper wrath wreath wreck wrench wrestle wretched wring wrinkle wrist write writer writing written wrong wrongly xerox yacht yard yawn year yearly yearn yeast yell yellow yes yesterday yet yield yoke yolk you young youngster your yourself youth youthful zeal zealous zebra zero zinc zip zipcode zipper zone zoo zoology zoology

     

    test.txt

    are we allow to go to the cimmmmm iosoiuy uyuyyyyy uuuiiooos ooiiuuus hhkkiiuyuyui

    notes:

    1.单词从文件头开始输入,要给出输入单词的个数。
    2.每两个单词间保持一个空格的距离。

     

    //本程序在VCSP6下编译通过
    //1.单词从文件头开始输入,要给出输入单词的个数。
    //2.每两个单词间保持一个空格的距离。

    #include <iostream>
    #include <vector>
    #include <string>
    #include <fstream>
    #include <algorithm>
    using namespace std;

    class spell_check
    {
    public:
     bool load(char *dict);//加载字典
     bool check(char *word,int num);//检查单词
    private:
     vector<string> dictory;//字典的定义
     FILE *fin;//读入文件
        int number;//输入字符的个数

    };

     

     


    bool spell_check::load(char *dict)
    {  
     char text[120];
     char c;
     int up;
     ifstream fin("dictionary.txt",ios::in);
     
     if(!fin)
     { 
      cout<<"字典加载失败"<<endl;
      return false;
     }
     while(!fin.eof())
     { 
      up=0;
      while(fin.get(c),c!=' ')
       text[up++]=c;
            
      text[up]='\0';  

      dictory.push_back(text);//插入到字典后面
     }
     
     
     cout<<"字典加载成功"<<endl; 
        return true;
    }


    bool spell_check::check(char *word,int num)
    {
     long count=0;
     vector<string>::iterator str;
     char textword[100];
     char text[50];
     char t_s[200];
     int  l;
     int number;
     char c;
     char d;
     int up;
     int  flag;
        ifstream fin("test.txt",ios::in);
     number=0;
     if (fin==NULL)
     {
      cout<<"读入失败"<<endl;
      return false;
     }
     
     while(number<num)
     {
      up=0;
      while(fin.get(d),d!=' '&&d!='\n')
       textword[up++]=d;
      
      textword[up]='\0';
     
      l=strlen(textword);
     
      flag=0;
      
      c=' ';
      if (textword[0]>='A'&& textword[0]<='Z')
      {
       textword[0]='a'+textword[0]-'A';
       
       flag=1;
      } //首字母大小写替换,先全部改为小写,到字典中去比较
      
      
      if (!((textword[l-1]>='a' && textword[l-1]<='z') || (textword[l-1]>='A' && textword[l-1]<='Z')))
      {
       c=textword[l-1];
       textword[l-1]='\0';
      } //对句末标点不进行比较,忽略
      
        
      str=find(dictory.begin(), dictory.end(), textword);
      
     
      
      if (flag==1)
      {
       textword[0]='A'+textword[0]-'a';
      
       flag=0;
      }//
      
      if (str==dictory.end())
      {
       count++;
       
       strcpy(t_s,textword);
       if (c!=' ')
       {
        t_s[l+1]=c;
        c=' ';
        t_s[l+2]='\0';
       }
       
       strcpy(textword,t_s);
      }
      if (c!=' ')
      {
       textword[l-1]=c;
       c=' ';
       textword[l]='\0';
      }
      
      cout<<textword<<endl;
       number++;
     }
     cout<<"共有如下数量错误"<<endl;
     cout<<count<<endl;
      return true;
    }


    int main()
    {
     spell_check checker;
     char dictname[20];
     char testname[20];
     int number;
     strcpy(dictname,"dictory.txt");
           
            cout<<"请注意以下说明:"<<endl;
            cout<<"1.单词从文件头开始输入,要给出输入单词的个数。"<<endl;
            cout<<"2.每两个单词间保持一个空格的距离。"<<endl;

     if(!checker.load(dictname))
     {
      cout<<"字典文件加载失败!"<<endl;
      return 0;
     }
     else
      cout<<"字典文件加载成功!"<<endl;
     
     cout<<"请输入待检查文件名:(默认是test.txt)";
     cin>>testname;
     cout<<"请输入此文件中单词的个数:";
     cin>>number;

     cout<<"正在检查"<<endl;
     
     if (checker.check(testname,number))
        cout<<"检查完毕"<<endl;
     else
      cout<<"检查失败"<<endl;
     
     
     return 0;


    }

     

               

    再分享一下我老师大神的人工智能教程吧。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

    展开全文
  • c++学习笔记

    千次阅读 2005-10-09 14:19:00
    C++学习笔记前期:1. 标识符使用。2. 程序处理的对象是数据。3. 数据类型的分类:基本和非基本4. vc++6.0中各个基本数据类型的内存大小。5. 字符串在字符数组中的存放形式。6. 引用的使用方法。〔引用在初始化...

    C++学习笔记

    前期:

    1.       标识符使用。

    2.       程序处理的对象是数据。

    3.       数据类型的分类:基本和非基本

    4.       vc++6.0中各个基本数据类型的内存大小。

    5.       字符串在字符数组中的存放形式。

    6.       引用的使用方法。〔引用在初始化后是否还可以更改〕

    7.       c++中同级运算符的结合顺序。

    8.       “/”的结果是什么?

    9.       i++ ++i 的区别

    10.   数据类型转换时的通常情况和特例(赋值运算符要求右对左)

    11.   类型转换时,被转换的变量是否改变。

    12.   switch语句中应注意的问题。

    13.   while do while的区别。

    14.   for 循环的三个表达式和循环体的执行顺序。

    15.   break continue 的区别。

    16.   值参和引用参数的例子。

    17.   递归调用的使用〔例子〕。

    18.   默认参数的函数使用参数的方法和作用域的问题。〔例子〕。

    19.   内联函数的优点和缺点,注意的要点。

    20.   c++ 中的函数重载是根据什么来判断的。

    21.   c++在数组下标合法性检查是什么样的?

    22.   数组作为函数参数传递时是作为值传递还是引用传递。

    23.   字符数组中存放字符串时’/0’的处理。

    24.   结构体变量作为参数。

    25.   同类型的结构体变量是否可以赋值。

    26.   枚举变量可否用常数(在枚举范围内)。

    27.   typedef 的使用。

    28.   指针的使用。定义-》赋值-》使用。

    29.   指向常量的指针,常指针,指向常量的常指针。

    30.   指针和数组的使用。

    31.   指针在多维数组中的使用。(公式)

    32.   指向函数的指针和指针作为函数的返回值比较。

    33.   函数返回的指针指向的是函数内部变量的局部地址例子。

    中期:

    第四章:

    1.面向对象方法的核心是:抽象。

    2.面向对象方法的重要原则是:封装。

    3.封装的两个目标:对数据行为的包装和对信息的隐藏。

    4.面向对象程序设计的三个基本特点:继承,多态,封装。

    5.通过继承,将原来一个个孤立的类联系起来,形成清晰的层次结构关系,称为:类簇。

    6.简单对象的组合,叫聚合。

    7.对象以及对象之间的这种相互作用构成了软件系统的结构。

    8.c++中允许同属于一个类的两个对象之间相互赋值。

    9.拷贝构造函数在下面三种情况下会被调用

           a.用类的一个对象去初始化该类的另一个对象时。

           b.函数的形参是类的对象,调用函数进行形参和实参的结合时。

           c.函数的返回值是类的对象,函数执行完返回调用者时。

    10.类的组合:将一个已定义的类的对象作为另一个类的数据成员。

    11.成员初始化列表。

    12.类模版的使用。

    第五章

    13.静态数据成员的声明和使用,注意3点:

           a. 静态数据成员声明时,在前面加static关键字说明。

           b. 静态数据成员必须初始化,并且一定要在类外进行。

           c. 静态数据成员属于类,而不属于任何一个对象,所以在类外只能通过类名对它进行引用。引用的形式:<类名>::<静态数据成员名>

    14. 静态函数成员可以直接引用该类的静态数据成员和静态函数成员,而不能直接引用非静态数据成员,如果要引用,必须通过参数传递的方式得到对象名,然后再通过对象名来引用。对于公有的静态函数成员可以通过类名或对象名来调用。

    15.普通函数声明为友元函数的形式:friend  <类型标识符> <友元函数名>(参数表)

    16.成员函数声明为友元函数的形式:friend  <类型标识符> <类名>::<友元函数名>(参数表)

    17.友元类的声明形式: friend class <友元类名>

    18.友元关系是不能传递的。

    19.友元关系是单向的。

    20.常引用 const <类型标识符>&<引用名>;声明时必须初始化,常引用的值不能被更新。

    21.常对象:const<类名> <对象名> <类名> const <对象名>;声明时必须初始化,常对象的值不能被更新。

    22.常数据成员初始化时只能用成员初始化列表的方式通过构造函数对该数据成员进行初始化。

    第七章

    23.继承与派生机制的核心是:派生类新成员的加入。

    24.派生新类的过程:吸收基类成员,改造基类成员,添加新的成员。

    25.如果基类定义了带有形参的构造函数,派生类就必须要加入新的构造函数,同理,对于析构函数。

    26.派生类构造函数的顺序:先祖先(基类),再客人(内嵌对象),后自己(派生类本身)。

    27.访问属性与继承的关系。

    28.析构函数的访问顺序:先自己(派生类本身),再客人(内嵌对象),后祖先(基类)。

    29.派生中成员的标识与访问(大题)

    30.虚基类的使用例子。(两种:有构造函数和没有构造函数的。)

    31.派生类访问基类私有成员的2中方法。

    32.引入派生类后的对象指针。(读程序回答结果题。)

    第八章

    33.函数重载和运算符重载都属于静态多态。

    34.运算符的重载形式有两种:重载为类的成员函数;重载为类的友元函数。

    35.运算符重载为类的成员函数时,函数的参数个数比原来的操作数的个数哟少一个(后置”++”,”--“除外);当重载为类的友元函数时,函数的参数个数与原来的操作数个数相同。

    36.虚函数的定义是在基类中 进行的。

    37.虚函数的声明只能出现在类声明中的函数原型声明中,而不能出现在成员的函数体实现的时候。

    38.多继承中的虚函数使用方法。

    39.虚函数的虚特性是可以传递的。

    参考书目:

    c++程序设计语言》出版商:西安电子科技大学出版社。

    展开全文
  • C++学习笔记

    2010-08-02 16:22:00
    笔记记录在学习工作中遇到的点点滴滴小问题。并随时更新。2010-8-2什么是友元函数和友元类?

    此笔记记录在学习工作中遇到的点点滴滴小问题。

    并随时更新。

     

    2010-8-2

    什么是友元函数和友元类?

     

    全局对象?

    好友松:

    好友阳:

     

     

    展开全文
  • C++学习笔记2

    2015-12-01 00:23:11
    c++学习笔记

    1.    string初始化:string s1 默认初始化为空串

     string s2(s1) 将s2初始化为s1的一个副本

    string s3(“value”) 将s3初始化为字符串字面值副本

    string s4(n,‘c’)将s4初始化为字符‘c’的n个副本

    2..cin输入到string类型:必须包括string头文件 原因不详

                                              输入从第一个非空字符开始,到第一个空字符终止,回车键结束

    3.s.empty() 如果s为空返回ture 否则返回false

     s.size()返回s中字符的个数

     s[n]   返回s中位置为n的字符,位置从0开始

    s1+s2 连接成新的字符串

    v1==v2 比较v1和v2的内容 相等返回ture 否则返回false

    4.使用string::size_type来接受size返回的值

    展开全文
  • c++学习笔记精华版

    2017-08-27 13:29:27
    c++学习笔记/知识要点精华版
  • C++学习笔记
  • C++ 学习笔记

    千次阅读 2005-11-05 18:04:00
    描述一个函数所执行算法的过程称为函数定义C++中,一个变量必须在声明之后才能使用。C++中,一个函数必须在函数声明后才能使用(被调用)#include #include using namespace std;double max(double x,double y); //...
  • [C++]C++学习笔记

    2018-03-23 23:31:52
    C++学习笔记 include “windows.h” include “resource.h” int LCY() //LCY代码函数**************************************** { return 0; } INT_PTR CALLBACK MainDlgProc(HWND hDlg, UINT uMsg, ...
  • C/C++学习笔记

    2016-03-11 22:14:59
    C/C++学习笔记
  • 我的大学--C++学习笔记

    万次阅读 多人点赞 2011-12-04 10:07:44
    C++学习笔记(一)--基础知识sizeof用法   源文档 http://blog.csdn.net/liufei_learning/archive/2009/12/27/5088150.aspx> C++学习笔记(二)--基础知识   源文档 ...
  • C++学习笔记
  • C++学习笔记之输入输出语句

    千次阅读 2018-02-28 15:18:39
    C++学习笔记系列之输入输出语句 自学C++有时总会提不起干劲,搁置几个月后又会忘记之前比较重要的点,因此我开了这个学习笔记系列,希望在自己的学习过程中能督促我自己的学习,同时遇到问题时希望可以借助该系列...
  • C++学习笔记,坚持自律!

    千次阅读 2021-01-11 11:30:45
    C++学习笔记前言一、变量和基本类型1.处理类型(1)auto类型说明符(2)decltype类型指示符二、字符串、向量和数组1.String(1)初始化(2)string对象上的操作①使用getline读取一整行②处理string对象中的字符2.vector(1)...
  • C++学习笔记(更新)

    千次阅读 多人点赞 2019-01-07 18:47:16
    C++学习笔记 第1章到第4章 简介、基本数据类型及运算、分支、循环 第5章 函数 第6章 数组 第7章 指针和C字符串 第8章 递归 第9章 对象和类 第10章 对象和类的更多内容 第11章 继承和多态 第12章 文件输入输出 第13...
  • C++学习笔记之C++ 基础知识点demo(一)C++结构体、指针、字符数、内存申请 C++结构体、指针、字符数、内存申请 malloc(申请空间的字节数),使用改语句申请的空间需要使用free()释放。 ...
  • C++学习笔记
  • Effective C++学习笔记

    2015-01-03 09:51:21
    Effective C++学习笔记一 条款01:视C++为一个语言联邦 Ø C Ø Object-Oriented C++ Ø Template C++//泛型编程部分(generic programming) Ø STL C++高效编程守则视情况而变化,取决与你使用C++的哪一...
  • C++学习笔记之---语言引用学习
  • C++学习笔记:一维数组

    千次阅读 2019-04-25 16:31:15
    回看 C++学习笔记:循环结构1 的车站 直观来说,一维数组像一条线,可以储存很多数据。 二维数组则是它的进化版。 下面是一些关于一维数组的笔记。 一维数组: 在程序中可以使用下标变量,即说明这些变量的...
  • C++学习笔记(达内视频版)

    千次阅读 2014-07-15 22:42:30
    UNIX C++学习笔记
  • C++学习笔记--多进程

    千次阅读 2016-08-30 20:54:10
    C++并发编程有多线程和多进程两种方式,本文主要讲述进程和线程的概念,以及两者的区别,然后简单讲述如何使用Linux API进行多进程编程,多线程编程使用C++标准库即可实现,请参考C++学习笔记–多线程。
  • C++学习笔记汇总

    2020-04-30 18:44:04
    包含C++基础语法、STL、其他标准库、数据结构与算法、多线程编程、网络编程,以及刷题笔记
  • C++学习笔记:类的构造函数

    千次阅读 2019-05-11 18:16:07
    之前我讲了一下关于类的成员函数相关的内容C++学习笔记:类的成员函数的声明与定义 今天学习的类的构造函数是一种特殊的成员函数! 构造函数是用于给类的数据成员进行初始化的! 类的构造函数定义和声明的时候需要...
  • C++学习笔记之三五法则

    千次阅读 2016-01-20 23:12:09
    C++学习笔记之三五法则简介三五法则规定了什么时候需要拷贝构造函数、拷贝赋值函数、析构函数等1. 需要析构函数的类也需要拷贝构造函数和拷贝赋值函数。通常,若一个类需要析构函数,则代表其合成的析构函数不足以...
  • C++学习笔记 --- 指针练习
  • C++学习笔记之---内存管理

    千次阅读 2015-07-10 14:36:32
    C++学习笔记之---内存管理
  • C++学习笔记之---参数特性

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 45,530
精华内容 18,212
关键字:

c++学习笔记

c++ 订阅