+
    ÖÇÜh¢	  ã                   óÔ   € R t ^ RI5 ^ RI5 ^ RIHt ^ RIHt ]P                  R4      t	]P                  R4      t
]P                  R4      t]P                  R4      t ! R R	]4      tR
# )aÔ  
Sinica Treebank Corpus Sample

http://rocling.iis.sinica.edu.tw/CKIP/engversion/treebank.htm

10,000 parsed sentences, drawn from the Academia Sinica Balanced
Corpus of Modern Chinese.  Parse tree notation is based on
Information-based Case Grammar.  Tagset documentation is available
at https://www.sinica.edu.tw/SinicaCorpus/modern_e_wordtype.html

Language and Knowledge Processing Group, Institute of Information
Science, Academia Sinica

The data is distributed with the Natural Language Toolkit under the terms of
the Creative Commons Attribution-NonCommercial-ShareAlike License
[https://creativecommons.org/licenses/by-nc-sa/2.5/].

References:

Feng-Yi Chen, Pi-Fang Tsai, Keh-Jiann Chen, and Chu-Ren Huang (1999)
The Construction of Sinica Treebank. Computational Linguistics and
Chinese Language Processing, 4, pp 87-104.

Huang Chu-Ren, Keh-Jiann Chen, Feng-Yi Chen, Keh-Jiann Chen, Zhao-Ming
Gao, and Kuang-Yu Chen. 2000. Sinica Treebank: Design Criteria,
Annotation Guidelines, and On-line Interface. Proceedings of 2nd
Chinese Language Processing Workshop, Association for Computational
Linguistics.

Chen Keh-Jiann and Yu-Ming Hsieh (2004) Chinese Treebanks and Grammar
Extraction, Proceedings of IJCNLP-04, pp560-565.
)Ú*)Úmap_tag©Úsinica_parsez^#\S+\sz(?<=\))#.*$z:([^:()|]+):([^:()|]+)z:[^:()|]+:([^:()|]+)c                   ó@   a € ] tR t^4t o RtR tR tRR ltR tRt	V t
R# )	ÚSinicaTreebankCorpusReaderz!
Reader for the sinica treebank.
c                ó€   € VP                  4       p\        P                  R V4      p\        P                  R V4      pV.# )Ú )ÚreadlineÚ
IDENTIFIERÚsubÚAPPENDIX)ÚselfÚstreamÚsents   && ÚD/usr/lib/python3/dist-packages/nltk/corpus/reader/sinica_treebank.pyÚ_read_blockÚ&SinicaTreebankCorpusReader._read_block9   s5   € Ø�‰Ó ˆÜ�~‰~˜b $Ó'ˆÜ�|‰|˜B Ó%ˆØˆvˆó    c                ó   € \        V4      # ©Nr   ©r   r   s   &&r   Ú_parseÚ!SinicaTreebankCorpusReader._parse?   s   € Ü˜DÓ!Ð!r   Nc           
     óö   € \         P                  V4       UUu. uF  w  r4WC3NK
  	  pppV'       d<   W P                  8w  d,   V UUu. uF  w  rCV\        V P                  W#4      3NK  	  pppV# u uppi u uppi r   )ÚTAGWORDÚfindallÚ_tagsetr   )r   r   ÚtagsetÚtÚwÚtagged_sents   &&&   r   Ú_tagÚSinicaTreebankCorpusReader._tagB   sr   € Ü,3¯O©O¸DÔ,AÔBÑ,A¡& 1˜“vÑ,AˆÑBß�f§¡Ô,áDOôÙDO¹&¸1�”G˜DŸL™L¨&Ó4Ó5ÁKð ñ ð Ðùó Cùós   ™A/Á#A5c                ó,   € \         P                  V4      # r   )ÚWORDr   r   s   &&r   Ú_wordÚ SinicaTreebankCorpusReader._wordJ   s   € Ü�|‰|˜DÓ!Ð!r   © r   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r"   r&   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r   4   s#   ø‡ € ñòò"ô÷"ð "r   r   N)r-   Únltk.corpus.reader.apiÚnltk.corpus.reader.utilÚnltk.tagr   Ú	nltk.treer   ÚreÚcompiler   r   r   r%   ÚSyntaxCorpusReaderr   r(   r   r   Ú<module>r8      s`   ðñôB %Ü %Ý Ý "à�Z‰Z˜
Ó#€
Ø�:‰:�nÓ%€Ø
�*‰*Ð.Ó
/€Ø	‡z�zÐ)Ó*€ô"Ð!3ö "r   