+
    ÖÇÜh1  ã                   ó~   € ^ RI t ^ RIHt ^ RIHt ^ RIHt ] P                  ! RR7      R 4       tR t	 ! R	 R
4      t
R# )é    N)Úfind)ÚBllipParser)ÚTreeÚmodule)Úscopec                  óX   € \        R 4      P                  p \        P                  ! V 4      # )zmodels/bllip_wsj_no_aux)r   Úpathr   Úfrom_unified_model_dir)Ú	model_dirs    Ú;/usr/lib/python3/dist-packages/nltk/test/unit/test_bllip.pyÚparserr      s$   € äÐ.Ó/×4Ñ4€IÜ×-Ò-¨iÓ8Ð8ó    c                  ó2   € \         P                  ! R 4       R# )ÚbllipparserN)ÚpytestÚimportorskip© r   r   Úsetup_moduler      s   € Ü
×Ò˜Ö&r   c                   ó,   a € ] tR t^t o R tR tRtV tR# )ÚTestBllipParserc                ó¸   € VP                  R 4      p\        V4      p\        V\        4      '       g   Q hVP	                  4       RP                  4       8X  g   Q hR# )ú I saw the man with the telescopez…
(S1
  (S
    (NP (PRP I))
    (VP
      (VBD saw)
      (NP (DT the) (NN man))
      (PP (IN with) (NP (DT the) (NN telescope))))))
N)ÚparseÚnextÚ
isinstancer   ÚpformatÚstrip)Úselfr   ÚparsedÚtrees   &&  r   Útest_parser_loads_a_valid_treeÚ.TestBllipParser.test_parser_loads_a_valid_tree   sS   € Ø—‘Ð@ÓAˆÜ�F‹|ˆä˜$¤×%Ò%Ð%Ð%à�L‰L‹Nð÷ 
�EƒGô	ð	
ò	r   c                ó¼   € VP                  R 4      p\        VP                  R.4      4      p\        V\        4      '       g   Q hVP                  4       R8X  g   Q hR# )r   z(S1 (NP (NN telescope)))N)Ú	telescopeÚNN)r   r   Útagged_parser   r   r   )r   r   r   Útagged_trees   &&  r   Ú(test_tagged_parse_finds_matching_elementÚ8TestBllipParser.test_tagged_parse_finds_matching_element%   sU   € Ø—‘Ð@ÓAˆÜ˜6×.Ñ.Ð0CÐ/DÓEÓFˆä˜+¤t×,Ò,Ð,Ð,Ø×"Ñ"Ó$Ð(BÔBÐBÒBr   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r!   r(   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r   r   r      s   ø‡ € ò
÷$Cð Cr   r   )r   Ú	nltk.datar   Únltk.parse.bllipr   Ú	nltk.treer   Úfixturer   r   r   r   r   r   Ú<module>r5      s?   ðÛ å Ý (Ý ð ‡‚�hÔñ9ó  ð9ò
'÷Có Cr   