aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Wang2020-05-30 04:06:29 +0000
committerrepl.it user2020-05-30 04:06:29 +0000
commit9895a8346b3f75a1427dcb78f36e67c440ee0139 (patch)
treee6bb103df97c528ba0f15fa7cb0a3e561eb066d0
parentef5ba0caeede8712d9ed130a8e73fef02e264528 (diff)
Latest version
-rw-r--r--.replit2
-rw-r--r--README.md1
-rw-r--r--adjlist200
-rw-r--r--fullist500
-rw-r--r--nounlist200
-rw-r--r--verblist200
6 files changed, 1102 insertions, 1 deletions
diff --git a/.replit b/.replit
index 9958aaf..330a26e 100644
--- a/.replit
+++ b/.replit
@@ -1,2 +1,2 @@
language = "cpp"
-run = "g++ src/*.cpp -o compress -std=c++1y; echo Compilation done; ./compress soc1.txt 50"
+run = "g++ src/*.cpp -o compress -std=c++1y; echo Compilation done; ./compress soc1.txt 89"
diff --git a/README.md b/README.md
index 9ee960a..628e908 100644
--- a/README.md
+++ b/README.md
@@ -3,4 +3,5 @@
## Usage
Compile: `g++ src/*.cpp -o compress -std=c++1y`
+
Run: `./compress [input file] [compression ratio]` \ No newline at end of file
diff --git a/adjlist b/adjlist
new file mode 100644
index 0000000..c3254d8
--- /dev/null
+++ b/adjlist
@@ -0,0 +1,200 @@
+good 231605
+other 215885
+more 204207
+new 184735
+many 151831
+first 122599
+great 112203
+such 96282
+own 80354
+few 79347
+same 79274
+high 78209
+last 77135
+most 69223
+different 68446
+small 61453
+large 59995
+important 58807
+next 57079
+big 56641
+little 53993
+old 53835
+social 53217
+able 52787
+available 52513
+online 52116
+free 48563
+long 47269
+easy 47229
+local 45900
+much 44002
+several 41300
+full 41250
+real 41198
+sure 39843
+public 39216
+possible 38240
+least 37647
+bad 37080
+personal 35343
+low 35335
+late 33974
+young 33739
+hard 33348
+current 31799
+only 31724
+right 31587
+second 30897
+early 30367
+special 30135
+simple 30023
+major 27928
+human 27633
+short 26420
+strong 26274
+true 25912
+open 25816
+whole 25675
+less 25493
+financial 25155
+common 25046
+due 24836
+top 24722
+past 24478
+various 23942
+certain 23903
+recent 23392
+single 23271
+political 22713
+clear 22560
+specific 22495
+main 22323
+particular 22136
+happy 21700
+similar 21546
+natural 21203
+interesting 21086
+national 21039
+American 20879
+private 20479
+international 20327
+difficult 19955
+effective 19781
+unique 19645
+professional 19607
+perfect 19566
+economic 19529
+additional 19480
+key 19379
+mobile 19355
+original 18890
+nice 18845
+medical 18745
+third 18696
+entire 18664
+likely 18598
+necessary 18475
+global 18339
+general 18271
+popular 18118
+successful 18021
+beautiful 17655
+wrong 17654
+significant 17540
+legal 17391
+enough 17266
+final 17107
+healthy 16889
+white 16680
+ready 16642
+huge 16599
+interested 16547
+wide 16201
+former 15669
+safe 15532
+close 15450
+traditional 15384
+amazing 15252
+future 15195
+individual 15147
+physical 15039
+basic 14808
+complete 14715
+positive 14316
+black 14289
+federal 14283
+digital 14120
+deep 14066
+potential 14046
+useful 13966
+regular 13955
+hot 13834
+further 13751
+previous 13639
+serious 13514
+multiple 13493
+extra 13462
+excellent 13356
+poor 13322
+responsible 13308
+wonderful 13284
+quick 13281
+modern 13223
+daily 13007
+active 12973
+critical 12920
+favorite 12918
+annual 12761
+powerful 12745
+total 12661
+creative 12500
+appropriate 12418
+green 12219
+worth 12174
+normal 11877
+actual 11801
+fresh 11796
+fine 11705
+direct 11408
+present 11321
+cheap 11305
+military 11086
+rich 10952
+primary 10817
+relevant 10754
+essential 10702
+environmental 10660
+aware 10548
+fast 10518
+cool 10513
+corporate 10490
+red 10373
+technical 10346
+overall 10329
+light 10255
+live 10218
+independent 10022
+commercial 9957
+complex 9863
+average 9636
+cultural 9401
+dark 9233
+sexual 9229
+foreign 9166
+standard 8997
+educational 8949
+awesome 8937
+expensive 8934
+numerous 8871
+clean 8840
+proper 8724
+cold 8723
+academic 8657
+heavy 8588
+mental 8586
+initial 8566
+central 8561
+video 8554
+negative 8494
+exciting 8444
diff --git a/fullist b/fullist
new file mode 100644
index 0000000..cca2456
--- /dev/null
+++ b/fullist
@@ -0,0 +1,500 @@
+the 1086322084
+and 570238088
+to 567125659
+of 520616100
+a 450818768
+in 347194633
+is 248380169
+that 224519835
+for 208388402
+I 182655261
+you 182453085
+it 178836372
+with 156119520
+on 144467343
+as 131550003
+are 127182849
+be 121334041
+this 118313376
+was 101276933
+have 98995039
+or 91357988
+at 88985877
+not 87283369
+your 86771653
+from 84815518
+we 81286792
+by 80592007
+will 75287940
+can 73380242
+but 73083776
+they 72519671
+an 70739017
+he 67251894
+all 61495030
+has 56078674
+if 55913287
+their 55489229
+one 53923171
+do 53876351
+more 52863332
+n't 52097921
+my 52066603
+his 50951208
+so 49213525
+there 47444673
+about 46693627
+which 45739634
+when 44528548
+what 43721332
+out 41303918
+up 40865639
+our 40747450
+who 39513873
+also 39076493
+had 37580331
+time 37416837
+some 36631344
+would 36278124
+were 34456212
+like 34146192
+been 34043476
+just 33799176
+her 33758030
+new 33361392
+other 32942994
+them 32105569
+she 30841495
+people 30421073
+these 30346365
+no 29934430
+get 29850777
+how 29615038
+me 28754532
+into 28642590
+than 27631684
+only 26533516
+its 26289380
+most 26036206
+may 25711134
+any 25708576
+many 24844281
+make 24392340
+then 24304264
+well 24020281
+first 23900423
+very 23718574
+over 23433481
+now 23268050
+could 22732394
+after 22564231
+even 22246087
+because 21575657
+us 21188627
+said 21118317
+good 20850458
+way 20753150
+two 20615564
+should 20364151
+work 20294419
+use 20209195
+through 19457545
+see 19255611
+know 18633716
+did 18617523
+much 18586676
+where 18527936
+years 18475373
+need 18152024
+him 18135444
+back 18086300
+such 18002390
+those 17394626
+being 17186684
+day 17147221
+take 17051169
+while 16987528
+here 16157575
+before 16110780
+does 16024521
+great 15802739
+year 15756464
+go 15240443
+help 15204513
+want 15201049
+really 14905838
+think 14528861
+best 14508216
+life 14478608
+each 14461675
+made 14403756
+right 14243466
+world 14112944
+business 13705631
+home 13687649
+own 13596911
+down 13544228
+still 13472686
+used 13392282
+find 13384274
+around 13218230
+going 12925606
+every 12882762
+both 12687801
+last 12596956
+off 12568448
+too 12470769
+same 12419285
+information 12031414
+little 11695673
+another 11540840
+look 11432731
+few 11401511
+long 11264930
+part 11168135
+since 11143932
+things 11137850
+place 11129389
+am 10905198
+between 10820784
+during 10808095
+different 10797013
+must 10690628
+come 10664434
+using 10487785
+however 10477701
+without 10375679
+high 10272381
+why 10239970
+something 10238690
+online 10191169
+system 10112358
+better 10080112
+three 10069875
+never 10040300
+always 10021039
+love 9978269
+say 9940058
+might 9758074
+next 9327423
+company 9314939
+state 9213709
+number 9200697
+again 9157338
+free 9139571
+lot 9110408
+under 8999181
+family 8942739
+found 8871991
+within 8821032
+give 8816968
+set 8815554
+school 8755836
+important 8743753
+water 8685078
+able 8670394
+keep 8648208
+got 8642205
+sure 8552448
+end 8551115
+money 8534863
+service 8521606
+small 8519934
+put 8378749
+experience 8364514
+having 8280863
+once 8236139
+available 8220464
+health 8159671
+support 8131832
+often 8108755
+including 8082359
+days 7951767
+away 7854419
+old 7820868
+area 7800194
+feel 7775709
+read 7745587
+show 7710438
+big 7641799
+against 7635745
+thing 7634241
+order 7629741
+program 7611088
+though 7607072
+city 7559832
+group 7551142
+services 7537055
+site 7534726
+making 7500588
+course 7482521
+point 7457133
+children 7430693
+times 7398973
+team 7390401
+game 7381510
+along 7364949
+let 7282798
+house 7276154
+today 7266420
+body 7246785
+working 7220862
+case 7216227
+man 7208651
+real 7200538
+provide 7196400
+care 7157937
+public 7148402
+top 7138687
+looking 7117515
+several 7102789
+start 7099284
+less 7062487
+process 7013084
+become 7005933
+actually 7003268
+local 6986621
+together 6940525
+person 6926168
+change 6915113
+book 6893942
+enough 6877100
+getting 6850070
+week 6837795
+power 6825500
+until 6821252
+market 6820644
+fact 6793786
+god 6721690
+food 6697065
+students 6693375
+full 6685773
+women 6655732
+community 6649245
+name 6635921
+second 6629530
+data 6494503
+government 6493787
+says 6454215
+others 6446289
+ever 6427629
+yet 6393300
+research 6383726
+done 6342538
+left 6338022
+far 6264791
+large 6252388
+called 6230129
+doing 6216192
+already 6209056
+development 6202644
+social 6152475
+open 6147111
+possible 6077457
+side 6064135
+play 6003199
+means 5983711
+needs 5968865
+try 5945472
+came 5943203
+ca 5931957
+based 5882703
+hard 5873296
+thought 5855929
+products 5846806
+national 5823955
+quality 5795607
+level 5787450
+live 5765272
+design 5743688
+makes 5731317
+project 5706449
+line 5659531
+night 5647605
+least 5642047
+whether 5622030
+job 5607499
+car 5606213
+example 5606206
+include 5578401
+following 5563335
+given 5562871
+website 5523539
+past 5521393
+plan 5515382
+offer 5514280
+buy 5506714
+call 5504516
+went 5480066
+simply 5454708
+hand 5449925
+music 5442615
+easy 5419406
+problem 5403421
+men 5394825
+country 5386469
+took 5377725
+four 5377713
+members 5368209
+form 5354037
+personal 5349863
+control 5333560
+energy 5321630
+room 5310225
+head 5285296
+pay 5250846
+create 5231117
+run 5230595
+kind 5225514
+credit 5223410
+almost 5207417
+believe 5167436
+quite 5164499
+mind 5151349
+law 5147513
+early 5144825
+comes 5138026
+states 5137104
+usually 5132083
+companies 5126740
+web 5113914
+taking 5097243
+started 5095304
+later 5093070
+although 5085126
+story 5083276
+per 5077217
+future 5074920
+known 5065947
+someone 5061146
+across 5022474
+rather 5020839
+young 5004865
+whole 5002105
+special 4993760
+everything 4985049
+months 4972707
+anything 4965642
+training 4961986
+url 4957073
+bit 4940344
+seen 4935996
+product 4929537
+american 4918874
+please 4907791
+management 4906649
+cost 4902004
+either 4890450
+light 4887391
+university 4844575
+face 4836230
+due 4834580
+nothing 4822420
+human 4818757
+event 4798583
+history 4791009
+probably 4781460
+friends 4759587
+learn 4752159
+current 4748143
+tell 4746025
+general 4744247
+price 4743379
+list 4734687
+type 4714676
+building 4712636
+industry 4695699
+bad 4684049
+check 4671860
+everyone 4646596
+office 4646109
+idea 4637360
+internet 4635926
+news 4630193
+million 4623209
+video 4619484
+among 4611742
+air 4604530
+especially 4597926
+told 4594204
+results 4566804
+post 4559810
+hours 4551799
+international 4537641
+center 4536712
+understand 4530050
+above 4524889
+addition 4510786
+major 4509936
+education 4495164
+white 4492763
+particular 4489463
+problems 4480034
+media 4465083
+according 4459522
+upon 4452694
+page 4448650
+continue 4439220
+black 4437214
+study 4433907
+issues 4433806
+inside 4432348
+technology 4417297
+five 4416809
+value 4411051
+further 4390640
+access 4388944
+reason 4385799
+short 4376063
+true 4370139
+simple 4367494
+natural 4349490
+amount 4308595
+search 4279327
+result 4268533
+taken 4267439
+main 4258350
+heart 4238109
+space 4222102
+financial 4219879
+ago 4209067
+trying 4209012
+question 4202642
+living 4201005
+likely 4200772
+interest 4196629
+various 4184421
+insurance 4172854
+common 4157919
+move 4152358
+child 4148724
+yourself 4133429
+report 4128213
+certain 4120784
+share 4114670
+single 4106245
+close 4102594
+instead 4099791
+bring 4098961
+works 4097524
+age 4071785
+s 4060226
+season 4058873
+hope 4054325
+coming 4049900
+areas 4034866
+ask 4032587
+medical 4025434
+low 4020452
+games 4016899
+turn 4006644
+key 4003188
+party 3987191
+add 3975531
+month 3974446
+seems 3971018
+view 3963114
+fun 3959538
+matter 3947737
+words 3940149
+needed 3937584
diff --git a/nounlist b/nounlist
new file mode 100644
index 0000000..bf1ea51
--- /dev/null
+++ b/nounlist
@@ -0,0 +1,200 @@
+time 69683
+year 58762
+people 58218
+way 41922
+day 36752
+thing 32595
+information 30241
+work 27374
+business 27156
+service 26074
+life 25561
+company 25409
+site 25073
+world 23559
+part 23460
+system 22601
+student 22039
+child 21266
+program 20601
+number 19631
+place 18430
+lot 18222
+week 18207
+something 18056
+family 17806
+page 17800
+home 17589
+book 17354
+case 17187
+group 17178
+problem 17171
+product 17131
+school 17117
+community 17028
+area 16872
+member 16809
+website 16615
+experience 16540
+issue 16379
+project 16358
+state 16107
+user 15694
+month 15578
+question 15570
+woman 15318
+point 15290
+game 15195
+course 15146
+country 15061
+government 15039
+idea 14949
+event 14931
+process 14872
+name 14660
+use 14547
+result 14518
+man 14365
+example 14294
+money 14152
+datum 14055
+change 14051
+today 14032
+research 13897
+job 13860
+New 13831
+customer 13697
+post 13661
+team 13640
+right 13344
+level 13199
+friend 12695
+blog 12554
+order 12543
+person 12525
+fact 12476
+term 12237
+health 12091
+content 11762
+law 11755
+type 11649
+market 11618
+other 11571
+end 11497
+Google 11428
+word 11411
+policy 11370
+development 11360
+value 11279
+university 11266
+food 11252
+medium 11238
+article 11159
+power 11138
+hour 11041
+support 10855
+line 10835
+technology 10823
+need 10721
+list 10697
+search 10686
+opportunity 10651
+cost 10590
+water 10587
+link 10531
+form 10438
+reason 10326
+study 10136
+application 9991
+report 9986
+tool 9965
+hand 9931
+activity 9907
+design 9874
+interest 9837
+plan 9794
+action 9661
+history 9593
+industry 9508
+organization 9368
+bit 9352
+option 9351
+client 9313
+story 9312
+someone 9147
+class 9123
+price 9055
+side 9019
+kind 8993
+rate 8986
+source 8863
+quality 8838
+web 8827
+education 8810
+U.S. 8809
+practice 8769
+comment 8760
+city 8732
+care 8662
+car 8636
+party 8468
+file 8368
+image 8365
+marketing 8347
+body 8344
+Internet 8291
+benefit 8281
+resource 8272
+effort 8105
+email 8098
+card 8040
+sale 8005
+video 7912
+room 7900
+United 7896
+access 7880
+solution 7866
+step 7863
+anything 7796
+minute 7791
+account 7752
+decision 7745
+network 7670
+house 7660
+view 7637
+version 7627
+everything 7606
+amount 7604
+management 7599
+night 7560
+model 7556
+space 7513
+goal 7505
+feature 7490
+effect 7490
+role 7457
+field 7441
+material 7410
+credit 7355
+everyone 7296
+software 7266
+training 7258
+office 7214
+mind 7185
+National 7124
+age 7117
+news 7054
+i 7032
+phone 7022
+York 7009
+skill 6999
+parent 6977
+individual 6949
+relationship 6943
+control 6893
+computer 6889
+risk 6881
+employee 6880
+show 6874
+music 6874
+energy 6863
diff --git a/verblist b/verblist
new file mode 100644
index 0000000..52ed6c8
--- /dev/null
+++ b/verblist
@@ -0,0 +1,200 @@
+be 2273983
+have 646216
+do 315129
+make 158235
+get 136943
+use 128542
+say 106298
+go 103918
+take 98418
+see 88162
+know 84451
+find 72171
+think 70608
+work 70386
+come 68613
+want 66433
+need 66347
+give 65052
+include 64844
+help 56798
+provide 55754
+look 55327
+start 40672
+create 40107
+try 37793
+become 37790
+keep 36509
+write 36310
+read 36132
+call 33937
+feel 33392
+follow 32948
+tell 32882
+learn 31969
+show 31699
+ask 30125
+add 29664
+put 29533
+offer 28809
+mean 28744
+allow 28442
+leave 27977
+like 27562
+run 26810
+pay 26283
+bring 26070
+seem 25871
+build 25748
+live 25515
+let 25236
+set 24980
+love 24700
+require 24409
+receive 23968
+lead 23925
+develop 23598
+change 23262
+continue 22841
+play 22666
+begin 21762
+consider 21477
+hold 21291
+support 21052
+move 20808
+believe 20790
+base 20604
+happen 20317
+understand 20072
+buy 19869
+grow 19771
+turn 19166
+meet 18934
+increase 18743
+share 18312
+spend 18130
+send 17966
+hear 17808
+talk 17479
+serve 17134
+choose 16997
+involve 16526
+improve 15864
+lose 15052
+enjoy 15022
+expect 14822
+decide 14716
+sell 14045
+focus 14034
+speak 13920
+apply 13905
+post 13832
+appear 13584
+remain 13531
+design 13408
+produce 13305
+hope 13298
+join 13278
+accord 13240
+cover 13135
+stop 12934
+remember 12930
+cause 12552
+reduce 12545
+manage 12452
+save 12336
+watch 12258
+check 12135
+ensure 12116
+reach 11804
+pass 11785
+open 11715
+visit 11700
+report 11646
+drive 11589
+agree 11496
+publish 11474
+present 11472
+eat 11420
+end 11359
+raise 11205
+stay 11204
+contain 11158
+win 11084
+please 10824
+describe 10793
+explain 10739
+identify 10571
+wait 10421
+break 10390
+discuss 10384
+plan 10297
+return 10240
+suggest 10122
+thank 10067
+seek 10043
+stand 10018
+sit 10016
+protect 9932
+deliver 9925
+relate 9882
+teach 9858
+fall 9806
+carry 9768
+enter 9662
+place 9642
+determine 9530
+complete 9469
+walk 9453
+face 9403
+represent 9273
+remove 9197
+note 9181
+establish 9170
+release 9013
+achieve 8988
+cut 8966
+encourage 8934
+exist 8919
+prepare 8912
+perform 8852
+pick 8836
+mention 8825
+address 8822
+connect 8772
+feature 8751
+maintain 8707
+operate 8645
+promote 8638
+accept 8560
+recommend 8486
+affect 8450
+fill 8435
+compare 8382
+avoid 8268
+announce 8213
+enable 8110
+kill 8074
+fail 8054
+miss 7974
+wish 7953
+depend 7814
+sign 7770
+die 7765
+occur 7760
+draw 7759
+attend 7696
+realize 7689
+engage 7657
+discover 7593
+experience 7553
+define 7487
+explore 7466
+prevent 7429
+bear 7428
+hit 7363
+introduce 7323
+contact 7228
+collect 7226
+recognize 7214
+participate 7196