normalise_filenames
Normalise the files in the given directory.
main()
Normalise filenames.
Source code in /home/anders/projects/CorpusTools/corpustools/normalise_filenames.py
75 76 77 78 |
|
normalise(target_dir)
Normalise the filenames in the corpuses.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
target_dir |
str
|
directory where filenames should be normalised |
required |
Source code in /home/anders/projects/CorpusTools/corpustools/normalise_filenames.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
|
normalise_parse_args()
Parse the commandline options.
Returns:
Type | Description |
---|---|
argparse.Namespace
|
the parsed commandline arguments |
Source code in /home/anders/projects/CorpusTools/corpustools/normalise_filenames.py
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
|