-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.c
197 lines (139 loc) · 64.5 KB
/
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
/*
Compressed Trie Tree
GitHub - https://github.com/carlasanches/CompressedTrieTree
Author - Carla Sanches
*/
#include "CompressedTrie.h"
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <ctype.h>
#include <string.h>
int main(int argc, char *argv[]){
clock_t total;
total = clock();
if(argc != 3){
return 1;
}
if(strcmp(argv[2],"-interactive") != 0 && strcmp(argv[2],"-exp") != 0){
printf("parametro invalido!");
return 1;
}
FILE *pointer_txt;
char c;
char word[50];
char alphabet[26] = "abcdefghijklmnopqrstuvwxyz";
clock_t time;
double count_time = 0;
CompressedTrie tree;
Initialize(&tree);
int x;
for(x = 0; x < 50; x++){
word[x] = '\0';
}
pointer_txt = fopen(argv[1],"r");
if(pointer_txt == NULL){
printf("Erro - Arquivo nao encontrado");
return 1;
}
int position = 0;
c = tolower(getc(pointer_txt));
while(c != EOF){
int j = 0;
int i;
while(c != ' ' && c != EOF && c != '\n'){
for(i = 0; i < 26; i++){
if(c == alphabet[i]){
word[j] = c;
j++;
break;
}
}
c = tolower(getc(pointer_txt));
}
if(word[0] != '\0'){
position = ftell(pointer_txt) - (j+1);
time = clock();
Insert(tree.root, word, position);
time = clock() - time;
count_time += time;
for(x = 0; x < 50; x++){
word[x] = '\0';
}
}
c = tolower(getc(pointer_txt));
}
fclose(pointer_txt);
//PrintTrie(tree.root);
char aux_word[50];
strcpy(aux_word,"\0");
//PrintWords(tree.root,aux_word,0,0);
if(strcmp(argv[2],"-interactive") == 0){
Ocurrence ocurrences[1000];
char prefix[50];
int j;
while(strcmp(prefix,"0") != 0){
printf("\nEntre com o prefixo ou digite 0 para sair: ");
fflush(stdin);
scanf("%s", prefix);
if(strcmp(prefix,"0") != 0){
for(j = 0; j < 1000; j++){
ocurrences[j].word[0] = '\0';
ocurrences[j].num_ocurrences = -1;
}
ocurrences->num_ocurrences = 0;
Search(tree.root,prefix,aux_word,0,0,ocurrences);
printf(" Sugestoes: ");
j = 0;
while(ocurrences[j].num_ocurrences > 0){
printf("\n %s (%d)", ocurrences[j].word, ocurrences[j].num_ocurrences);
j++;
}
}
}
}
else if(strcmp(argv[2],"-exp") == 0){
Ocurrence ocurrences[1000];
clock_t t;
double count_t;
char *prefix[6105] = {"a","aback","abandon","abandoned","abandoning","abandons","abetting","abhor","abide","abilities","ability","able","ablebodied","ablebut","abode","abortive","about","above","abreast","absence","absent","absentminded","absolute","absolutely","absorbed","absorbing","abstracted","absurd","abusing","accent","accept","accepted","accepting","access","accessed","accessible","accessory","accidental","accompany","accomplice","accomplished","accord","accordance","according","account","accounted","accounts","accurate","accurately","accustomed","achievements","acknowledge","acknowledged","acquaintance","acquaintances","acquired","acrid","across","act","acting","action","actions","active","activity","acts","actual","actually","acute","add","added","addition","additional","additions","address","addressed","addresses","addressing","adhering","adjectives","admirable","admiration","admission","admit","admitted","ado","adopt","adopted","advance","advances","advantage","adventure","adventures","advice","advisability","advisable","advise","advising","affair","affairs","affected","affection","afforded","afoot","afraid","africa","african","after","afternoon","afterthoughts","afterwards","again","against","agape","age","ageblackened","agencies","agency","agent","agents","agentthat","agentthe","aghast","agile","agitated","agitation","ago","agonized","agony","agothe","agree","agreed","agreement","ah","ahead","aid","aided","aiding","ailing","air","ak","alarmed","alarms","alert","alertness","alighted","alive","all","allby","alley","allow","allowed","allows","ally","almoner","almost","aloft","alone","along","aloud","already","also","alteration","altered","alternate","alternative","alternatives","although","altogether","alton","always","am","amateur","amazed","amazement","amazing","ambitious","ambush","america","american","amiability","amiable","amid","among","amount","ample","amused","amusement","an","analogous","anatomy","ancestors","ancestral","ancient","and","anderson","angel","anger","angle","angry","anguishburst","animal","animation","announced","annoyance","anon","another","anothera","answer","answered","antennae","anthony","anthropological","anticipated","anticipation","antiquarian","antonio","anxieties","anxiety","anxious","any","anyhow","anyone","anything","anywhere","apart","apartment","apologies","apology","appalling","apparently","apparition","appeal","appeals","appear","appearance","appeared","appearing","appears","applicable","application","applies","apply","appointed","appointment","appreciate","appreciation","approach","approached","approaching","approbation","approval","apron","arch","architect","archive","are","argue","argued","argument","arguments","aright","arise","arm","armchair","armed","arms","around","aroused","arrange","arranged","arrangements","array","arrest","arrested","arrival","arrive","arrived","arrives","arrow","art","arthur","article","articles","articulate","artificial","artist","as","ascertain","ascii","ash","ashamed","ashes","aside","asis","ask","asked","asking","asleep","asperity","assassin","assist","assistance","assistants","associated","assumed","assumes","assurance","assure","astonished","astonishment","astounded","astronomer","astutely","at","atavism","athletic","atmosphere","atone","atrocious","attached","attachment","attacked","attacks","attain","attempt","attempting","attempts","attend","attendant","attended","attention","attentions","attentive","attire","attitude","attracted","attractions","au","audacious","audacity","austere","authenticity","author","authorities","authority","autobiography","autocrat","autumn","avail","available","availed","avenge","avenue","averted","avoid","avoided","awaited","awaiting","aware","away","awayyou","awful","awkward","awoke","axe","b","bachelors","back","background","bad","bade","badly","baffled","bags","bait","baker","balance","balanced","balcony","balks","balustraded","ban","band","bang","bank","banked","banks","banquet","banquetinghall","bare","bared","baronet","baronetit","baronets","barred","barrels","barren","barrister","barrow","barrymore","barrymores","bars","based","basis","baskerville","baskervilles","baskervillethat","baskets","bath","bathed","battle","baulk","baying","be","beak","beam","beams","bear","beard","bearing","beast","beat","beaten","beating","beauties","beautiful","beautifully","beauty","became","because","beckoned","become","becomes","becoming","bed","bedroom","bedrooms","been","beenyes","beetling","befall","befallen","before","beg","began","begin","beginning","begins","begun","behind","being","beings","belated","belgian","belief","believe","believed","bell","belliver","belong","belonged","below","bemused","bench","beneath","benevolence","benevolent","bent","bertillon","beryl","beside","besides","besmirched","best","betimes","betray","betrayed","better","between","betwixt","bewailing","bewildered","bewildering","beyond","bias","big","biggest","billiardroom","bills","binary","bind","biography","bird","birdpractically","bit","bite","bits","bitter","bitterly","bittern","bitterness","bitterns","black","blackbearded","blackclothed","blacker","blackguard","blackmailer","blackmailing","blackness","blame","blank","blankets","blast","blazed","blazing","bleak","bleaker","bless","blew","blindly","blinds","blinked","block","blood","bloodhound","bloody","bloom","blotched","blotting","blow","blown","blows","blue","bluish","blundering","blur","blurred","boards","boars","boded","body","bog","boggirt","boghole","bogie","bogs","boiling","boldest","bolt","bond","bonds","bones","book","books","booming","boot","boots","bootsgave","border","borders","bore","born","borne","borough","bosom","botanical","botany","both","bottle","bottles","bottom","bought","boulder","boulders","bouldersprinkled","bound","bounded","bounding","bounds","bourgeois","bow","bowed","box","boxroom","boy","boyish","boys","bracken","bradley","bradleys","brain","bramble","brambles","branches","brandy","brandybottle","brandyflask","bravely","bravest","breach","bread","breadth","break","breakfast","breakfasttable","breaking","breast","breastpocket","breath","breathed","breathing","breathless","breathlessness","breed","brewing","bribed","brick","bridge","bridle","bright","brightly","brilliant","bring","bringing","brings","bristled","bristling","british","broad","broader","broke","broken","bronze","bronzed","bronzing","brooding","brother","brotherinlaw","brothers","brought","brow","brown","brows","bruises","brunette","brusquely","brutal","brutality","brute","bubbling","buck","bucket","budget","building","buildings","built","bulbousheaded","bulk","bulky","bulldog","bundle","bundlethe","burden","burglar","burglaries","buried","burn","burned","burning","burrow","burrows","burst","bury","bushes","bushman","bushy","business","business@pglaforg","busy","busybody","but","butler","butlers","butt","butterflies","butterfly","butterflynet","by","bygone","byword","c","cab","cabinet","cabman","cabmans","cage","cairns","cajoled","calculate","calculated","calculations","calf","call","called","calling","calls","came","cameos","campaign","can","canada","candidate","candle","candlepower","candles","cane","cannot","canopy","cant","canvas","cap","capable","capit","capital","captive","card","cardiac","cards","care","cared","career","careful","carefully","careless","carelessness","caretaker","carolina","carouse","carpeted","car�re","carriage","carried","carries","carry","carrydignified","carrying","cartwright","case","cases","cast","casting","casually","cat","catastrophe","catch","catching","catlike","cattle","caught","cause","caused","causes","causing","caution","cautioned","cautious","cautiously","cavalier","cc","cch","cease","ceiling","celebrate","celt","celtic","central","centre","centred","centuries","century","ceremony","certain","certainly","certainty","chain","chair","chairman","chairs","chamber","chambermaid","chance","chanced","chances","change","changed","changes","channel","channels","chap","chapter","character","characteristic","characteristics","characters","charge","charged","charges","charing","charitable","charities","charity","charles","charless","charm","charming","charred","chase","chasing","chatted","check","checked","checkered","checking","checkmated","checks","cheeks","cheerful","chest","chief","child","childless","chill","chilled","chilling","chimerical","chiming","chimneys","chin","choleric","choose","chosen","christian","chronicle","chronicled","chuckles","chuckling","cigar","cigarash","cigarette","cigarettes","cigars","circle","circular","circumspect","circumspectly","circumstance","circumstances","city","clad","claim","claimant","claiming","clandestine","clanged","clapped","clarendon","classical","clay","clayton","clean","cleaned","cleaning","cleanliness","cleans","cleanshaven","clear","clearcut","cleared","clearer","clearing","clearly","cleft","clenched","clergyman","clerk","clever","cleverly","cleverness","click","client","clients","cliff","climate","climbed","climbing","cling","clink","clipped","clock","clogs","close","closed","closely","closer","closeted","closing","cloth","clothes","clotted","cloud","clouded","clouds","club","clue","clues","clump","clumsy","clung","cluster","clustered","clutch","clutches","clutching","coaching","coachman","coalblack","coalowner","coarse","coarseness","coast","coat","coatofarms","coats","coatsofarms","cobs","cocked","cocking","codes","coffee","coffeecup","coffeepot","coherent","coherently","coiled","coincide","coincidence","cold","coldblooded","coldly","collar","colleague","collected","collection","collector","college","colonel","colour","colourless","column","columns","combated","combination","come","comes","comfort","comfortable","comforts","comic","coming","command","commanding","commands","commend","comment","comments","commercial","commit","committed","committees","common","commoner","commoners","commons","commonsense","communal","communicate","communicated","communication","community","commutation","companion","companions","companionship","company","comparative","comparatively","compare","compared","compelled","compilation","complain","complaint","complete","completely","completing","complex","compliance","complicate","complicated","compliment","complimented","compliments","comply","complying","composed","composer","compressed","compromised","computer","computers","comrade","conan","conceal","concealed","concealment","conceivable","conceive","conceived","concentrated","concentration","concept","concern","concerned","concerning","concerns","concluded","conclusion","conclusions","conclusively","condition","conditions","condone","conduct","conductor","confederate","confess","confessed","confessing","confession","confidant","confided","confidence","confidences","confident","confidently","confine","confined","confirmation","confirmed","confound","confronted","confused","congenial","congratulate","conjecture","conjectured","conjectures","conjunction","connected","connection","connoisseur","conscience","conscientious","conscious","consent","consented","consequence","consequences","consequential","consider","considerable","considerably","consideration","considered","considering","considers","consisted","consistent","consolation","conspiracy","constable","constabulary","constant","constantly","constructed","construction","consult","consulted","consulting","consumed","consumptive","contact","contain","contained","containing","contains","content","contents","continually","continue","continued","continuous","contorted","contract","contractor","contrary","contrast","contributions","contrived","control","convenient","conversation","conversations","convert","convex","convey","convict","conviction","convictions","convicts","convince","convinced","convulsed","cooking","cool","coombe","copied","copies","copses","copy","copying","copyright","cordial","cork","corner","corners","coroner","coroners","corporation","correct","correctly","correspond","corresponded","corresponding","corresponds","corridor","corridors","corroborated","corroding","corrupt","cost","costa","costly","costs","cottage","cottages","cotton","couch","coughing","could","couldnt","counsel","counted","countenance","counteracting","countless","countries","country","countryman","countryside","county","couple","courage","course","courses","court","courts","cousins","cover","covered","covering","covers","covet","coward","cows","cracking","crackled","craft","crafty","craggy","craning","craniology","crank","crash","craven","crawl","crawled","crawling","crazed","crazy","crazythis","creak","creaked","created","creating","creation","creature","creatures","credit","credulous","creep","creeper","creeping","crenelated","crept","crest","crests","crevice","cried","criedholmes","cries","crime","crimes","criminal","criminals","criminology","crippled","crisis","crisp","critical","criticism","croaked","cross","crossed","crossexamined","crossing","crossquestioned","crouched","crouching","crowd","crowding","crudest","cruel","cruelhearted","crumble","crumbled","crumbling","crushed","crushing","cry","crying","cultivate","cultivating","cunning","cuplike","curiosity","curious","curiously","curlew","curling","curlyhaired","curlyheaded","current","curse","cursed","curt","curtain","curtains","curve","curved","curves","custom","cut","cuts","cutter","cutting","cyclopides","d","dabbled","dabbler","dainty","dais","damage","damaged","damages","damp","damper","danced","dancing","danger","dangerever","dangerous","dangling","dapper","dare","dared","daredevil","dares","dark","darker","darkest","darkeyed","darkling","darkness","darted","darting","dartmoor","dash","dashed","data","date","dates","daubed","daughter","daunted","day","daylight","days","daythursday","daytwo","de","dead","deadened","deadlock","deadly","deaf","deal","dealers","dealing","dear","death","deathand","deathly","deaths","deathwell","debris","debt","decade","decanter","decay","deceased","deceive","deceived","deceives","deception","deceptive","decide","decided","decision","declare","declared","declares","declaring","decorators","decoy","decoyed","decreased","deduced","deductible","deductions","deed","deep","deepest","deeply","deepset","defaced","defect","defective","defects","defectsif","defectwas","defend","defended","defiant","defiantly","deficient","defiled","define","defined","definite","defy","defying","degree","dejection","delay","delayed","deletions","deliberate","delicacy","delicate","delight","delighted","delightful","delirious","deliver","delivered","delugedthe","delusion","demand","demon","den","denied","dense","deny","depart","departed","departure","depend","depended","dependent","dependents","depends","depression","depths","derivative","derive","derived","descend","descendant","descended","describe","described","description","descriptions","desert","deserted","desertion","deserved","deserves","design","designs","desirable","desire","desired","desmond","desmonds","desolate","despair","despairing","desperate","desperately","despite","destined","destroy","destruction","detach","detaching","detail","detailed","details","detection","detective","detectives","determine","determined","developing","development","device","devil","devilish","devils","devon","devonshire","devote","devoted","dewlap","dexterity","diabolical","dialect","diary","dictated","did","didnt","didsome","die","died","differ","difference","differences","different","differenthad","difficult","difficulties","difficulty","dig","dilapidated","dim","dime","diminish","dine","dingy","dininghall","diningroom","dinner","dip","direct","directed","direction","directly","directness","director","directory","dirt","disadvantage","disappearance","disappeared","disappearing","disappointed","disappointment","disapprobation","disarmed","disarranged","disaster","disastrous","disc","discern","disclaim","disclaimer","disclaimers","disclosing","disconnected","discontinue","discouraged","discover","discovered","discovery","discreet","discuss","discussing","discussion","disease","diseased","disfavour","disgrace","disgraceful","disguise","disguised","disheartened","disk","dismal","dismay","disordered","dispatched","displaces","display","displayed","displaying","displeasure","dispose","disposition","dispossess","disregard","disrepute","dissent","dissuaded","dissuading","distance","distant","distasteful","distinct","distinction","distinctive","distinctly","distinguish","distinguished","distortionso","distracted","distractions","distrait","distressed","distribute","distributed","distributing","distribution","distributor","district","distrusted","divided","diving","divorce","do","doctor","doctors","doctrine","document","documents","doddering","does","dog","dogcart","dogged","dogging","dogs","doing","doingbut","dolichocephalic","dollars","domain","domestic","dominate","donate","donation","donations","done","donors","dont","doom","door","doors","doorstep","dot","double","doubled","doubt","doubts","down","downloading","downright","downs","downward","doyle","dr","drag","dragged","dramatic","draped","draw","drawing","drawn","dreadful","dreads","dream","dreamed","dreamer","dreary","dress","dressed","dressinggown","drew","drift","drifted","drifting","drifts","drily","drink","drinkwith","dripping","drive","driven","driver","driving","drivingwheel","drizzle","drop","dropped","drove","drunken","dry","due","dug","dull","dullless","duly","dupe","during","dusk","dusky","dusty","duty","dwell","dwelling","dwellings","dwelt","dying","dyspnoea","e","each","eager","eagerly","eagerness","ear","earlier","early","earn","earned","earnest","earnestly","earnestness","ears","earth","ease","easier","easily","east","easy","eat","eaves","ebony","ebook","ebooks","ecart�","eccentric","echoed","edge","edison","edition","editions","educated","education","educational","efface","effect","effective","effigy","effort","efforts","eh","eight","eighteenth","ein","either","elaborate","elbow","elder","elderly","elect","election","electric","electronic","electronically","elegance","elegant","elementary","eleven","elicited","eligible","eliminate","eliza","elizabeth","elizabethan","else","elucidate","email","embarrassed","emerged","emergencies","emergency","emerges","emotion","emotional","emotions","employ","employed","employee","employees","employment","emptied","empty","enable","enabled","enables","encouraged","encouraging","end","endangered","endeavour","endeavoured","endeavouring","ended","ends","endure","enemy","enemyit","energetic","energies","energy","engage","engaged","england","englandslim","english","engraved","enormous","enormously","enough","ensuring","entailed","entangle","entangled","enter","entered","enthusiasm","enthusiast","entirely","entitled","entity","entomology","entrance","envelope","epidemic","episode","episodes","equally","equestrian","equipment","equipped","equivocal","ere","errand","erroneous","errors","escape","escaped","especially","esquimau","essay","essential","establish","established","establishing","estate","etext","europe","even","evening","event","events","eventually","ever","every","everybody","everyone","everything","everywhere","evidence","evident","evidently","evil","exact","exactdr","exactly","exaggerate","exalted","examination","examine","examined","examining","example","excavating","exceedingly","exceeds","excel","excellent","except","exception","excite","excited","excitement","excitements","exciting","exclamation","exclusion","excursion","excuse","executive","executor","exempt","exercise","exercised","exertions","exhaust","exhaustion","exhibitions","existed","existence","exists","exit","exotic","expanse","expect","expectation","expected","expecting","expedient","expedition","expeditions","expend","expense","expenses","experience","experienced","experiences","expert","explain","explained","explanation","explanations","explanatory","exploit","explore","exporting","exposed","exposure","express","expressed","expression","expressive","expressly","exquisite","extended","extends","extensive","extent","extinct","extinctin","extra","extract","extracted","extracts","extraordinarily","extraordinary","extreme","extremity","extricated","exultant","exultation","eye","eyebrows","eyelids","eyes","eyeseyes","f","face","faced","faces","facial","facility","facing","fact","factor","factors","facts","faculties","faded","fading","fail","failed","faint","fainted","fair","fairbanks","fairly","fairy","faith","faithful","fall","fallacies","fallen","falling","false","familiar","families","family","famous","fancies","fancy","fangs","fantastic","far","fare","farm","farmer","farmers","farmhouse","farmhouses","farming","farrier","farther","farthest","fascinating","fascination","fashion","fashioned","fast","fastened","fatal","fate","fates","father","fathers","fathomed","fatigue","fault","favour","favourite","fear","feared","fearing","fears","features","february","fed","federal","fee","feeble","feel","feeling","feelings","fees","feet","fell","fellow","fellows","felony","felt","fence","ferns","fernworthy","ferocity","ferrule","fertile","fever","feverish","few","fidelity","field","fields","fiend","fiendish","fiends","fierce","fiercely","fiery","fifty","fight","fighting","fights","figure","figures","file","files","fill","filled","fills","final","finally","financial","find","finding","finds","fine","finely","finesse","finger","fingers","fingertips","finished","fir","fire","fired","fireplace","fires","firm","firmer","firmset","firs","first","firstclass","fissure","fist","fit","fitness","fits","fitted","fitting","five","fivefortylestrade","fivepound","fix","fixed","fixedly","fixing","fixture","flagons","flame","flaming","flank","flanked","flaring","flash","flashing","flask","flat","flattened","flatter","flaxenhaired","flecked","fled","fleet","flesh","fleshy","flew","flickered","flickering","flight","flinttipped","flippantly","floated","floating","flooded","floor","floundering","flourished","flowed","flung","flurried","flush","flushed","fluttered","fluttering","fly","flying","foaming","foeman","fog","fogbank","foggy","fogwreaths","foil","folded","foliage","folk","folkestone","follow","followed","following","follows","fond","food","fool","foolish","foolscap","foot","footing","footmark","footmarks","footprint","footprints","footsteps","for","forbear","forbid","forbidding","force","forced","forces","forcing","forearm","forefinger","forehead","foreign","foresaw","foresee","foreseeing","forever","forfeit","forgery","forget","forgetting","forgive","forgot","forgotten","form","formal","format","formation","formats","formed","formidable","forms","forth","forthwith","fortnight","fortunate","fortunately","fortune","forty","fortyeight","forward","forwarded","foul","foulmire","found","foundation","foundations","founded","four","fourteen","fourth","foxes","frame","framed","frank","frankest","frankland","franklands","frankly","frankness","fraser","frayed","freaks","freckled","freckles","free","freed","freedom","freely","freeze","french","frequently","fresh","freshness","friday","friend","friendly","friends","friendship","fright","frighten","frightened","frightful","fringe","frockcoat","from","front","froth","fruit","fruitless","fruits","fulfilling","fulfilment","fulham","full","fullest","fulsome","fumes","furious","furiously","furnish","furnished","furnishers","further","furtive","fury","future","gabled","gaelic","gag","gain","gained","gains","gainsaid","galleries","gallery","gallop","galloping","game","gap","gaping","garcia","garden","gasp","gasped","gate","gates","gateway","gather","gathering","gave","gazed","gazing","gbnewby@pglaforg","general","generation","generations","generosity","generous","genius","gent","gentleman","gentlemans","gentlemen","gently","gentry","george","german","gesticulated","gesture","gestures","get","getting","ghastly","ghost","giant","gifts","gig","gigantic","gipsies","gipsy","gipsys","girl","girlhood","girt","give","given","gives","giving","glad","glance","glanced","glances","glancing","glare","glared","glaring","glass","glasses","glasstopped","gleam","gleamed","gleaming","glee","glide","glimmer","glimmered","glimpse","glitter","gloom","gloomy","glories","gloss","gloucester","glow","glowed","glowing","gnarled","gnawed","gnaws","go","goals","goat","god","godforsaken","godless","godno","gods","goes","going","goingson","gold","golden","goldengreen","goldrimmed","gone","good","goodbye","goodday","goodmorning","goodnatured","goodness","gorse","gossip","got","govern","goyal","graciously","grandeur","granite","graniteflecked","granted","grasp","grasped","grasping","grass","grasses","grassgrown","grassy","grate","gratefully","gratitude","grave","gravel","graven","graves","gray","grayheaded","grayish","graywhiskered","grazed","grazier","great","greater","greatest","green","greenscummed","greensplotched","greeted","greeting","gregory","grew","grief","grievance","grievously","grim","grimpen","grin","grip","grips","groan","groaned","grocer","groom","grooms","gross","grotesque","ground","grounds","group","growing","growth","guarantee","guard","guarded","guardian","guess","guessed","guesswork","guest","guests","guide","guided","guides","guiding","guilt","guilty","guineas","gull","gum","gummed","gushed","gutenberg","gutenbergs","gutenbergtm","gutenbergtms","guttering","ha","habit","habitation","habits","habitually","hackles","had","hadnt","hailed","hair","hairy","hale","half","halffilled","halffull","halfmoon","halfpast","halfpenny","halfsheet","halfsovereign","halfstarved","halfway","hall","hallbaskerville","halloa","halt","halted","hamlet","hampered","hand","handed","handled","hands","handsome","hanging","hangs","hansom","happen","happened","happiness","happy","hard","hardened","hardfaced","hardheaded","hardly","hardness","hardships","hardy","hark","harm","harmless","harried","harsh","hart","hartstongue","has","haste","hat","hateful","hath","hatred","haughty","haunted","haunts","have","havent","having","haze","hazel","hazy","he","head","heading","headquarters","heads","healed","health","heap","heaped","hear","heard","heart","hearth","hearthrug","heartily","hearts","heartso","hearty","heathclad","heaven","heavens","heavily","heavy","heavyfeatured","hecould","hedge","hedges","heel","heels","height","heir","held","hell","hellfire","hellhound","hellish","help","helped","helping","helpless","helplessly","helps","hence","henry","henryall","henrydont","henryindeed","henrys","henrysthe","her","herboth","here","hereby","hereyou","hers","herself","hes","hesitate","hesitated","hesitation","hid","hidden","hide","hideous","hiding","hidingplace","high","highangled","highblooded","higher","highest","highly","hilarity","hill","hills","hillside","hillsides","hillsidethe","him","himin","himit","himself","hinted","hippocket","hired","his","hiss","hist","history","hit","hitherto","hobby","hold","holder","holding","holes","hollow","holmes","holmesif","holmesmy","holmess","holmessdid","holy","home","homely","homes","homeward","honest","honestly","honour","hope","hoped","hopeless","hopelessly","hopes","horizon","horrible","horribly","horror","horrorstruck","horse","horseback","horsedealer","horses","hospitable","hospital","hospitality","host","hot","hotel","hotels","hotly","hottentot","hound","hounds","hour","hours","house","household","householders","houseit","housekeeper","housephysicianlittle","houses","housesurgeon","hovered","how","however","howl","howling","http//gutenbergorg/license","http//pglaforg","http//pglaforg/donate","http//pglaforg/fundraising","http//wwwgutenbergorg","http//wwwgutenbergorg/////","http//wwwpglaforg","hue","huge","hugo","huguenots","hum","human","humble","humour","humoured","hunched","hundred","hundreds","hung","hunt","hunter","hunters","hunting","huntingcrop","hunts","hurl","hurled","hurried","hurriedly","hurry","hurt","husband","husbanda","husbands","hush","hushed","hut","huts","hypertext","hypotheses","hypothesis","hypothesiswho","i","ice","icefield","id","idea","ideals","ideas","identification","identify","identity","idle","if","ifrom","ignorant","ill","illdisposed","illness","illomened","illtreatmentthat","illusage","im","image","imagination","imagine","imagined","imagining","imaginings","immaculate","immaterial","immediate","immediately","immemorial","immense","immutable","impaired","impassable","impassive","impatience","impatient","impatiently","impending","impenetrable","implicate","implicating","implicit","implicitly","implied","imploring","importance","important","importantthe","imports","imposed","impossible","impress","impressed","impressing","impression","impressions","imprisoned","improvement","imprudent","impulse","in","inaccurate","inadequate","inadvertently","incessant","incessantly","inch","inches","incident","incidental","incidentally","incidents","incisive","incited","inclement","incline","inclined","inclining","include","included","includes","including","income","incompatible","incomplete","inconceivable","inconclusive","inconvenient","increase","increasing","increasingly","incredible","incredulity","incredulously","incriminating","indebted","indeed","indeedthe","indefinite","indelibly","indemnify","indemnity","independent","indescribably","indexed","indicate","indicated","indicating","indication","indications","indies","indifference","indifferent","indignation","indirect","indirectly","indiscreet","individual","individuals","indoor","indoors","indorse","indorsed","induce","industry","inert","inexorably","inexplicable","infamous","infamy","infatuated","inference","inferences","infernal","infinite","infirm","influence","information","informed","informing","infrequent","infringement","ingenious","inhabitants","inhabited","inherit","inheritance","inhospitable","initials","injunctions","injure","injury","injustice","ink","inkbottle","inkling","inn","innocent","inquest","inquire","inquired","inquiries","inquiring","inquiry","inscrutable","insect","insensible","inside","insignificant","insist","insisted","inspect","inspection","instance","instant","instantly","instead","instinct","instincts","instituted","instructions","instructive","instrument","intake","intellectual","intelligence","intend","intended","intends","intense","intensely","intensity","intent","intention","intentions","intently","interest","interested","interesting","interests","interfere","interfered","interference","interminable","internal","international","interpreted","interrogate","interrupted","interrupting","interruption","interruptionand","interval","intervened","interview","intimacy","intimate","intimately","into","intolerable","intolerant","intrigue","introduce","introduced","introducing","introduction","introductions","intrude","intrusion","invalid","invalidity","invaluable","investigate","investigating","investigation","investigations","investigator","invisible","invitation","invoke","involved","inward","iron","ironical","irregular","irrelevant","irresolute","irresolution","irretrievably","irrevocable","irs","is","island","islands","isnt","issue","iswhy","it","item","itjust","its","itself","itthe","ive","ivernian","ivy","jack","jackson","jagged","james","jaunty","jaw","jaws","jealousy","jerky","jessamine","john","johnson","join","joke","jolted","journal","journey","journeys","jove","joy","judge","judicial","jumpy","juncture","jury","jurymen","just","justice","justification","justified","justly","jutted","keen","keenly","keep","keeping","kennelled","kept","kerchief","key","kill","killed","kin","kind","kindest","kindly","kindness","kinsman","kitchen","knee","knees","kneller","knew","knight","knitted","knocked","know","knowhow","knowing","knowledge","known","knows","knowthat","kpehtla","l","labouring","labours","lace","lack","lad","ladies","lady","ladys","lafter","laid","lair","lake","lamp","lamps","lancet","land","landmarks","lands","landscape","lanes","language","languid","lantern","large","largely","larger","lass","last","latch","late","later","latest","latter","lattice","latticed","laugh","laughed","laughing","laughter","laura","law","laws","lawsuits","lawyer","lay","laying","lbut","lead","leaded","leader","leading","leads","leagues","leaned","leanjawed","leaped","leaping","learn","learned","least","leather","leathers","leave","leaves","leaving","led","leeds","left","legacy","legal","legally","legend","legends","legible","legislation","legs","leisure","length","lengthened","lens","lepidoptera","les","less","lessons","lest","lestrade","let","letter","letters","level","liability","liable","liberal","library","license","licensed","lichens","lids","lie","lied","lies","lieu","life","lifeless","lifetime","lift","lifted","light","lightbut","lighted","lighter","lighting","lightly","lights","like","liked","likely","likes","limb","limbs","limitation","limited","limits","limp","line","lined","linen","lines","linked","links","lintel","lioness","lip","lips","lisp","lisping","list","listen","listened","lit","literary","litigation","litter","littered","little","live","lived","lively","lives","livid","living","loaf","loath","local","localize","located","locations","lock","locked","lodge","lodged","lodgegates","loft","lofty","logfire","logical","loiter","loiterers","london","loneliness","lonely","long","longer","longstanding","look","looked","looking","loom","loomed","loopholes","loose","loosed","looseness","lord","lose","losing","loss","lost","lot","loud","louder","loudly","love","loved","lovelocks","lovely","lovers","low","lower","lowered","luck","lucky","luggage","luminous","lunch","lunched","luncheon","lunching","lure","lurk","lurked","lurking","lurks","lush","luxuriant","lying","lyons","lyonsher","lyonsit","machine","mad","madam","maddest","made","madly","madman","magnates","maid","maiden","maids","main","maintaining","make","makes","making","malevolent","malignancy","malignant","malignantly","man","manage","managed","management","manager","mangled","mangles","manifesting","manner","manno","manor","manorial","mans","manservant","manuscript","many","map","marble","march","marcinis","mare","marestails","mark","marked","marking","marks","marred","marriage","married","marry","marvel","marvellous","mask","masked","master","mastered","masterful","masters","mastiff","match","material","matted","matter","matters","maxillary","maximum","may","mayor","maze","me","meal","mean","meaning","means","meant","meanwhile","measures","meat","mechanical","medical","medium","meekly","meekmannered","meet","meeting","meets","melan","melancholy","mellow","member","members","memories","memory","men","menacing","mental","mention","mentioned","mepeace","merchantibility","mercury","mercy","mere","merely","merged","merriment","merripit","meshes","message","messenger","met","methe","method","methods","mexborough","meyers","meyou","miasmatic","michael","michaelmas","middevon","middle","middleaged","middletons","might","mighty","mild","mile","miles","million","millions","mind","minds","mine","miners","mingled","minister","minstrels","minute","minutes","mire","miry","miscalculation","miscarried","mischief","mischievous","miserable","misery","misfortune","mislaid","miss","missed","missing","mission","mississippi","mist","mistake","mistaken","mister","mistera","mistress","mixture","mlle","mme","moan","moaned","moaning","moderate","modern","modest","modification","modified","moment","moments","money","monkey","monograph","monoliths","monotonous","monsieur","monstrous","months","montpensier","mood","moon","moonlight","moor","moorgate","moorland","moorlands","moorpath","moping","morass","more","morland","morning","mornings","mortal","mortimer","mortimerand","mortimers","moss","most","mostand","moth","mother","mothers","moths","motionless","motive","motives","mottled","mould","mountain","mounted","mourn","mourning","mouth","mouthful","move","moved","movement","movements","moves","moving","mr","mrcs","mrs","much","muchand","mud","muffled","mullioned","murder","murderedthe","murderer","murderous","murders","murmur","murphy","museum","musical","must","mute","mutilated","mutter","muttered","mutual","muzzle","my","myself","mysteries","mysterious","mystery","nails","nailscissors","naked","name","named","names","narrative","narrow","natural","naturalist","naturalists","naturaliststapleton","naturally","nature","near","nearer","nearest","nearly","necessarily","necessary","neck","need","needed","needs","negative","neglected","negligence","negro","neighbour","neighbourhood","neighbours","neither","neolithic","nephew","nerve","nerves","nervous","nervously","net","nets","network","neutral","never","new","newby","newcastle","newcomer","news","newsletter","newspaper","next","nextofkin","niches","night","nightly","nights","nine","nipped","no","nobody","nocturnal","noise","noiselessly","noises","noisy","non","none","nonpareil","nonproprietary","nonsense","noor","nor","north","northumberland","nose","nostrils","not","notdont","note","noted","notes","nothing","nothingnothing","notice","noticed","notifies","noting","notion","notorious","notting","novel","november","now","nowhere","nowso","numb","number","numerous","nursed","nursery","o","oak","oaks","oaths","obedience","obeyed","object","objection","oblige","obliged","obscene","observation","observations","observe","observed","observes","observing","obsolete","obstacles","obtain","obtained","obtaining","obvious","obviously","occasion","occasional","occasionally","occasions","occupant","occupation","occupied","occupy","occur","occurred","occurrences","occurring","ocean","oclock","oct","october","odds","odour","of","off","offer","offered","offers","office","officeand","officer","offices","official","offof","often","oh","old","older","oldfashioned","oldmore","oldtime","oldworld","olive","olivers","on","once","one","oneonly","onerous","ones","onethe","online","only","onto","onward","oozed","open","opened","opening","openly","opens","opinion","opponent","opponents","opportunities","opportunity","opposite","opposition","or","orchard","orchid","orchids","ordeal","order","ordered","orders","ordinary","ordnance","organic","organized","origin","original","originally","originator","ornament","other","others","otherwise","ought","our","ourselves","out","outburst","outcome","outdated","outfit","outhouse","outline","outlined","outlook","outlying","outpaced","outrage","outre","outset","outside","over","overcoat","overcome","overhear","overhung","overlap","overlooked","overtake","overtaken","overtaking","overtook","overwhelmed","owe","owed","own","owned","owner","owns","oxford","p","pace","paced","paces","pacify","pack","paddington","padlocked","page","pages","paid","pain","painful","pains","paint","pair","pairs","pale","palefaced","paler","pallid","pane","panelling","pannikin","panting","paper","papers","paperwork","paragraph","paragraphs","parallel","paralyze","paralyzed","paralyzing","pardon","pardoned","parietal","parish","parishes","park","paroxysm","part","parted","particle","particular","particularly","particulars","parting","partly","parts","party","pass","passage","passed","passes","passing","passion","passionate","passionately","passions","past","paste","pasted","pasting","pasture","patch","patched","patches","patent","path","pathological","pathology","paths","pathway","patience","patient","patiently","patter","pause","paused","pawing","pay","paying","payments","pays","peace","peaceful","peaches","peak","pealed","peasant","peasants","peat","peaty","peculiar","peculiarity","pedestal","peeped","peered","peering","pen","penang","pencil","penetrate","penetrated","peninsula","penny","people","peoples","perceive","perceptibly","perchanceto","peremptory","perfect","perfectly","perform","performances","performed","performing","perfumes","perhaps","perhapsupon","perilous","period","periodic","periodically","perish","perkins","permanent","permanently","permission","permit","permitted","perplexity","persecuting","persecution","perseverance","person","personal","personification","persuade","pet","pg","pglaf","phantom","phosphorus","photograph","phrase","phrases","physical","picked","picker","picnic","picture","pictured","pictures","piece","pieces","pierced","piercing","pike","pile","pillar","pillars","pin","pined","pink","pinnacle","pinpoint","pipe","piqued","pistol","pistoling","pistols","pit","pitchdark","piteous","pits","pitt","pittance","pity","place","placed","placehis","places","placid","placing","plagued","plain","plainly","plan","plank","planning","plans","planted","plants","platform","play","played","playing","pleasant","please","pleased","pleasure","pledge","plenty","plot","plough","plucked","plucking","plume","plumed","plunged","plymouth","poaching","pocket","pocketbook","point","pointed","pointing","points","poised","poisonous","police","policeman","ponies","pony","pool","pools","poor","pope","popular","popularity","porch","porter","porters","portion","portrait","portraits","pose","position","positive","positively","possess","possessed","possesses","possessing","possession","possessor","possibility","possible","possibly","post","posted","posting","postmark","postmaster","postmortem","postpone","postscript","pots","pound","pounds","poured","pouring","power","powerful","powerless","powers","ppehtla@nfldcom","practical","practically","practice","practised","practitioner","prairie","praise","pray","prayed","prayer","precaution","precautions","preceding","precious","precipice","precipitous","precise","precisely","predict","prefer","preferred","prehistoric","preoccupations","preoccupied","preparation","preparations","prepare","prepared","presence","present","presentation","presented","presents","preserve","preserved","press","pressed","pressing","pressure","presume","presuming","presumption","pretend","pretended","pretext","prettily","pretty","prevent","prevented","previous","prey","price","prickings","pride","prim","primfaced","princetown","principal","print","printed","prints","prison","prisoner","private","privilege","prize","probabilities","probability","probabilityand","probable","probably","problem","proceed","proceeded","proceeding","proceedings","processing","procured","produce","produced","production","profane","profess","professed","profession","professional","professionals","professor","profile","profiles","profit","profits","programme","progress","prohibition","project","projected","projecting","prolonged","prominently","promise","promised","promoting","promotion","prompt","promptness","proof","proofread","proofs","proper","property","propitious","proportion","propose","proposed","proposition","proprietary","prosaic","prosecute","prospect","prosperity","prosperous","prostrate","protect","protecting","protection","protective","protest","proud","prove","proved","provide","provided","providence","providing","proving","provision","provisions","prowling","psychology","public","publicity","puffing","pugnacious","pulled","punctual","punish","punishes","punitive","pure","puritanical","purloined","purpose","purposeful","purposeless","purposes","pursue","pursued","pursuing","pursuit","pushed","pushing","put","puts","putting","puzzle","puzzled","puzzles","quagmires","quality","quantity","quarry","quarter","quarters","queens","queer","queerest","quest","question","questionable","questioning","questioningstared","questions","quests","quick","quickened","quickly","quickness","quiet","quietly","quit","quite","quivered","quivering","quote","quoted","race","racing","radius","raftered","rafters","rage","ragged","railwaycarriage","rain","raining","rainlashed","rains","raise","raised","rake","ran","rang","rank","rapidly","rare","rascal","rascals","rash","rate","rather","rattle","ravens","raw","rays","reach","reached","reaching","reaction","read","readable","reader","readiness","reading","readingfrankland","readjusted","ready","real","reality","realize","realized","really","realm","rearadmiral","reason","reasonable","reasoned","reasoner","reasons","reassuring","rebellion","recalled","recapture","receipt","receive","received","receives","receiving","recent","recess","recital","reckless","reckoned","recognition","recognize","recognized","recognizing","recollection","recollections","recommend","recommended","reconcile","reconstruct","reconstruction","record","records","recover","recovered","recruited","recur","recurred","red","redfaced","redhanded","redistribute","redistributing","redistribution","redletter","reeds","reek","reentered","reference","references","referred","referring","reflected","reflection","refolded","refreshing","refuge","refund","refurnished","refuse","refused","regaining","regard","regarded","regarding","regency","regent","regina","region","register","registered","registry","regret","regretted","regular","regulating","reign","reincarnation","rejected","rejoice","rejoin","relate","relation","relations","relax","relaxation","release","relief","relieve","remain","remainder","remained","remaining","remains","remark","remarkable","remarkablelooking","remarked","remarks","remedies","remember","remembered","remembering","remembrance","remington","remove","removed","removing","renamed","render","rendezvous","renew","renovated","repair","repaired","repay","repeat","repeated","repentance","replace","replaced","replacement","replies","reply","report","reported","reporting","reports","representations","representative","representing","repressing","reproach","reproached","reproved","reputation","repute","request","require","required","requirements","rescue","research","researches","resembled","reserved","resided","residence","resident","residents","residue","resignation","resist","resistance","resisted","resisting","resonant","resource","resources","respect","respectable","respectful","responsibility","responsible","rest","rested","restless","restlessly","restoration","restore","restraint","restrictions","rests","result","results","resumed","reszkes","retained","retaining","reticent","retire","retired","retiring","retraced","retreat","retrospection","return","returned","returning","returns","reuse","revealed","reveals","revellers","revenue","revered","reverence","reverential","reversion","revoir","revolver","reynolds","ribs","rica","rich","richer","riches_","rid","riddle","ride","ridge","riding","rifle","rifles","rifts","right","rights","rigid","ring","ringed","ringlets","rings","ripen","ripple","rise","risen","rising","risk","rival","road","roar","roaring","robust","rock","rocks","rockthe","rode","rodger","rodney","roll","rolled","rollers","rolling","rolls","romantic","roof","roofed","roofs","room","rooms","rope","rose","ross","rotting","rough","roughened","roughlooking","roughly","roughshod","round","rounded","routine","row","rows","royalties","royalty","roysterer","roysterers","rubbed","rubbing","rubbish","ruddy","ruddytinted","rude","rudeness","rueful","ruffianly","rugged","ruin","rules","rumble","rumours","run","runners","running","runs","ruse","rushed","rushes","rushing","russet","russia","rustle","rustling","rustycoated","s","s/he","sacred","sad","saddest","saddle","sadly","sadness","safe","safely","safer","safety","said","saintly","saints","sake","salt","saluted","same","sane","sanity","sank","sat","satisfaction","satisfactory","satisfied","satisfy","saturday","sauntering","savage","savages","save","saved","saw","say","saying","says","scaffold","scale","scandal","scandalous","scarce","scare","scared","scarlet","scarred","scattered","scene","scenery","scenes","scent","scheme","schemer","schemes","scheming","scholastic","school","schoolmaster","schoolmastering","science","scientific","scientifically","scion","scissors","scope","score","scored","scorn","scoundrel","scratched","scratching","scrawled","scrawling","scream","screama","screamed","screaming","screamsand","screamsmy","screen","scribbled","script","scrub","scuffling","scullerymaid","sea","sealed","seamed","search","searched","seasons","seat","seated","seclusion","second","seconds","secrecy","secret","secretly","secrets","section","sections","secure","secured","securities","sedges","see","seeing","seeking","seem","seemed","seeming","seems","seen","seewhy","seize","seized","selden","seldens","seldom","select","selfcontained","selfimportance","selfish","selfishness","selfrespect","selfrespecteverything","send","sending","senior","sensational","sense","senses","sensitive","sent","sentence","sentiment","sentimental","separated","separating","sequence","series","serious","seriously","serpent","serrated","servant","servants","serve","served","service","set","settee","setting","settle","settled","settlement","settles","settling","seven","seventyfive","several","severe","severely","shade","shaded","shadow","shadowed","shadows","shadowy","shaft","shag","shake","shaken","shaking","shall","shame","shamefullyshamefully","shape","shaped","shapes","share","shared","sharing","sharp","sharpened","sharply","shattered","shawl","she","shed","sheep","sheepdog","sheepdogs","sheeppens","sheer","sheet","sheets","shelf","shells","shelter","sheltered","shelterless","shepherd","shepherds","sherlock","shield","shilling","shillings","shimmering","shines","shining","ship","shipleys","shipping","shirt","shirtcuff","shiver","shivered","shivering","shock","shocked","shocking","shone","shook","shoot","shooting","shop","shopping","shores","short","shortbladed","shorter","shortly","shot","shots","should","shoulder","shoulders","shouting","show","showed","showery","showing","shown","shows","shrank","shrewd","shrieked","shrinks","shrubbery","shrug","shrugged","shudder","shuddered","shuffled","shut","sick","side","sides","sigh","sight","sign","signal","signed","significance","signs","silence","silent","silhouetted","silk","silver","silvered","silvering","silverplated","silverspangled","silvertipped","similar","simple","simply","sin","since","sincere","singing","single","singleminded","singular","singularly","sinister","sink","sinking","sinner","sir","siri","sirone","sirselden","sister","sisters","sit","site","sitting","sittingroom","situation","six","size","skein","skeleton","sketch","sketching","skill","skinclad","skins","skirt","skirted","skull","sky","skyline","slab","slanting","slap","slatecoloured","slaughter","sleep","sleeper","sleeps","sleeve","sleeves","slightest","slim","slime","slimy","slinking","slip","slope","slopes","slovenly","slowly","sluggish","slumbered","slumbers","small","smaller","smart","smell","smile","smiled","smiling","smoke","smokedarkened","smoking","smooth","smoothly","smouldered","smouldering","smudge","smudged","snap","snapped","snatched","sneaked","sniff","sniffing","snips","so","soared","sob","sobbing","sober","sobs","society","sodden","soft","softened","softly","soil","soldier","soldierly","solemn","solicit","solicitation","solicitations","solid","solitary","solitude","solve","solved","sombre","some","somebody","someone","somersault","something","sometimes","somewhat","somewhere","son","sons","soon","sooner","sorely","sorrow","sorry","sort","sosuppose","sought","soul","souls","sound","sounded","sounds","source","south","southampton","southwest","souvenir","sovereign","space","spaces","spaniel","spanish","spanishamerican","spanned","spare","sparkling","sparsely","spartan","spasm","speak","speaks","special","specialist","specific","specified","specimens","specious","speck","spectacle","spectacles","spectral","speculation","speed","spent","spirit","spirits","spiritual","spite","spiteful","splendid","splintered","spluttered","spoilsport","spoke","spoken","spot","spots","spotted","sprang","spread","spreadeagled","spring","springing","sprinkled","sprung","spur","spy","squalls","square","squares","squat","squire","squires","st","staff","stage","stagger","stags","stained","stair","stairs","stake","stamfords","stammered","stamped","stand","standing","stands","staple","stapleton","stapletons","stare","stared","staring","starlit","stars","start","started","starting","starved","starving","state","statement","statements","states","station","stationdr","stationmaster","statue","status","stay","stayed","staying","stays","steadfast","steadily","steady","steal","stealth","stealthily","stealthy","steel","steep","steer","step","stepdaughter","stepped","steps","stern","sternly","stick","still","stillness","stimulated","stimulating","sting","stirred","stole","stolen","stolid","stolidly","stone","stones","stonestrewn","stoniest","stony","stood","stooped","stooping","stop","stopped","stopping","stops","stored","stories","storm","story","stout","straight","strain","strained","straining","straitjacket","strand","strange","strangely","stranger","strangest","strangling","straw","streaks","stream","streams","street","strength","stress","stretch","stretched","stretching","strict","stride","strident","strike","strikes","striking","strikinglooking","string","strings","strip","stroll","strolled","strolling","strong","stronger","strongest","strongly","strongminded","struck","struggled","stub","stuck","student","students","studies","study","studyit","stumbled","stunted","stupid","sturdily","subdued","subject","submission","submitted","subscribe","subtle","subtly","succeed","succeeded","success","successes","successful","successfully","succession","such","sucked","sucker","sudden","suddenly","suffer","suffered","sufficient","suggest","suggested","suggesting","suggestion","suggestive","suggestiveness","suggests","suggestshalloa","suit","suitor","suitoreven","suits","suitthe","sulphur","sum","summerhouse","summit","summons","sums","sun","sundown","sunken","sunlight","sunlit","supernatural","supernaturalists","supersede","superstition","superstitious","supper","suppers","supple","supplied","supplies","support","suppose","supposed","supposing","supposition","suppressed","supraorbital","supreme","sure","surely","surest","surface","surgeons","surgery","surges","surgical","surmise","surmises","surmounted","surprise","surprised","surprising","surround","surrounded","surrounding","surroundings","surveyed","survive","suspect","suspected","suspects","suspicion","suspicions","suspicionsnot","suspicious","swallow","swallowed","swamp","swan","swarm","swathed","sway","swayed","swear","swedish","sweeps","sweet","swelled","swelling","swept","swift","swiftly","swirl","swollen","sword","swore","sworn","swung","symptom","synonymous","system","table","take","taken","takes","taking","tale","tales","talk","talked","talking","tall","taller","tan","tangle","tangled","tapered","tapped","tariff","task","taste","tastes","tax","taxed","taxes","taxpayer","teach","tear","tears","tearstained","teens","teeth","telegram","telegrams","telegraph","telegraphoffice","telescope","tell","telling","telltale","temper","temperament","tempestuous","temples","temporary","ten","tenacious","tenacity","tenant","tends","tense","terminate","terms","terrible","terriblea","terrier","terrified","terror","test","testily","testimonials","testimony","th","tha","thall","than","thank","thankfulness","that","thats","the","their","them","themand","themselves","then","thence","theophilus","theories","theorizing","theory","there","therefore","thereof","theres","these","they","theyll","theyve","thick","thickiron","thickly","thieves","thighdeep","thin","thing","things","think","thinking","thinks","thinlipped","thinner","thins","third","thirteen","thirty","this","thornbush","thoroughly","thorsley","those","though","thought","thoughtfully","thoughts","thousand","thousands","thread","threads","threaten","threatened","threats","three","threequarters","threshold","threw","thrill","thrilled","throat","throbbing","through","throughout","throw","throwback","throwing","thrown","thrust","thud","thumbed","thunder","thus","tide","tied","tight","tightly","timber","time","times","timescartwright","timestained","tin","tinge","tinged","tingled","tingling","tinned","tins","tinted","tiny","tips","tiptoe","tiptoed","tire","tired","title","to","tobacco","tobacconist","today","toes","toff","together","toiling","told","tolerate","tomorrow","tone","tongue","tonight","too","took","tool","tooshe","top","topped","tor","torches","tore","torn","toronto","torrent","tors","tortured","tossed","tossing","total","touch","touched","tourist","towards","towel","towers","town","trace","traced","tracery","traces","tracey","track","trade","trademark","trademark/copyright","trafalgar","traffic","tragedy","tragic","trail","trailed","trailing","train","trained","training","transcribe","transcribing","transcription","transfixed","trap","trapdoor","travel","travelled","treacherous","tread","treat","treated","treating","treatment","trees","trembled","trembling","trench","trenchers","trend","trespass","trial","trick","tried","trifle","trifles","trifling","trigger","trimmings","tripod","triumph","trivial","tropical","trouble","troubled","troubling","trousers","true","trust","trusted","trustee","trustworthy","trusty","truth","truthful","try","trying","tuft","tug","tugging","tumbledown","tunnel","turf","turn","turned","turning","turns","turpey","turrets","tutor","twain","tweed","twelve","twenty","twentyfour","twentythree","twice","twilight","twin","twirled","twisted","two","twogaunt","txt","type","types","typewriter","typewriting","typical","tyrant","ugly","unable","unambitious","unannounced","unarmed","unbroken","uncancelled","uncanny","uncertain","uncle","uncles","uncomfortably","uncommon","unconcerned","unconcernedly","unconscious","uncontrollable","uncouth","uncurtained","undeceived","undeniable","under","undergo","underrated","understand","understanding","understood","undertake","undertaking","undoing","undoubtedly","undulating","undulations","uneasiness","uneasy","uneducated","unemotional","unenforceability","unexpected","unexpectedly","unexplained","unexplored","unfair","unfairly","unfortunate","unfortunately","unfounded","unfruitful","unfurnished","unhappy","uniform","uniforms","unimaginative","uninteresting","unique","unite","united","unjustifiable","unkennel","unknown","unless","unlike","unlikely","unlimited","unlink","unmarried","unmistakable","unmitigated","unnatural","unnecessary","unoccupied","unpleasant","unpractical","unprotected","unrolled","unsafe","unseen","unsigned","unsolicited","unspoken","unswathed","untenanted","until","untimely","unusual","unwarlike","unwonted","up","updated","uplands","upon","upper","upright","uproar","upshot","upstairs","upthank","upward","upwood","urchin","urged","urgency","urgent","us","use","used","useful","useless","user","using","usthe","ustomorrow","usual","usually","ut","utensils","utmost","utterance","uttered","v","vague","vaguely","vagueness","vain","valley","valour","valuable","value","vandeleur","vandeleurs","vanilla","vanish","vanished","vanishes","vapour","variety","various","varnished","vast","vastness","vatican","vegetation","vegetationsad","vehemence","vehicles","veil","veins","velvet","venerable","vengeance","venture","verdict","version","very","vestry","vexation","vexed","vibrated","vicious","victim","view","viewed","viewing","views","viewthe","vigil","vile","village","villagers","villain","villainy","violates","violence","violent","violently","violet","violin","virus","visible","vision","visit","visited","visiting","visitingcard","visitor","visitors","vixen","voice","voices","void","volunteer","volunteers","voyage","vulnerable","wagonette","waist","wait","waited","waiter","waiting","wakeful","walk","walked","walking","walks","wall","walled","walls","wand","wander","wandered","wands","waning","want","wanted","wanting","wanton","wants","warder","warders","wardrobe","warily","warmly","warmth","warn","warned","warning","warningit","warnings","warrant","warranties","warranty","warren","wary","was","wasnt","waste","wastedmy","wastepaper","watch","watched","watcher","watches","watchful","watchin","watching","water","waterloo","watermark","waterplants","waterproof","watery","watson","watsonan","watsoni","watsonrefined","watsonrunning","watsons","waved","wavering","waving","way","wayhis","ways","wayside","we","weak","weal","wealth","wealthy","weapon","wearing","weary","weather","weatherbeaten","weatherbitten","weaving","web","week","weeks","weep","weighed","weighing","weight","weird","weirdest","welcome","welfare","well","wellestablished","wellesteemed","wellhedged","wellknown","wellmarked","wellpolished","welltrained","wench","went","wept","were","west","western","westmoreland","wet","weve","what","whatever","whats","whatsoever","wheel","wheels","when","whence","whenever","where","whereat","whereby","whether","which","whichever","while","whim","whimpering","whip","whiplash","whipped","whisked","whiskers","whisper","whispered","whistling","white","whitehaired","whither","who","whole","whom","whose","whowhos","why","whywhy","wicked","wicketgate","wide","widened","wider","widespread","widest","widestretching","widower","wife","wig","wigwams","wild","wilder","wilderness","wildly","wilful","will","willed","william","willing","wilson","wily","win","wind","windless","window","windows","winds","windswept","wine","wing","wings","winner","wire","wired","wiry","wisdom","wise","wisely","wiser","wisest","wish","wished","wishes","wishing","wisp","wisps","wit","with","withdraw","withdrew","withheld","withholding","within","without","witness","witnessed","witnesses","wits","wizened","woman","womans","women","won","wonder","wondered","wonderful","wondering","wont","wood","wooden","woodlands","wooing","wooingand","wool","woolly","word","words","wore","work","worked","working","works","world","worldly","worldthe","wormeaten","worn","worry","worse","worst","worth","worthless","worthy","would","wouldnt","wound","wounded","wreaths","wretch","wretchs","wringing","wrinkled","writ","write","writer","writhing","writing","written","wrong","wrote","wrought","wrung","wwwgutenbergorg","yard","yards","yawned","year","years","yell","yellow","yeoman","yes","yesterday","yesterdays","yet","yew","yonder","yonderhe","york","yorkshire","you","youll","young","younger","youngest","your","youre","yours","yourself","yourselves","youth","youve","zeal","zigzag","zigzagged","zip","zoology"};
int i, j;
for(i = 0; i < 6105; i++){
for(j = 0; j < 1000; j++){
ocurrences[j].word[0] = '\0';
ocurrences[j].num_ocurrences = -1;
}
ocurrences->num_ocurrences = 0;
t = clock();
Search(tree.root,prefix[i],aux_word,0,0,ocurrences);
t = clock() - t;
count_t += t;
/* printf("\n Sugestoes: ");
j = 0;
while(ocurrences[j].num_ocurrences > 0){
printf("\n %s (%d)", ocurrences[j].word, ocurrences[j].num_ocurrences);
j++;
}*/
}
FILE *pointer_txt_write;
pointer_txt_write = fopen("time.csv","a");
if(pointer_txt_write == NULL){
printf("Erro - Arquivo nao encontrado");
return 1;
}
fprintf(pointer_txt_write, "%f,%f,\n", count_time, count_t);
fclose(pointer_txt_write);
}
FreeMemory(tree.root);
free(tree.root);
total = clock() - total;
FILE *pointer_txt_write;
pointer_txt_write = fopen("total-time.csv","a");
if(pointer_txt_write == NULL){
printf("Erro - Arquivo nao encontrado");
return 1;
}
fprintf(pointer_txt_write, "%lf\n", (double) total);
fclose(pointer_txt_write);
return 0;
}