images added
This commit is contained in:
parent
fb82cdfc04
commit
7efcacbe53
BIN
Lab2/images/most-freq-words-20.png
Normal file
BIN
Lab2/images/most-freq-words-20.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
Lab2/images/pt-pronouns.png
Normal file
BIN
Lab2/images/pt-pronouns.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
Lab2/images/pt-years.png
Normal file
BIN
Lab2/images/pt-years.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
Lab2/images/zipf-law-3grams.png
Normal file
BIN
Lab2/images/zipf-law-3grams.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
Lab2/images/zipf-law-words.png
Normal file
BIN
Lab2/images/zipf-law-words.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
@ -136,7 +136,7 @@ rang_freq_with_labels('most-freq-words-20', get_words(file_content), top=20)
|
||||
log_rang_log_freq('zipf-law-words', get_words(file_content))
|
||||
|
||||
# Zipf's law for 3-grams
|
||||
log_rang_log_freq('zipf-law-2grams', get_ngrams(file_content, 3))
|
||||
log_rang_log_freq('zipf-law-3grams', get_ngrams(file_content, 3))
|
||||
|
||||
# Words breaking the Zipf's law
|
||||
freq = freq_list(get_words(file_content))
|
||||
|
Loading…
Reference in New Issue
Block a user