
    @h"                    J    S SK Jr  S SKJr  S SKJr  S SKJr   " S S\5      rg)    )annotations)Any)Language)RecursiveCharacterTextSplitterc                  0   ^  \ rS rSrSrSU 4S jjrSrU =r$ )LatexTextSplitter	   zAAttempts to split the text along Latex-formatted layout elements.c                h   > U R                  [        R                  5      n[        TU ]  " SSU0UD6  g)zInitialize a LatexTextSplitter.
separatorsN )get_separators_for_languager   LATEXsuper__init__)selfkwargsr   	__class__s      V/var/www/html/shao/venv/lib/python3.13/site-packages/langchain_text_splitters/latex.pyr   LatexTextSplitter.__init__   s,    55hnnE
9J9&9    r   )r   r   returnNone)__name__
__module____qualname____firstlineno____doc__r   __static_attributes____classcell__)r   s   @r   r   r   	   s    K: :r   r   N)	
__future__r   typingr   langchain_text_splitters.baser   "langchain_text_splitters.characterr   r   r   r   r   <module>r$      s    "  2 M:6 :r   