ó
ù`]c           @  s¾  d  d l  m Z d  d l m Z m Z m Z m Z m Z m Z m	 Z	 d  d l
 m Z d  d l m Z d  d l m Z e d ƒ e d ƒ e d ƒ e d	 ƒ e e j d
 ƒ ƒ Z e d e j ƒ e e j d ƒ ƒ Z e d e j ƒ e e j d ƒ d d ƒZ e d e j ƒ e e j ƒ  d d ƒZ e d e j ƒ e e j ƒ  d d ƒZ e d e j ƒ e e j d ƒ d d ƒZ e d e j ƒ e e j ƒ  d d ƒZ e d e j ƒ e e j d ƒ d d ƒZ e d e j ƒ e e j d ƒ ƒ Z e d e j ƒ d  „  Z d! d" d# d$ g Z d% d& d' d( d) d* d+ d, d- d. d$ g Z d/ d0 d1 d2 d3 d0 d4 d5 d0 d6 d$ g Z d7 d8 d9 d' d0 d: d5 d' d0 d; d' d< d= g Z  d> d? d@ dA dB dC dD d" dE dF dG g Z! dH dI d= dJ dK dL dJ dM dM dM dL dN dO d= dP dQ dR g Z" dS dT dU dV dW dX dU dY dZ d0 d[ d\ d@ d] d^ d_ d` d$ g Z# da db dc dU dd de df dg dh dU di dj dk d$ g Z$ dl dm d' dn do dp dq d0 dr ds d' dt dU d\ du d5 dv d\ d@ dw d' dr d$ g Z% dx „  Z& dy S(z   iÿÿÿÿ(   t   print_function(   t	   gutenbergt   genesist	   inauguralt   nps_chatt   webtextt   treebankt   wordnet(   t   Text(   t   FreqDist(   t   bigramss/   *** Introductory Examples for the NLTK Book ***s/   Loading text1, ..., text9 and sent1, ..., sent9s1   Type the name of the text or sentence to view it.s3   Type: 'texts()' or 'sents()' to list the materials.s   melville-moby_dick.txts   text1:s   austen-sense.txts   text2:s   english-kjv.txtt   names   The Book of Genesiss   text3:s   Inaugural Address Corpuss   text4:s   Chat Corpuss   text5:s	   grail.txts   Monty Python and the Holy Grails   text6:s   Wall Street Journals   text7:s   singles.txts   Personals Corpuss   text8:s   chesterton-thursday.txts   text9:c           C  s”   t  d t j ƒ t  d t j ƒ t  d t j ƒ t  d t j ƒ t  d t j ƒ t  d t j ƒ t  d t j ƒ t  d t	 j ƒ t  d	 t
 j ƒ d  S(
   Ns   text1:s   text2:s   text3:s   text4:s   text5:s   text6:s   text7:s   text8:s   text9:(   t   printt   text1R   t   text2t   text3t   text4t   text5t   text6t   text7t   text8t   text9(    (    (    s(   lib/python2.7/site-packages/nltk/book.pyt   texts8   s    t   Callt   met   Ishmaelt   .t   Thet   familyt   oft   Dashwoodt   hadt   longt   beent   settledt   int   Sussext   Int   thet	   beginningt   Godt   createdt   heavent   andt   eartht   Fellowt   -t   Citizenst   Senatet   Houset   Representativest   :t   It   havet   at   problemt   witht   peoplet   PMingt   tot   lolt   JOINt   SCENEt   1t   [t   windt   ]t   clopt   KINGt   ARTHURt   Whoat   theret   !t   Pierret   Vinkent   ,t   61t   yearst   oldt   willt   joint   boardt   ast   nonexecutivet   directors   Nov.t   29t   25t   SEXYt   MALEt   seekst   attract   oldert   singlet   ladyt   fort   discreett
   encounterst   THEt   suburbt   Saffront   Parkt   layt   ont   sunsett   sidet   Londont   redt   raggedt   cloudc           C  sÊ   t  d d j t ƒ ƒ t  d d j t ƒ ƒ t  d d j t ƒ ƒ t  d d j t ƒ ƒ t  d d j t ƒ ƒ t  d d j t ƒ ƒ t  d d j t ƒ ƒ t  d	 d j t	 ƒ ƒ t  d
 d j t
 ƒ ƒ d  S(   Ns   sent1:t    s   sent2:s   sent3:s   sent4:s   sent5:s   sent6:s   sent7:s   sent8:s   sent9:(   R   RP   t   sent1t   sent2t   sent3t   sent4t   sent5t   sent6t   sent7t   sent8t   sent9(    (    (    s(   lib/python2.7/site-packages/nltk/book.pyt   sentsÍ   s    N('   t
   __future__R    t   nltk.corpusR   R   R   R   R   R   R   t	   nltk.textR   t   nltk.probabilityR	   t	   nltk.utilR
   R   t   wordsR   R   R   R   R   R   R   R   R   R   R   Rn   Ro   Rp   Rq   Rr   Rs   Rt   Ru   Rv   Rw   (    (    (    s(   lib/python2.7/site-packages/nltk/book.pyt   <module>   s&  4	



									