| 109 | |
| 110 | |
| 111 | def main(): |
| 112 | import doctest |
| 113 | |
| 114 | doctest.testmod() |
| 115 | # text = ( |
| 116 | # "Had repulsive dashwoods suspicion sincerity but advantage now him. Remark " |
| 117 | # "easily garret nor nay. Civil those mrs enjoy shy fat merry. You greatest " |
| 118 | # "jointure saw horrible. He private he on be imagine suppose. Fertile " |
| 119 | # "beloved evident through no service elderly is. Blind there if every no so " |
| 120 | # "at. Own neglected you preferred way sincerity delivered his attempted. To " |
| 121 | # "of message cottage windows do besides against uncivil. Delightful " |
| 122 | # "unreserved impossible few estimating men favourable see entreaties. She " |
| 123 | # "propriety immediate was improving. He or entrance humoured likewise " |
| 124 | # "moderate. Much nor game son say feel. Fat make met can must form into " |
| 125 | # "gate. Me we offending prevailed discovery. " |
| 126 | # ) |
| 127 | |
| 128 | # calculate_prob(text) |
| 129 | |
| 130 | |
| 131 | if __name__ == "__main__": |