
    ܣe                        d Z ddlZddlZddlmZmZmZ ddlZ ej                  d      Z	 ej                  d      j                  Zdedee   fdZd	ee   deeee   f   fd
Z e ed            Z e ed            Zy)zWordlists loaded from package data.

We can treat them as part of the code for the imperative mood check, and
therefore we load them at import time, rather than on-demand.

    N)DictIteratorSetz\s*#.*englishnamereturnc              #      K   t        j                  dd| z         }|R|j                  d      }|j                         D ]-  }t        j                  d|      j                         }|s*| / yyw)zIterate over lines of a wordlist data file.

    `name` should be the name of a package data file within the data/
    directory.

    Whitespace and #-prefixed comments are stripped from each line.

    
pydocstylezdata/Nutf8 )pkgutilget_datadecode
splitlines
COMMENT_REsubstrip)r   datatextlines       6/usr/lib/python3/dist-packages/pydocstyle/wordlists.pyload_wordlistr      sn      L'D.9D{{6"OO% 	D>>"d+113D
	 s   A&A1)A1wordlistc                 |    i }| D ]4  }|j                  t        |      t                     j                  |       6 |S )zACreate a dictionary mapping stemmed verbs to the imperative form.)
setdefaultstemsetadd)r   imperative_verbswords      r   make_imperative_verbs_dictr!   &   s@     A##DJ6::4@A    zimperatives.txtzimperatives_blacklist.txt)__doc__r   retypingr   r   r   snowballstemmercompiler   stemmerstemWordr   strr   r!   IMPERATIVE_VERBSr   IMPERATIVE_BLACKLIST r"   r   <module>r.      s     	 & &  RZZ	"
 y)22  $# 4SX;N  .m<M.NO  =)DEF r"   