0

Why ahab and Ahab make the difference in nltk dispersion_plot?

from nltk.book import (
    text1 as mobydick
)
mobydick.dispersion_plot(['starbuck', 'captain', 'ahab'])

enter image description here

mobydick.dispersion_plot(['starbuck', 'captain', 'Ahab'])

enter image description here

Environment

NLTK: 3.8.1
Python: 3.9.13
mon
  • 18,789
  • 22
  • 112
  • 205

0 Answers0