o
    DŒh£  ã                   @   sf   d Z ddlZddlmZ ddlmZ ddlm	Z	 ddl
mZmZmZ ddlmZmZmZ dd
d„ZdS )z+
Meta-functions to be applied module-wide.
é    N)Úclear_caches)Úreset_caches)Údefine_stoplisté   )ÚLRU_TESTÚSimhashÚis_similar_domain)Úline_processingÚreturn_printables_and_spacesÚtrimÚreturnc                   C   sR   t  ¡  tƒ  tƒ  t ¡  t ¡  t ¡  t ¡  t 	¡  t
j ¡  t ¡  dS )z\Reset all known LRU caches used to speed up processing.
       This may release some memory.N)r   Úcache_clearÚreset_caches_htmldateÚreset_caches_courlanr   r	   r
   r   r   Úclearr   Ú_vector_to_addÚgcÚcollect© r   r   úQ/home/air/segue/gemini/back/venv/lib/python3.10/site-packages/trafilatura/meta.pyr      s   
r   )r   N)Ú__doc__r   Úcourlan.metar   r   Úhtmldate.metar   r   Újustext.corer   Údeduplicationr   r   r   Úutilsr	   r
   r   r   r   r   r   Ú<module>   s    