Language and Stats 11-(7/6)61 Heterogenity of language Types and tokens
Bhiksha Raj
1 11-761
Language and Stats 11-(7/6)61 Heterogenity of language Types and - - PowerPoint PPT Presentation
Language and Stats 11-(7/6)61 Heterogenity of language Types and tokens Bhiksha Raj 11-761 1 The fiction we maintain To generate a text, the source randomly chooses a hidden message The concept to be conveyed It also
1 11-761
above..
11-761 2
11-761 3
)
11-761 4
Noisy Channel Y X
11-761 5
11-761 6
11-761 7
11-761 8
11-761 9
11-761 10
11-761 11
11-761 12
11-761 13
11-761 14
11-761 15
11-761 16
11-761 17
11-761 18
Said the pelican to the elephant “I think we should marry, I do” ‘Cause there’s no name that rhymes with me, And no one else rhymes with you.” Said the elephant to the pelican, “There’s sense to what you’ve said, For rhyming’s as good a reason as any For any two to wed.” And so the elephant wed the pelican, And they dined upon lemons and limes And now they have a baby pelicant, And everybody rhymes
11-761 19
11-761 20
11-761 21
11-761 22
11-761 23
11-761 24
11-761 25
11-761 26
11-761 27
11-761 28
11-761 29
11-761 30
11-761 31
11-761 32
11-761 33
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 34
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 35
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 36
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 37
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 38
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 39
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 40
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 41
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 42
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 43
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 44
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 45
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 46
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 47
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 48
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 49
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 50
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 51
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 52
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 53
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 54
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 55
How much wood would woodchuck chuck if woodchuck could chuck wood? As much wood as woodchuck could chuck woodchuck would chuck wood. Friends, Romans, countrymen, lend me your ears; I come to bury Caesar, not to praise him. The evil that men do lives after them; The good is oft interred with their bones
11-761 56
11-761 57
ntokens ntypes
11-761 59
60
Note: slope << 1
61
Note: slope closer to 1.0 than for unigrams
11-761 63
Note: slope almost 1.0
11-761 65
Count unit: 1000
11-761 66
Singletons (Count = 1)
diabetes count veterinary count THE 42 THE 57 OF 35 OF 39 AND 31 AND 30 IN 29 IN 29 TO 16 TO 17 WITH 13 A 14 A 13 WERE 11 FOR 10 WAS 10 WAS 10 FOR 10 WERE 9 WITH 9 DIABETES 7 FROM 7 THAT 7 THAT 6 BY 6 IS 6 IS 6 AS 6 2 6 BY 6 AS 5 ON 5 INSULIN 5 AT 5 OR 5 1 4 GLUCOSE 5 BE 4 1 5 THIS 4
Count unit: 1000
Diabetes Veterinary QUESTIONNAIRE-BASED MOLARITIES CAPACITY-CONSTRAINED LIDOCAIN DND MULTIORGAN 1003500 MICROGLIA-MEDIATED ENZYME-INHIBITOR NALYSIS ALVEOLUS-CAPILLARY 10702 KUZUYA BLUE-DNA $6054 HAIR-LOSS SENTENCING POPULATION-DYNAMICAL PAPER-AND-PENCIL STATE-TRANSITION
Singletons (Count = 1)
11-761 72
11-761 73
11-761 74
11-761 75
11-761 76
1 2 3 4 5 6 7 8 9 10
! !/2 !/3 !/4 !/5 !/6 !/7 !/8 !/9 !/10
11-761 77
populous city and so on..
78
80
81
11-761 82
11-761 83
George Kingsley Zipf (1902-1950) Linguist
! "#$% ∝ 1 $()*("#$%)
log !("#$%) = 1 − log($()*("#$%))
11-761 84
log !("#$%) log $()*("#$%) !("#$%) $()*("#$%)
1 3 5 7 9 11 13
works published in the United States in 1961
85
! "#$% ∝ 1 $()*("#$%)
! "#$% ∝ 1 $()*("#$%)-./
11-761 86
!("#$%) $()*("#$%)
1 3 5 7 9 11 13
! "#$% ∝ 1 $()*("#$%)
! "#$% ∝ 1 $()*("#$%)-./
87
!("#$%) $()*("#$%)
1 3 5 7 9 11 13
11-761 88
11-761 89
11-761 90
11-761 91
11-761 92
characters + space:
! "#$%&ℎ = ) = 26, 27,./ ! 0123 | "#$%&ℎ = ) = 1 26,
93
In 2003, lecturers and students from the University of Plymouth MediaLab Arts course used a £2,000 grant from the Arts Council to study the literary
six Celebes crested macaques in Paignton Zoo in Devon in England for a month, with a radio link to broadcast the results on a website… Not only did the monkeys produce nothing but five total pages largely consisting of the letter S, the lead male began by bashing the keyboard with a stone, and the monkeys continued by urinating and defecating on it.
94 From wikipedia
infrequent ones. 20% of the values account for 80% of the probability mass.
larger ones)
11-761 95
! " = $"%
&
"&'( )*+ " ≥ "% Pareto type 1 Discovered by Vilfredo Pareto 1848-1923
have more abundance: but whosoever hath not, from him shall be taken away even that he hath.
use it again
11-761 96
11-761 97
11-761 98
11-761 99
11-761 100
11-761 101
11-761 102
11-761 103
11-761 104