images added

This commit is contained in:
Adam Wojdyla 2023-03-22 07:29:54 +01:00
parent fb82cdfc04
commit 7efcacbe53
6 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

@ -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))