Akron | ab39ebb | 2022-12-16 13:27:03 +0100 | [diff] [blame] | 1 | =pod |
| 2 | |
| 3 | =encoding utf8 |
| 4 | |
| 5 | =head1 NAME |
| 6 | |
| 7 | korapxml_offset_checker - Check offsets in KorAP-XML files |
| 8 | |
| 9 | =head1 SYNOPSIS |
| 10 | |
| 11 | perl korapxml_offset_checker -i NKJP/NKJP/SuperExpress -a nkjp/morpho |
| 12 | |
| 13 | =head1 INSTALLATION |
| 14 | |
| 15 | Requires Mojolicious. |
| 16 | |
| 17 | =head1 OPTIONS |
| 18 | |
| 19 | =over 2 |
| 20 | |
| 21 | =item B<--input|-i> |
| 22 | |
| 23 | Expects a path to the root of a KorAP-XML document |
| 24 | (the root being the text level, including the C<data.xml>), |
| 25 | e.g. C<NKJP/NKJP/SuperExpress>. |
| 26 | |
| 27 | =item B<--annotation|-a> |
| 28 | |
| 29 | Expects the annotation to check for failing offsets in the form of |
| 30 | C<foundry/layer>, e.g. C<nkjp/morpho>. |
| 31 | |
| 32 | =item B<--fix|-f> |
| 33 | |
| 34 | Binary flag to rewrite data.xml with fixed offsets. |
| 35 | |
| 36 | =item B<--quiet|-q> |
| 37 | |
| 38 | Binary flag to indicate to never ask, if fixing is really wanted. |
| 39 | |
| 40 | =back |
| 41 | |
| 42 | =head1 COPYRIGHT AND LICENSE |
| 43 | |
| 44 | Copyright (C) 2022, L<IDS Mannheim|https://www.ids-mannheim.de/> |
| 45 | |
| 46 | Author: Nils Diewald |
| 47 | |
| 48 | This program is free software published under the |
| 49 | L<BSD-2 License|https://opensource.org/licenses/BSD-2-Clause>. |
| 50 | |
| 51 | =cut |
| 52 | |