ó
    ´OÂfg  ã                   ó”   • S r SS jr\S:X  a;  SSKJr  SSKJr  / SQr\" \R                  " S5      \5        \R                  " 5         gg)	z.
A utility for displaying lexical dispersion.
c           	      óT  •  SSK Jn  [        [	        U5      5       VVs0 s H  u  pgU(       a  UR                  5       OUU_M!     nnn/ / p©[        U 5       HV  u  p¼U(       a  UR                  5       OUnUR                  U5      nUc  M4  U	R                  U5        U
R                  U5        MX     USSS2   nUR                  " 5       u  pÞUR                  XšS5        S[        U 5      S-
  sUR                  l        UR                  l        UR                  SS9  UR                  [!        [#        [        U5      5      5      US	S
9  UR%                  S[        U5      5        UR'                  U5        UR)                  S5        U$ ! [         a  n[        S5      UeSnAff = fs  snnf )a^  
Generate a lexical dispersion plot.

:param text: The source text
:type text: list(str) or iter(str)
:param words: The target words
:type words: list of str
:param ignore_case: flag to set if case should be ignored when searching text
:type ignore_case: bool
:return: a matplotlib Axes object that may still be modified before plotting
:rtype: Axes
é    NzRThe plot function requires matplotlib to be installed. See https://matplotlib.org/éÿÿÿÿÚ|é   Úx)ÚaxisÚC0)ÚcolorzWord Offset)Úmatplotlib.pyplotÚpyplotÚImportErrorÚ	enumerateÚreversedÚcasefoldÚgetÚappendÚsubplotsÚplotÚlenÚdataLimÚx0Úx1Ú	autoscaleÚ
set_yticksÚlistÚrangeÚset_ylimÚ	set_titleÚ
set_xlabel)ÚtextÚwordsÚignore_caseÚtitleÚpltÚeÚyÚwordÚword2yÚxsÚysr   ÚtokenÚ_Úaxs                  Ú6/usr/lib/python3/dist-packages/nltk/draw/dispersion.pyÚdispersion_plotr/      sl  € ðÝ'ô !¤¨%£Ô1ôâ1‰GˆAö 'ˆ�‰Œ¨D°!Ò3Ù1ð ñ ð �ˆÜ˜d–O‰ˆÞ$/�—‘Ô °UˆØ�J‰J�uÓˆØ‹=Ø�I‰I�aŒLØ�I‰I�aŽLñ $ð ‘$�B�$‰K€Eà�LŠL‹N�E€AØ‡G�GˆB�CÔØ#$¤c¨$£i°!¡mÐ €B‡J�J„M�2—:‘:”=Ø‡L�L�c€LÑØ‡M�M”$”uœS ›ZÓ(Ó)¨5¸€MÑ=Ø‡K�K�”C˜“JÔØ‡L�L�ÔØ‡M�M�-Ô Ø€Iøô9 ó Üð*ó
ð ð	ûðüós   ‚F Ÿ&F$Æ
F!ÆFÆF!Ú__main__r   N)Ú	gutenberg)ÚElinorÚMarianneÚEdwardÚ
Willoughbyzausten-sense.txt)FzLexical Dispersion Plot)
Ú__doc__r/   Ú__name__r   r   r$   Únltk.corpusr1   r!   Úshow© ó    r.   Ú<module>r<      sG   ðñô
,ð^ ˆzÓÝ#å%â:€EÙ�I—O’OÐ$6Ó7¸Ô?Ø‡H‚H…Jð r;   