o
    o i                     @   s:   d dl mZ eejd ZefddZedZedZdS )    )PathZgrammarsc                 C   s<   ||  }t |}| W  d   S 1 sw   Y  dS )z+Read grammar file from default grammar pathN)openread)Zgrammar_file_nameZbase_grammar_path	full_pathfile r   ]/home/app/PaddleOCR-VL-test/.venv_paddleocr/lib/python3.10/site-packages/outlines/grammars.pyread_grammar   s   
$r	   zarithmetic.larkz	json.larkN)pathlibr   __file__parentZGRAMMAR_PATHr	   Z
arithmeticjsonr   r   r   r   <module>   s
    