




from pathlib import Path

import fire


def    A						(__A   :    str   ,				__A   :    str   ,				__A   :    int       )   ->      Tuple:







     """simple docstring"""


     UpperCAmelCase_          =							Path(__A       )
     UpperCAmelCase_          =							Path(__A       )
     dest_dir.mkdir(exist_ok=__A       )
     for path in src_dir.iterdir():
          UpperCAmelCase_          =							[x.rstrip() for x in list(path.open().readlines()       )][:n]
          UpperCAmelCase_          =							dest_dir.joinpath(path.name       )
          print(__A       )
          dest_path.open('''w'''       ).write('''\n'''.join(__A       )       )


if __name__ == "__main__":
    fire.Fire(minify)













"""simple docstring"""




from transformers import BertTokenizerFast

from .custom_tokenization import CustomTokenizer

class  _UpperCAmelCase  (   UpperCAmelCase__		):



      '''simple docstring'''
      lowercase_      : List[str]	    =   CustomTokenizer
      pass