ces2homegrown
Turn cesDoc xml into our homegrown xml.
get_verses(chapter)
Extract the chapter content.
Source code in /home/anders/projects/CorpusTools/corpustools/ces2homegrown.py
66 67 68 69 70 71 72 73 74 |
|
main()
Turn cesDoc to homegrown xml.
Source code in /home/anders/projects/CorpusTools/corpustools/ces2homegrown.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
|
parse_options()
Parse the options for this script.
Source code in /home/anders/projects/CorpusTools/corpustools/ces2homegrown.py
30 31 32 33 34 35 36 37 38 39 40 41 |
|
save_chapter(language, testament, filename, body, address)
Save chapter info.
Source code in /home/anders/projects/CorpusTools/corpustools/ces2homegrown.py
77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
|
set_parallels(chapter_paths, testament, new_lang)
Set the parallels.
Use the nob names as the base, it has all the books and chapters.
Source code in /home/anders/projects/CorpusTools/corpustools/ces2homegrown.py
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
|