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