掛け算の結果は長整数になる。
>>> 26 ** 100
3142930641582938830174357788501626427282669988762475256374173175398995908420104023465432599069702289330964075081611719197835869803511992549376L
リストの要素の繰り返しになる。
>>> ['Monty', 'Python'] * 20
['Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python', 'Monty', 'Python']
>>> 3 * sent1
['Call', 'me', 'Ishmael', '.', 'Call', 'me', 'Ishmael', '.', 'Call', 'me', 'Ishmael', '.']
タイプ(異なり語/アイテム)とトークンの区別。日本語版では「タイプ」は「異なり語/アイテム」と訳されている。
Elinor, Marianne は同時に登場することがある。Edward, Willoughby は相補的に出現。 Marianne と Willoughby が同時に出てくることが多い。
>>> text2.dispersion_plot(["Edward","Elinor","Marianne","Willoughby"])