Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 1 | =pod |
| 2 | |
| 3 | =encoding utf8 |
| 4 | |
| 5 | =head1 NAME |
| 6 | |
Akron | 42f48c1 | 2020-02-14 13:08:13 +0100 | [diff] [blame] | 7 | korapxml2krill - Merge KorAP-XML data and create Krill documents |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 8 | |
| 9 | |
| 10 | =head1 SYNOPSIS |
| 11 | |
Akron | 9cb8c98 | 2024-03-22 10:46:56 +0100 | [diff] [blame] | 12 | $ korapxml2krill [archive|extract] --input <directory|archive> [options] |
Akron | 2fd402b | 2016-10-27 21:26:48 +0200 | [diff] [blame] | 13 | |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 14 | |
| 15 | =head1 DESCRIPTION |
| 16 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 17 | L<KorAP::XML::Krill> is a library to convert KorAP-XML documents to files |
| 18 | compatible with the L<Krill|https://github.com/KorAP/Krill> indexer. |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 19 | The C<korapxml2krill> command line tool is a simple wrapper of this library. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 20 | |
| 21 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 22 | =head1 INSTALLATION |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 23 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 24 | The preferred way to install L<KorAP::XML::Krill> is to use L<cpanm|App::cpanminus>. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 25 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 26 | $ cpanm https://github.com/KorAP/KorAP-XML-Krill.git |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 27 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 28 | In case everything went well, the C<korapxml2krill> tool will |
| 29 | be available on your command line immediately. |
Akron | 8ce23f7 | 2023-12-13 15:48:49 +0100 | [diff] [blame] | 30 | Minimum requirement for L<KorAP::XML::Krill> is Perl 5.32. |
Akron | eb370a0 | 2022-02-24 13:33:40 +0100 | [diff] [blame] | 31 | Optionally installing L<Archive::Tar::Builder> speeds up archive building. |
| 32 | Optional support for L<Sys::Info> to calculate available cores is available. |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 33 | In addition to work with zip archives, the C<unzip> tool needs to be present. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 34 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 35 | =head1 ARGUMENTS |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 36 | |
Akron | 9cb8c98 | 2024-03-22 10:46:56 +0100 | [diff] [blame] | 37 | $ korapxml2krill -z --input <directory> --output <filename> |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 38 | |
| 39 | Without arguments, C<korapxml2krill> converts a directory of a single KorAP-XML document. |
| 40 | It expects the input to point to the text level folder. |
| 41 | |
| 42 | =over 2 |
| 43 | |
| 44 | =item B<archive> |
| 45 | |
Akron | 9cb8c98 | 2024-03-22 10:46:56 +0100 | [diff] [blame] | 46 | $ korapxml2krill archive -z --input <directory|archive> --output <directory|tar> |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 47 | |
| 48 | Converts an archive of KorAP-XML documents. It expects a directory |
| 49 | (pointing to the corpus level folder) or one or more zip files as input. |
| 50 | |
| 51 | =item B<extract> |
| 52 | |
| 53 | $ korapxml2krill extract --input <archive> --output <directory> --sigle <SIGLE> |
| 54 | |
| 55 | Extracts KorAP-XML documents from a zip file. |
| 56 | |
Akron | 442c4e9 | 2017-04-10 23:41:31 +0200 | [diff] [blame] | 57 | =item B<serial> |
| 58 | |
Akron | 9cb8c98 | 2024-03-22 10:46:56 +0100 | [diff] [blame] | 59 | $ korapxml2krill serial -i <archive1> -i <archive2> -o <directory> -cfg <config-file> |
Akron | 442c4e9 | 2017-04-10 23:41:31 +0200 | [diff] [blame] | 60 | |
| 61 | Convert archives sequentially. The inputs are not merged but treated |
| 62 | as they are (so they may be premerged or globs). |
| 63 | the C<--out> directory is treated as the base directory where subdirectories |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 64 | are created based on the archive name. In case the C<--to-tar> flag is given, |
| 65 | the output will be a tar file. |
Akron | 442c4e9 | 2017-04-10 23:41:31 +0200 | [diff] [blame] | 66 | |
| 67 | |
Akron | 9f37ed7 | 2022-01-17 12:10:08 +0100 | [diff] [blame] | 68 | =item B<slimlog> |
| 69 | |
Akron | 9cb8c98 | 2024-03-22 10:46:56 +0100 | [diff] [blame] | 70 | $ korapxml2krill slimlog <logfile> > <logfile-slim> |
Akron | 9f37ed7 | 2022-01-17 12:10:08 +0100 | [diff] [blame] | 71 | |
| 72 | Filters out all useless aka succesfull information from logs, to simplify |
| 73 | log checks. Expects no further options. |
| 74 | |
| 75 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 76 | =back |
Akron | a76d835 | 2016-10-27 16:27:32 +0200 | [diff] [blame] | 77 | |
Akron | 7606afa | 2016-10-25 16:23:49 +0200 | [diff] [blame] | 78 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 79 | =head1 OPTIONS |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 80 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 81 | =over 2 |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 82 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 83 | =item B<--input|-i> <directory|zip file> |
Akron | a76d835 | 2016-10-27 16:27:32 +0200 | [diff] [blame] | 84 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 85 | Directory or zip file(s) of documents to convert. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 86 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 87 | Without arguments, C<korapxml2krill> expects a folder of a single KorAP-XML |
Akron | f1a1de9 | 2016-11-02 17:32:12 +0100 | [diff] [blame] | 88 | document, while C<archive> expects a KorAP-XML corpus folder or a zip |
| 89 | file to batch process multiple files. |
| 90 | C<extract> expects zip files only. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 91 | |
Akron | dee3cf6 | 2024-06-14 18:14:48 +0200 | [diff] [blame^] | 92 | C<archive> supports multiple input zip files with the constraint |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 93 | that the first archive listed contains all primary data files |
| 94 | and all meta data files. |
Akron | a76d835 | 2016-10-27 16:27:32 +0200 | [diff] [blame] | 95 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 96 | -i file/news.zip -i file/news.malt.zip -i "#file/news.tt.zip" |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 97 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 98 | Input may also be defined using BSD glob wildcards. |
| 99 | |
| 100 | -i 'file/news*.zip' |
| 101 | |
| 102 | The extended input array will be sorted in length order, so the shortest |
| 103 | path needs to contain all primary data files and all meta data files. |
| 104 | |
Akron | dee3cf6 | 2024-06-14 18:14:48 +0200 | [diff] [blame^] | 105 | (The directory structure follows the base directory format |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 106 | that may include a C<.> root folder. |
| 107 | In this case further archives lacking a C<.> root folder |
| 108 | need to be passed with a hash sign in front of the archive's name. |
| 109 | This may require to quote the parameter.) |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 110 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 111 | To support zip files, a version of C<unzip> needs to be installed that is |
| 112 | compatible with the archive file. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 113 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 114 | B<The root folder switch using the hash sign is experimental and |
| 115 | may vanish in future versions.> |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 116 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 117 | |
Akron | 442c4e9 | 2017-04-10 23:41:31 +0200 | [diff] [blame] | 118 | =item B<--input-base|-ib> <directory> |
| 119 | |
| 120 | The base directory for inputs. |
| 121 | |
| 122 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 123 | =item B<--output|-o> <directory|file> |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 124 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 125 | Output folder for archive processing or |
| 126 | document name for single output (optional), |
| 127 | writes to C<STDOUT> by default |
| 128 | (in case C<output> is not mandatory due to further options). |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 129 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 130 | =item B<--overwrite|-w> |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 131 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 132 | Overwrite files that already exist. |
Akron | 7606afa | 2016-10-25 16:23:49 +0200 | [diff] [blame] | 133 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 134 | |
Akron | 3741f8b | 2016-12-21 19:55:21 +0100 | [diff] [blame] | 135 | =item B<--token|-t> <foundry>#<file> |
Akron | a5920b1 | 2016-06-29 18:51:21 +0200 | [diff] [blame] | 136 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 137 | Define the default tokenization by specifying |
| 138 | the name of the foundry and optionally the name |
| 139 | of the layer-file. Defaults to C<OpenNLP#tokens>. |
Akron | f1849aa | 2019-12-16 23:35:33 +0100 | [diff] [blame] | 140 | This will directly take the file instead of running |
| 141 | the layer implementation! |
Akron | 3741f8b | 2016-12-21 19:55:21 +0100 | [diff] [blame] | 142 | |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 143 | |
Akron | 3741f8b | 2016-12-21 19:55:21 +0100 | [diff] [blame] | 144 | =item B<--base-sentences|-bs> <foundry>#<layer> |
| 145 | |
| 146 | Define the layer for base sentences. |
| 147 | If given, this will be used instead of using C<Base#Sentences>. |
Akron | c29b8e1 | 2019-12-16 14:28:09 +0100 | [diff] [blame] | 148 | Currently C<DeReKo#Structure> and C<DGD#Structure> are the only additional |
| 149 | layers supported. |
Akron | 3741f8b | 2016-12-21 19:55:21 +0100 | [diff] [blame] | 150 | |
| 151 | Defaults to unset. |
| 152 | |
| 153 | |
| 154 | =item B<--base-paragraphs|-bp> <foundry>#<layer> |
| 155 | |
| 156 | Define the layer for base paragraphs. |
| 157 | If given, this will be used instead of using C<Base#Paragraphs>. |
Akron | 9f37ed7 | 2022-01-17 12:10:08 +0100 | [diff] [blame] | 158 | Currently C<DeReKo#Structure> and C<DGD#Structure> are the only additional |
| 159 | layer supported. |
Akron | 3741f8b | 2016-12-21 19:55:21 +0100 | [diff] [blame] | 160 | |
| 161 | Defaults to unset. |
| 162 | |
| 163 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 164 | =item B<--base-pagebreaks|-bpb> <foundry>#<layer> |
| 165 | |
| 166 | Define the layer for base pagebreaks. |
| 167 | Currently C<DeReKo#Structure> is the only layer supported. |
| 168 | |
| 169 | Defaults to unset. |
| 170 | |
| 171 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 172 | =item B<--skip|-s> <foundry>[#<layer>] |
| 173 | |
| 174 | Skip specific annotations by specifying the foundry |
| 175 | (and optionally the layer with a C<#>-prefix), |
| 176 | e.g. C<Mate> or C<Mate#Morpho>. Alternatively you can skip C<#ALL>. |
| 177 | Can be set multiple times. |
| 178 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 179 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 180 | =item B<--anno|-a> <foundry>#<layer> |
| 181 | |
| 182 | Convert specific annotations by specifying the foundry |
| 183 | (and optionally the layer with a C<#>-prefix), |
| 184 | e.g. C<Mate> or C<Mate#Morpho>. |
| 185 | Can be set multiple times. |
| 186 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 187 | |
Akron | ed9baf0 | 2019-01-22 17:03:25 +0100 | [diff] [blame] | 188 | =item B<--non-word-tokens|-nwt> |
| 189 | |
| 190 | Tokenize non-word tokens like word tokens (defined as matching |
| 191 | C</[\d\w]/>). Useful to treat punctuations as tokens. |
| 192 | |
| 193 | Defaults to unset. |
| 194 | |
Akron | f1849aa | 2019-12-16 23:35:33 +0100 | [diff] [blame] | 195 | |
| 196 | =item B<--non-verbal-tokens|-nvt> |
| 197 | |
| 198 | Tokenize non-verbal tokens marked as in the primary data as |
| 199 | the unicode symbol 'Black Vertical Rectangle' aka \x25ae. |
| 200 | |
| 201 | Defaults to unset. |
| 202 | |
| 203 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 204 | =item B<--jobs|-j> |
| 205 | |
Akron | 2912826 | 2024-04-17 15:50:36 +0200 | [diff] [blame] | 206 | Define the number of spawned forks for concurrent jobs |
| 207 | of archive processing. |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 208 | Defaults to C<0> (everything runs in a single process). |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 209 | |
Akron | a472a24 | 2023-02-13 13:46:30 +0100 | [diff] [blame] | 210 | If C<sequential-extraction> is not set to true, this will |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 211 | also apply to extraction. |
| 212 | |
Akron | ebbac2e | 2024-03-22 10:31:23 +0100 | [diff] [blame] | 213 | Pass C<-1>, and the value will be set automatically to 5 |
Akron | 0b04b31 | 2020-10-30 17:39:18 +0100 | [diff] [blame] | 214 | times the number of available cores, in case L<Sys::Info> |
Akron | ebbac2e | 2024-03-22 10:31:23 +0100 | [diff] [blame] | 215 | is available and can read CPU count (see C<--job-count>). |
| 216 | Be aware, that the report of available cores |
Akron | 2912826 | 2024-04-17 15:50:36 +0200 | [diff] [blame] | 217 | may not work in certain conditions. Benchmarking the processing |
| 218 | speed based on the number of jobs may be valuable. |
Akron | ebbac2e | 2024-03-22 10:31:23 +0100 | [diff] [blame] | 219 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 220 | This is I<experimental>. |
| 221 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 222 | |
Akron | ebbac2e | 2024-03-22 10:31:23 +0100 | [diff] [blame] | 223 | =item B<--job-count|-jc> |
| 224 | |
| 225 | Print job and core information that would be used if |
| 226 | C<-1> was passed to C<--jobs>. |
| 227 | |
| 228 | |
Akron | 263274c | 2019-02-07 09:48:30 +0100 | [diff] [blame] | 229 | =item B<--koral|-k> |
| 230 | |
| 231 | Version of the output format. Supported versions are: |
| 232 | C<0> for legacy serialization, C<0.03> for serialization |
| 233 | with metadata fields as key-values on the root object, |
| 234 | C<0.4> for serialization with metadata fields as a list |
| 235 | of C<"@type":"koral:field"> objects. |
| 236 | |
| 237 | Currently defaults to C<0.03>. |
| 238 | |
| 239 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 240 | =item B<--sequential-extraction|-se> |
| 241 | |
| 242 | Flag to indicate, if the C<jobs> value also applies to extraction. |
| 243 | Some systems may have problems with extracting multiple archives |
| 244 | to the same folder at the same time. |
| 245 | Can be flagged using C<--no-sequential-extraction> as well. |
| 246 | Defaults to C<false>. |
| 247 | |
| 248 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 249 | =item B<--meta|-m> |
| 250 | |
| 251 | Define the metadata parser to use. Defaults to C<I5>. |
| 252 | Metadata parsers can be defined in the C<KorAP::XML::Meta> namespace. |
| 253 | This is I<experimental>. |
| 254 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 255 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 256 | =item B<--gzip|-z> |
| 257 | |
| 258 | Compress the output. |
| 259 | Expects a defined C<output> file in single processing. |
| 260 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 261 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 262 | =item B<--cache|-c> |
| 263 | |
| 264 | File to mmap a cache (using L<Cache::FastMmap>). |
| 265 | Defaults to C<korapxml2krill.cache> in the calling directory. |
| 266 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 267 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 268 | =item B<--cache-size|-cs> |
| 269 | |
| 270 | Size of the cache. Defaults to C<50m>. |
| 271 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 272 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 273 | =item B<--cache-init|-ci> |
| 274 | |
| 275 | Initialize cache file. |
| 276 | Can be flagged using C<--no-cache-init> as well. |
| 277 | Defaults to C<true>. |
| 278 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 279 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 280 | =item B<--cache-delete|-cd> |
| 281 | |
| 282 | Delete cache file after processing. |
| 283 | Can be flagged using C<--no-cache-delete> as well. |
| 284 | Defaults to C<true>. |
| 285 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 286 | |
Akron | 636aa11 | 2017-04-07 18:48:56 +0200 | [diff] [blame] | 287 | =item B<--config|-cfg> |
| 288 | |
| 289 | Configure the parameters of your call in a file |
| 290 | of key-value pairs with whitespace separator |
| 291 | |
| 292 | overwrite 1 |
| 293 | token DeReKo#Structure |
| 294 | ... |
| 295 | |
| 296 | Supported parameters are: |
Akron | 442c4e9 | 2017-04-10 23:41:31 +0200 | [diff] [blame] | 297 | C<overwrite>, C<gzip>, C<jobs>, C<input-base>, |
Akron | 2912826 | 2024-04-17 15:50:36 +0200 | [diff] [blame] | 298 | C<token>, C<log>, |
| 299 | C<cache>, C<cache-size>, C<cache-init>, C<cache-delete>, C<meta>, |
Akron | 57510c1 | 2019-01-04 14:58:53 +0100 | [diff] [blame] | 300 | C<output>, C<koral>, |
Akron | 9a2545e | 2022-01-16 15:15:50 +0100 | [diff] [blame] | 301 | C<temporary-extract>, C<sequential-extraction>, |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 302 | C<base-sentences>, C<base-paragraphs>, |
| 303 | C<base-pagebreaks>, |
| 304 | C<skip> (semicolon separated), C<sigle> |
Akron | 636aa11 | 2017-04-07 18:48:56 +0200 | [diff] [blame] | 305 | (semicolon separated), C<anno> (semicolon separated). |
| 306 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 307 | Configuration parameters will always be overwritten by |
| 308 | passed parameters. |
| 309 | |
| 310 | |
Akron | 8150010 | 2017-04-07 20:45:44 +0200 | [diff] [blame] | 311 | =item B<--temporary-extract|-te> |
| 312 | |
Akron | a472a24 | 2023-02-13 13:46:30 +0100 | [diff] [blame] | 313 | Only valid for the C<archive> and C<serial> |
| 314 | commands. |
Akron | 8150010 | 2017-04-07 20:45:44 +0200 | [diff] [blame] | 315 | |
| 316 | This will first extract all files into a |
| 317 | directory and then will archive. |
| 318 | If the directory is given as C<:temp:>, |
| 319 | a temporary directory is used. |
| 320 | This is especially useful to avoid |
| 321 | massive unzipping and potential |
| 322 | network latency. |
Akron | 636aa11 | 2017-04-07 18:48:56 +0200 | [diff] [blame] | 323 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 324 | |
Akron | c93a080 | 2019-07-11 15:48:34 +0200 | [diff] [blame] | 325 | =item B<--to-tar> |
| 326 | |
| 327 | Only valid for the C<archive> command. |
| 328 | |
| 329 | Writes the output into a tar archive. |
| 330 | |
| 331 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 332 | =item B<--sigle|-sg> |
| 333 | |
| 334 | Extract the given texts. |
| 335 | Can be set multiple times. |
| 336 | I<Currently only supported on C<extract>.> |
| 337 | Sigles have the structure C<Corpus>/C<Document>/C<Text>. |
| 338 | In case the C<Text> path is omitted, the whole document will be extracted. |
| 339 | On the document level, the postfix wildcard C<*> is supported. |
| 340 | |
Akron | 55fc212 | 2022-07-27 13:24:39 +0200 | [diff] [blame] | 341 | =item B<--lang> |
| 342 | |
| 343 | Preferred language for metadata fields. In case multiple titles are |
| 344 | given (on any level) with different C<xml:lang> attributes, |
| 345 | the language given is preferred. |
| 346 | Because titles may have different sources and different priorities, |
| 347 | non-specific language titles may still be preferred in case the title |
| 348 | source has a higher priority. |
| 349 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 350 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 351 | =item B<--log|-l> |
| 352 | |
Akron | 6882d7d | 2021-02-08 09:43:57 +0100 | [diff] [blame] | 353 | The L<Log::Any> log level, defaults to C<ERROR>. |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 354 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 355 | |
Akron | a351837 | 2024-01-22 23:29:00 +0100 | [diff] [blame] | 356 | =item B<--quiet> |
| 357 | |
| 358 | Silence all information (non-log) outputs. |
| 359 | |
| 360 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 361 | =item B<--help|-h> |
| 362 | |
Akron | 42f48c1 | 2020-02-14 13:08:13 +0100 | [diff] [blame] | 363 | Print help information. |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 364 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 365 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 366 | =item B<--version|-v> |
| 367 | |
| 368 | Print version information. |
| 369 | |
| 370 | =back |
| 371 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 372 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 373 | =head1 ANNOTATION SUPPORT |
| 374 | |
| 375 | L<KorAP::XML::Krill> has built-in importer for some annotation foundries and layers |
| 376 | developed in the KorAP project that are part of the KorAP preprocessing pipeline. |
| 377 | The base foundry with paragraphs, sentences, and the text element are mandatory for |
| 378 | L<Krill|https://github.com/KorAP/Krill>. |
| 379 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 380 | Base |
| 381 | #Paragraphs |
| 382 | #Sentences |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 383 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 384 | Connexor |
| 385 | #Morpho |
| 386 | #Phrase |
| 387 | #Sentences |
| 388 | #Syntax |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 389 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 390 | CoreNLP |
| 391 | #Constituency |
| 392 | #Morpho |
| 393 | #NamedEntities |
| 394 | #Sentences |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 395 | |
Akron | 5530a55 | 2022-02-17 17:53:15 +0100 | [diff] [blame] | 396 | CorpusExplorer |
| 397 | #Morpho |
| 398 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 399 | CMC |
| 400 | #Morpho |
| 401 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 402 | DeReKo |
| 403 | #Structure |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 404 | |
Akron | 57510c1 | 2019-01-04 14:58:53 +0100 | [diff] [blame] | 405 | DGD |
| 406 | #Morpho |
Akron | c29b8e1 | 2019-12-16 14:28:09 +0100 | [diff] [blame] | 407 | #Structure |
Akron | 57510c1 | 2019-01-04 14:58:53 +0100 | [diff] [blame] | 408 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 409 | DRuKoLa |
| 410 | #Morpho |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 411 | |
Akron | 9f37ed7 | 2022-01-17 12:10:08 +0100 | [diff] [blame] | 412 | Glemm |
Akron | abb3690 | 2021-10-11 15:51:06 +0200 | [diff] [blame] | 413 | #Morpho |
| 414 | |
Akron | 9f37ed7 | 2022-01-17 12:10:08 +0100 | [diff] [blame] | 415 | Gingko |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 416 | #Morpho |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 417 | |
Akron | ed9baf0 | 2019-01-22 17:03:25 +0100 | [diff] [blame] | 418 | HNC |
| 419 | #Morpho |
| 420 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 421 | LWC |
| 422 | #Dependency |
| 423 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 424 | Malt |
| 425 | #Dependency |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 426 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 427 | MarMoT |
| 428 | #Morpho |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 429 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 430 | Mate |
| 431 | #Dependency |
| 432 | #Morpho |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 433 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 434 | MDParser |
| 435 | #Dependency |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 436 | |
Akron | e85a776 | 2022-07-22 08:05:03 +0200 | [diff] [blame] | 437 | NKJP |
| 438 | #Morpho |
| 439 | #NamedEntities |
| 440 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 441 | OpenNLP |
| 442 | #Morpho |
| 443 | #Sentences |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 444 | |
Akron | 0b04b31 | 2020-10-30 17:39:18 +0100 | [diff] [blame] | 445 | RWK |
| 446 | #Morpho |
| 447 | #Structure |
| 448 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 449 | Sgbr |
| 450 | #Lemma |
| 451 | #Morpho |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 452 | |
Marc Kupietz | b8c5382 | 2024-03-16 18:54:08 +0100 | [diff] [blame] | 453 | Spacy |
| 454 | #Morpho |
| 455 | |
Akron | 7d5e638 | 2019-08-08 16:36:27 +0200 | [diff] [blame] | 456 | Talismane |
| 457 | #Dependency |
| 458 | #Morpho |
| 459 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 460 | TreeTagger |
| 461 | #Morpho |
| 462 | #Sentences |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 463 | |
Akron | 83aedd3 | 2023-02-07 10:57:41 +0100 | [diff] [blame] | 464 | UDPipe |
| 465 | #Dependency |
| 466 | #Morpho |
| 467 | |
Akron | 821db3d | 2017-04-06 21:19:31 +0200 | [diff] [blame] | 468 | XIP |
| 469 | #Constituency |
| 470 | #Morpho |
| 471 | #Sentences |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 472 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 473 | |
| 474 | More importers are in preparation. |
| 475 | New annotation importers can be defined in the C<KorAP::XML::Annotation> namespace. |
| 476 | See the built-in annotation importers as examples. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 477 | |
Akron | f73ffb6 | 2018-06-27 12:13:59 +0200 | [diff] [blame] | 478 | |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 479 | =head1 METADATA SUPPORT |
| 480 | |
| 481 | L<KorAP::XML::Krill> has built-in importer for some meta data variants |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 482 | that are part of the KorAP preprocessing pipeline. |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 483 | |
| 484 | =over 2 |
| 485 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 486 | =item B<I5> |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 487 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 488 | Meta data for all I5 files |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 489 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 490 | =item B<Sgbr> |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 491 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 492 | Meta data from the Schreibgebrauch project |
Akron | 2532f1b | 2023-05-15 13:41:24 +0200 | [diff] [blame] | 493 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 494 | =item B<Gingko> |
| 495 | |
| 496 | Meta data from the Gingko project in addition to I5 |
| 497 | |
| 498 | =item B<ICC> |
| 499 | |
| 500 | Meta data for the ICC in addition to I5 |
| 501 | |
| 502 | =item B<NKJP> |
| 503 | |
| 504 | Meta data for the NKJP corpora |
Akron | 24ad3c0 | 2024-06-03 12:38:20 +0200 | [diff] [blame] | 505 | |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 506 | =back |
| 507 | |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 508 | New meta data importers can be defined in the C<KorAP::XML::Meta> namespace. |
| 509 | See the built-in meta data importers as examples. |
| 510 | |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 511 | The I5 metadata definition is based on TEI-P5 and supports C<E<lt>xenoDataE<gt>> |
| 512 | with C<E<lt>meta<gt>> elements like |
| 513 | |
| 514 | <meta type="..." name="..." project="..." desc="...">...</meta> |
| 515 | |
| 516 | that are directly translated to Krill objects. The supported values are: |
| 517 | |
| 518 | =over 2 |
| 519 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 520 | =item C<type> |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 521 | |
| 522 | =over 4 |
| 523 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 524 | =item C<string> |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 525 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 526 | String meta data value |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 527 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 528 | =item C<keyword> |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 529 | |
Akron | dee3cf6 | 2024-06-14 18:14:48 +0200 | [diff] [blame^] | 530 | String meta data value that can be given multiple times |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 531 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 532 | =item C<text> |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 533 | |
Akron | dee3cf6 | 2024-06-14 18:14:48 +0200 | [diff] [blame^] | 534 | String meta data value that is tokenized and can be searched as token sequences |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 535 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 536 | =item C<date> |
| 537 | |
| 538 | Date meta data value (as "yyyy/mm/dd" with optional granularity) |
| 539 | |
| 540 | =item C<integer> |
| 541 | |
| 542 | Numerical meta data value |
| 543 | |
Akron | dee3cf6 | 2024-06-14 18:14:48 +0200 | [diff] [blame^] | 544 | =item C<attachment> |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 545 | |
| 546 | Non-indexed meta data value (only retrievable) |
| 547 | |
| 548 | =item C<uri> |
| 549 | |
| 550 | Non-indexed attached URI, takes the desc as the title for links |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 551 | |
| 552 | =back |
| 553 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 554 | =item C<name> |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 555 | |
Akron | dee3cf6 | 2024-06-14 18:14:48 +0200 | [diff] [blame^] | 556 | The key of the meta object that may be prefixed by C<corpus> or C<doc>, in case the |
Akron | 693f588 | 2024-06-06 12:52:39 +0200 | [diff] [blame] | 557 | C<E<lt>xenoDataE<gt>> information is located on these levels. The text level introduces |
| 558 | no prefixes. |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 559 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 560 | =item C<project> (optional) |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 561 | |
Akron | 1d10149 | 2024-06-06 12:47:35 +0200 | [diff] [blame] | 562 | A prefixed namespace of the key |
| 563 | |
| 564 | =item C<desc> (optional) |
| 565 | |
| 566 | A description of the key |
| 567 | |
| 568 | =item text content |
| 569 | |
| 570 | The value of the meta object |
Akron | 4b001ce | 2024-06-06 12:32:11 +0200 | [diff] [blame] | 571 | |
| 572 | =back |
| 573 | |
Akron | 41e6c8b | 2021-10-14 20:22:18 +0200 | [diff] [blame] | 574 | |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 575 | =head1 About KorAP-XML |
| 576 | |
Akron | a351837 | 2024-01-22 23:29:00 +0100 | [diff] [blame] | 577 | KorAP-XML (Bański et al. 2012) is an implementation of the KorAP |
| 578 | data model (Bański et al. 2013), where text data are stored physically |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 579 | separated from their interpretations (i.e. annotations). |
| 580 | A text document in KorAP-XML therefore consists of several files |
| 581 | containing primary data, metadata and annotations. |
| 582 | |
| 583 | The structure of a single KorAP-XML document can be as follows: |
| 584 | |
| 585 | - data.xml |
| 586 | - header.xml |
| 587 | + base |
| 588 | - tokens.xml |
| 589 | - ... |
| 590 | + struct |
| 591 | - structure.xml |
| 592 | - ... |
| 593 | + corenlp |
| 594 | - morpho.xml |
| 595 | - constituency.xml |
| 596 | - ... |
| 597 | + tree_tagger |
| 598 | - morpho.xml |
| 599 | - ... |
| 600 | - ... |
| 601 | |
| 602 | The C<data.xml> contains the primary data, the C<header.xml> contains |
| 603 | the metadata, and the annotation layers are stored in subfolders |
| 604 | like C<base>, C<struct> or C<corenlp> |
Akron | a351837 | 2024-01-22 23:29:00 +0100 | [diff] [blame] | 605 | (so-called "foundries"; Bański et al. 2013). |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 606 | |
| 607 | Metadata is available in the TEI-P5 variant I5 |
Akron | d4c5c10 | 2020-02-11 11:47:59 +0100 | [diff] [blame] | 608 | (Lüngen and Sperberg-McQueen 2012). See the documentation in |
| 609 | L<KorAP::XML::Meta::I5> for translatable fields. |
| 610 | |
| 611 | Annotations correspond to a variant of the TEI-P5 feature structures |
| 612 | (TEI Consortium; Lee et al. 2004). |
Akron | 72bc522 | 2020-02-06 16:00:13 +0100 | [diff] [blame] | 613 | Annotation feature structures refer to character sequences of the primary text |
| 614 | inside the C<text> element of the C<data.xml>. |
| 615 | A single annotation containing the lemma of a token can have the following structure: |
| 616 | |
| 617 | <span from="0" to="3"> |
| 618 | <fs type="lex" xmlns="http://www.tei-c.org/ns/1.0"> |
| 619 | <f name="lex"> |
| 620 | <fs> |
| 621 | <f name="lemma">zum</f> |
| 622 | </fs> |
| 623 | </f> |
| 624 | </fs> |
| 625 | </span> |
| 626 | |
| 627 | The C<from> and C<to> attributes are refering to the character span |
| 628 | in the primary text. |
| 629 | Depending on the kind of annotation (e.g. token-based, span-based, relation-based), |
| 630 | the structure may vary. See L<KorAP::XML::Annotation::*> for various |
| 631 | annotation preprocessors. |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 632 | |
| 633 | Multiple KorAP-XML documents are organized on three levels following |
| 634 | the "IDS Textmodell" (Lüngen and Sperberg-McQueen 2012): |
| 635 | corpus E<gt> document E<gt> text. On each level metadata information |
| 636 | can be stored, that C<korapxml2krill> will merge to a single metadata |
| 637 | object per text. A corpus is therefore structured as follows: |
| 638 | |
| 639 | + <corpus> |
| 640 | - header.xml |
| 641 | + <document> |
| 642 | - header.xml |
| 643 | + <text> |
| 644 | - data.xml |
| 645 | - header.xml |
| 646 | - ... |
| 647 | - ... |
| 648 | |
| 649 | A single text can be identified by the concatenation of |
| 650 | the corpus identifier, the document identifier and the text identifier. |
| 651 | This identifier is called the text sigle |
| 652 | (e.g. a text with the identifier C<18486> in the document C<060> in the |
| 653 | corpus C<WPD17> has the text sigle C<WPD17/060/18486>, see C<--sigle>). |
| 654 | |
| 655 | These corpora are often stored in zip files, with which C<korapxml2krill> |
| 656 | can deal with. Corpora may also be split in multiple zip archives |
| 657 | (e.g. one zip file per foundry), which is also supported (see C<--input>). |
| 658 | |
| 659 | Examples for KorAP-XML files are included in L<KorAP::XML::Krill> |
| 660 | in form of a test suite. |
| 661 | The resulting JSON format merges all annotation layers |
| 662 | based on a single token stream. |
| 663 | |
| 664 | =head2 References |
| 665 | |
Akron | a351837 | 2024-01-22 23:29:00 +0100 | [diff] [blame] | 666 | Piotr Bański, Cyril Belica, Helge Krause, Marc Kupietz, Carsten Schnober, Oliver Schonefeld, and Andreas Witt (2011): |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 667 | KorAP data model: first approximation, December. |
| 668 | |
Akron | a351837 | 2024-01-22 23:29:00 +0100 | [diff] [blame] | 669 | Piotr Bański, Peter M. Fischer, Elena Frick, Erik Ketzan, Marc Kupietz, Carsten Schnober, Oliver Schonefeld and Andreas Witt (2012): |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 670 | "The New IDS Corpus Analysis Platform: Challenges and Prospects", |
| 671 | Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC 2012). |
| 672 | L<PDF|http://www.lrec-conf.org/proceedings/lrec2012/pdf/789_Paper.pdf> |
| 673 | |
Akron | a351837 | 2024-01-22 23:29:00 +0100 | [diff] [blame] | 674 | Piotr Bański, Elena Frick, Michael Hanl, Marc Kupietz, Carsten Schnober and Andreas Witt (2013): |
Akron | 8f69d63 | 2020-01-15 16:58:11 +0100 | [diff] [blame] | 675 | "Robust corpus architecture: a new look at virtual collections and data access", |
| 676 | Corpus Linguistics 2013. Abstract Book. Lancaster: UCREL, pp. 23-25. |
| 677 | L<PDF|https://ids-pub.bsz-bw.de/frontdoor/deliver/index/docId/4485/file/Ba%c5%84ski_Frick_Hanl_Robust_corpus_architecture_2013.pdf> |
| 678 | |
| 679 | Kiyong Lee, Lou Burnard, Laurent Romary, Eric de la Clergerie, Thierry Declerck, |
| 680 | Syd Bauman, Harry Bunt, Lionel Clément, Tomaz Erjavec, Azim Roussanaly and Claude Roux (2004): |
| 681 | "Towards an international standard on featurestructure representation", |
| 682 | Proceedings of the fourth International Conference on Language Resources and Evaluation (LREC 2004), |
| 683 | pp. 373-376. |
| 684 | L<PDF|http://www.lrec-conf.org/proceedings/lrec2004/pdf/687.pdf> |
| 685 | |
| 686 | Harald Lüngen and C. M. Sperberg-McQueen (2012): |
| 687 | "A TEI P5 Document Grammar for the IDS Text Model", |
| 688 | Journal of the Text Encoding Initiative, Issue 3 | November 2012. |
| 689 | L<PDF|https://journals.openedition.org/jtei/pdf/508> |
| 690 | |
| 691 | TEI Consortium, eds: |
| 692 | "Feature Structures", |
| 693 | Guidelines for Electronic Text Encoding and Interchange. |
| 694 | L<html|https://www.tei-c.org/release/doc/tei-p5-doc/en/html/FS.html> |
| 695 | |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 696 | =head1 AVAILABILITY |
| 697 | |
| 698 | https://github.com/KorAP/KorAP-XML-Krill |
| 699 | |
| 700 | |
| 701 | =head1 COPYRIGHT AND LICENSE |
| 702 | |
Akron | a351837 | 2024-01-22 23:29:00 +0100 | [diff] [blame] | 703 | Copyright (C) 2015-2024, L<IDS Mannheim|https://www.ids-mannheim.de/> |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 704 | |
Akron | 6882d7d | 2021-02-08 09:43:57 +0100 | [diff] [blame] | 705 | Author: L<Nils Diewald|https://www.nils-diewald.de/> |
Akron | 8150010 | 2017-04-07 20:45:44 +0200 | [diff] [blame] | 706 | |
Marc Kupietz | b8c5382 | 2024-03-16 18:54:08 +0100 | [diff] [blame] | 707 | Contributor: Eliza Margaretha, Marc Kupietz |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 708 | |
Akron | 6882d7d | 2021-02-08 09:43:57 +0100 | [diff] [blame] | 709 | L<KorAP::XML::Krill> is developed as part of the L<KorAP|https://korap.ids-mannheim.de/> |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 710 | Corpus Analysis Platform at the |
Akron | 6882d7d | 2021-02-08 09:43:57 +0100 | [diff] [blame] | 711 | L<Leibniz Institute for the German Language (IDS)|https://www.ids-mannheim.de/>, |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 712 | member of the |
Akron | f1849aa | 2019-12-16 23:35:33 +0100 | [diff] [blame] | 713 | L<Leibniz-Gemeinschaft|http://www.leibniz-gemeinschaft.de/>. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 714 | |
Akron | 5c71a85 | 2016-10-31 16:00:33 +0100 | [diff] [blame] | 715 | This program is free software published under the |
Akron | 6882d7d | 2021-02-08 09:43:57 +0100 | [diff] [blame] | 716 | L<BSD-2 License|https://opensource.org/licenses/BSD-2-Clause>. |
Akron | c13a170 | 2016-03-15 19:33:14 +0100 | [diff] [blame] | 717 | |
| 718 | =cut |