B
    >?[                 @   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d
Zedej eedZedej eedddZedej ee ddZedej ee ddZedej eedddZedej ee ddZedej eedddZedej eedZedej d d! Zd"d#d$d%gZd&d'd(d)d*d+d,d-d.d/d%gZd0d1d2d3d4d1d5d6d1d7d%gZd8d9d:d(d1d;d6d(d1d<d(d=d>gZ d?d@dAdBdCdDdEd#dFdGdHgZ!dIdJd>dKdLdMdKdNdNdNdMdOdPd>dQdRdSgZ"dTdUdVdWdXdYdVdZd[d1d\d]dAd^d_d`dad%gZ#dbdcdddVdedfdgdhdidVdjdkdld%gZ$dmdnd(dodpdqdrd1dsdtd(dudVd]dvd6dwd]dAdxd(dsd%gZ%dydz Z&d{S )|    )print_function)	gutenberggenesis	inauguralnps_chatwebtexttreebankwordnet)Text)FreqDist)bigramsz/*** Introductory Examples for the NLTK Book ***z/Loading text1, ..., text9 and sent1, ..., sent9z1Type the name of the text or sentence to view it.z3Type: 'texts()' or 'sents()' to list the materials.zmelville-moby_dick.txtztext1:zausten-sense.txtztext2:zenglish-kjv.txtzThe Book of Genesis)nameztext3:zInaugural Address Corpusztext4:zChat Corpusztext5:z	grail.txtzMonty Python and the Holy Grailztext6:zWall Street Journalztext7:zsingles.txtzPersonals Corpusztext8:zchesterton-thursday.txtztext9:c               C   sp   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 )
Nztext1:ztext2:ztext3:ztext4:ztext5:ztext6:ztext7:ztext8:ztext9:)printtext1r   text2text3text4text5text6text7text8text9 r   r   (lib/python3.7/site-packages/nltk/book.pytexts8   s    r   ZCallmeZIshmael.ZTheZfamilyZofZDashwoodZhadZlongZbeenZsettledinZSussexZInZtheZ	beginningZGodZcreatedZheavenandZearthZFellow-ZCitizensZSenateZHouseZRepresentatives:IZhaveaZproblemwithZpeopleZPMingtoZlolZJOINZSCENE1[Zwind]ZclopZKINGZARTHURZWhoaZthere!ZPierreZVinken,Z61ZyearsoldZwilljoinZboardasZnonexecutiveZdirectorzNov.Z29Z25ZSEXYZMALEZseeksZattracZolderZsingleZladyforZdiscreetZ
encountersZTHEZsuburbZSaffronZParkZlayZonZsunsetZsideZLondonZredZraggedZcloudc               C   s   t ddt t ddt t ddt t ddt t ddt t ddt t ddt t d	dt	 t d
dt
 d S )Nzsent1: zsent2:zsent3:zsent4:zsent5:zsent6:zsent7:zsent8:zsent9:)r   r+   sent1sent2sent3sent4sent5sent6sent7sent8sent9r   r   r   r   sents   s    r8   N)'Z
__future__r   Znltk.corpusr   r   r   r   r   r   r	   Z	nltk.textr
   Znltk.probabilityr   Z	nltk.utilr   r   Zwordsr   r   r   r   r   r   r   r   r   r   r   r/   r0   r1   r2   r3   r4   r5   r6   r7   r8   r   r   r   r   <module>   s&  $	