Add MANIFEST to repo
Change-Id: Ide70b02d2d8a17eca1a261b0f33400e02314e548
diff --git a/.gitignore b/.gitignore
index f57405c..e841294 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,7 +15,6 @@
blib
MYMETA*
Makefile
-MANIFEST
pm_to_blib
cover_db
nytprof.out
diff --git a/Changes b/Changes
index f37c02d..7caba31 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,7 @@
0.62 2025-07-15
- Remove lock from tar builder.
- Don't create a list of files (that is passed to forks).
+ - Add slimmed MANIFEST to repo.
0.61 2025-04-30
- Support certainty in OpenNLP/Morpho.
diff --git a/MANIFEST b/MANIFEST
new file mode 100644
index 0000000..2927b13
--- /dev/null
+++ b/MANIFEST
@@ -0,0 +1,218 @@
+Changes
+lib/KorAP/XML/Annotation/Base.pm
+lib/KorAP/XML/Annotation/Base/Paragraphs.pm
+lib/KorAP/XML/Annotation/Base/Sentences.pm
+lib/KorAP/XML/Annotation/CMC/Morpho.pm
+lib/KorAP/XML/Annotation/Connexor/Morpho.pm
+lib/KorAP/XML/Annotation/Connexor/Phrase.pm
+lib/KorAP/XML/Annotation/Connexor/Sentences.pm
+lib/KorAP/XML/Annotation/Connexor/Syntax.pm
+lib/KorAP/XML/Annotation/CoreNLP/Constituency.pm
+lib/KorAP/XML/Annotation/CoreNLP/Morpho.pm
+lib/KorAP/XML/Annotation/CoreNLP/NamedEntities.pm
+lib/KorAP/XML/Annotation/CoreNLP/Sentences.pm
+lib/KorAP/XML/Annotation/DeReKo/Structure.pm
+lib/KorAP/XML/Annotation/DGD/Morpho.pm
+lib/KorAP/XML/Annotation/DGD/Structure.pm
+lib/KorAP/XML/Annotation/DRuKoLa/Morpho.pm
+lib/KorAP/XML/Annotation/Gingko/Morpho.pm
+lib/KorAP/XML/Annotation/Glemm/Morpho.pm
+lib/KorAP/XML/Annotation/HNC/Morpho.pm
+lib/KorAP/XML/Annotation/LWC/Dependency.pm
+lib/KorAP/XML/Annotation/Malt/Dependency.pm
+lib/KorAP/XML/Annotation/MarMoT/Morpho.pm
+lib/KorAP/XML/Annotation/Mate/Dependency.pm
+lib/KorAP/XML/Annotation/Mate/Morpho.pm
+lib/KorAP/XML/Annotation/Mate/MorphoAttr.pm
+lib/KorAP/XML/Annotation/MDParser/Dependency.pm
+lib/KorAP/XML/Annotation/NKJP/Morpho.pm
+lib/KorAP/XML/Annotation/NKJP/NamedEntities.pm
+lib/KorAP/XML/Annotation/OpenNLP/Morpho.pm
+lib/KorAP/XML/Annotation/OpenNLP/Sentences.pm
+lib/KorAP/XML/Annotation/RWK/Morpho.pm
+lib/KorAP/XML/Annotation/RWK/Structure.pm
+lib/KorAP/XML/Annotation/Sgbr/Lemma.pm
+lib/KorAP/XML/Annotation/Sgbr/Morpho.pm
+lib/KorAP/XML/Annotation/Spacy/Morpho.pm
+lib/KorAP/XML/Annotation/Talismane/Dependency.pm
+lib/KorAP/XML/Annotation/Talismane/Morpho.pm
+lib/KorAP/XML/Annotation/TreeTagger/Morpho.pm
+lib/KorAP/XML/Annotation/TreeTagger/Sentences.pm
+lib/KorAP/XML/Annotation/UDPipe/Dependency.pm
+lib/KorAP/XML/Annotation/UDPipe/Morpho.pm
+lib/KorAP/XML/Annotation/XIP/Constituency.pm
+lib/KorAP/XML/Annotation/XIP/Dependency.pm
+lib/KorAP/XML/Annotation/XIP/Morpho.pm
+lib/KorAP/XML/Annotation/XIP/Sentences.pm
+lib/KorAP/XML/Archive.pm
+lib/KorAP/XML/Batch/File.pm
+lib/KorAP/XML/Document/Primary.pm
+lib/KorAP/XML/ForkPool.pm
+lib/KorAP/XML/Index/MultiTerm.pm
+lib/KorAP/XML/Index/MultiTermToken.pm
+lib/KorAP/XML/Index/MultiTermTokenStream.pm
+lib/KorAP/XML/Krill.pm
+lib/KorAP/XML/Log.pm
+lib/KorAP/XML/Log/Slim.pm
+lib/KorAP/XML/Meta/Base.pm
+lib/KorAP/XML/Meta/Gingko.pm
+lib/KorAP/XML/Meta/Ginkgo.pm
+lib/KorAP/XML/Meta/I5.pm
+lib/KorAP/XML/Meta/ICC.pm
+lib/KorAP/XML/Meta/NKJP.pm
+lib/KorAP/XML/Meta/Open.pm
+lib/KorAP/XML/Meta/Sgbr.pm
+lib/KorAP/XML/TarBuilder.pm
+lib/KorAP/XML/Tokenizer.pm
+lib/KorAP/XML/Tokenizer/Match.pm
+lib/KorAP/XML/Tokenizer/Range.pm
+lib/KorAP/XML/Tokenizer/Span.pm
+lib/KorAP/XML/Tokenizer/Spans.pm
+lib/KorAP/XML/Tokenizer/Token.pm
+lib/KorAP/XML/Tokenizer/Tokens.pm
+lib/KorAP/XML/Tokenizer/Units.pm
+LICENSE
+Makefile.PL
+MANIFEST This list of files
+META.json
+META.yml
+script/korapxml2krill
+t/annotation/base_paragraphs.t
+t/annotation/base_sentences.t
+t/annotation/connexor_morpho.t
+t/annotation/connexor_phrase.t
+t/annotation/connexor_sentences.t
+t/annotation/connexor_syntax.t
+t/annotation/corenlp_constituency.t
+t/annotation/corenlp_ent.t
+t/annotation/corenlp_morpho.t
+t/annotation/corenlp_sentences.t
+t/annotation/corpus/doc/0001/base/paragraph.xml
+t/annotation/corpus/doc/0001/base/sentences.xml
+t/annotation/corpus/doc/0001/connexor/morpho.xml
+t/annotation/corpus/doc/0001/connexor/phrase.xml
+t/annotation/corpus/doc/0001/connexor/sentences.xml
+t/annotation/corpus/doc/0001/connexor/syntax.xml
+t/annotation/corpus/doc/0001/corenlp/constituency.xml
+t/annotation/corpus/doc/0001/corenlp/morpho.xml
+t/annotation/corpus/doc/0001/corenlp/ne_dewac_175m_600.xml
+t/annotation/corpus/doc/0001/corenlp/ne_hgc_175m_600.xml
+t/annotation/corpus/doc/0001/corenlp/sentences.xml
+t/annotation/corpus/doc/0001/corenlp/tokens.xml
+t/annotation/corpus/doc/0001/data.xml
+t/annotation/corpus/doc/0001/glemm/glemm.xml
+t/annotation/corpus/doc/0001/header.xml
+t/annotation/corpus/doc/0001/mate/dependency.xml
+t/annotation/corpus/doc/0001/mate/morpho.xml
+t/annotation/corpus/doc/0001/opennlp/morpho.xml
+t/annotation/corpus/doc/0001/opennlp/sentences.xml
+t/annotation/corpus/doc/0001/opennlp/tokens.xml
+t/annotation/corpus/doc/0001/spacy/morpho.xml
+t/annotation/corpus/doc/0001/struct/structure.xml
+t/annotation/corpus/doc/0001/tree_tagger-simple/morpho.xml
+t/annotation/corpus/doc/0001/tree_tagger/morpho.xml
+t/annotation/corpus/doc/0001/tree_tagger/sentences.xml
+t/annotation/corpus/doc/0001/tree_tagger/tokens.xml
+t/annotation/corpus/doc/0001/xip/constituency.xml
+t/annotation/corpus/doc/0001/xip/dependency.xml
+t/annotation/corpus/doc/0001/xip/morpho.xml
+t/annotation/corpus/doc/0001/xip/sentences.xml
+t/annotation/corpus/doc/0002/base/paragraph.xml
+t/annotation/corpus/doc/0002/base/sentences.xml
+t/annotation/corpus/doc/0002/base/tokens_aggr.xml
+t/annotation/corpus/doc/0002/base/tokens_conservative.xml
+t/annotation/corpus/doc/0002/data.xml
+t/annotation/corpus/doc/0002/header.xml
+t/annotation/corpus/doc/0002/malt/dependency.xml
+t/annotation/corpus/doc/0002/malt/metadata.xml
+t/annotation/corpus/doc/0002/struct/structure.xml
+t/annotation/corpus/doc/0002/tree_tagger/metadata.xml
+t/annotation/corpus/doc/0002/tree_tagger/morpho.xml
+t/annotation/corpus/doc/0002/tree_tagger/sentences.xml
+t/annotation/corpus/doc/0002/tree_tagger/tokens.xml
+t/annotation/corpus/doc/0003/data.xml
+t/annotation/corpus/doc/0003/header.xml
+t/annotation/corpus/doc/0003/opennlp/tokens.xml
+t/annotation/corpus/doc/0003/tree_tagger/morpho.xml
+t/annotation/corpus/doc/0003/tree_tagger/tokens.xml
+t/annotation/corpus/doc/header.xml
+t/annotation/corpus/header.xml
+t/annotation/dereko_struct.t
+t/annotation/glemm_morpho.t
+t/annotation/koralquery.t
+t/annotation/malt_dependency.t
+t/annotation/mate_dependency.t
+t/annotation/mate_morpho.t
+t/annotation/mate_morpho_attr.t
+t/annotation/mdp_dependency.t
+t/annotation/meta.t
+t/annotation/opennlp_morpho.t
+t/annotation/opennlp_sentences.t
+t/annotation/primary.t
+t/annotation/spacy_morpho.t
+t/annotation/TestInit.pm
+t/annotation/tt_morpho.t
+t/annotation/tt_sentences.t
+t/annotation/xip_constituency.t
+t/annotation/xip_dependency.t
+t/annotation/xip_morpho.t
+t/annotation/xip_sentences.t
+t/archive.t
+t/batch_file.t
+t/corpus/archive.zip
+t/corpus/archive_quotes.zip
+t/corpus/archive_rei.zip
+t/corpus/archives/fake.zip
+t/corpus/archives/wpd15-single.corenlp.zip
+t/corpus/archives/wpd15-single.malt.zip
+t/corpus/archives/wpd15-single.mdparser.zip
+t/corpus/archives/wpd15-single.opennlp.zip
+t/corpus/archives/wpd15-single.spacy.zip
+t/corpus/archives/wpd15-single.tree_tagger-simple.zip
+t/corpus/archives/wpd15-single.tree_tagger.zip
+t/corpus/archives/wpd15-single.zip
+t/corpus/artificial/base/paragraph.xml
+t/corpus/artificial/base/sentences.xml
+t/corpus/artificial/connexor/morpho.xml
+t/corpus/artificial/connexor/phrase.xml
+t/corpus/artificial/connexor/sentences.xml
+t/corpus/artificial/connexor/syntax.xml
+t/corpus/artificial/corenlp/constituency.xml
+t/corpus/artificial/corenlp/morpho.xml
+t/corpus/artificial/corenlp/ne_dewac_175m_600.xml
+t/corpus/artificial/corenlp/ne_hgc_175m_600.xml
+t/corpus/artificial/corenlp/sentences.xml
+t/corpus/artificial/corenlp/tokens.xml
+t/corpus/artificial/data.xml
+t/corpus/artificial/header.xml
+t/corpus/artificial/metadata.xml
+t/corpus/artificial/opennlp/morpho.xml
+t/corpus/artificial/opennlp/sentences.xml
+t/corpus/artificial/opennlp/tokens.xml
+t/corpus/artificial/opennlp/tokens_wrong.xml
+t/corpus/artificial/xip/constituency.xml
+t/corpus/artificial/xip/dependency.xml
+t/corpus/artificial/xip/morpho.xml
+t/corpus/artificial/xip/sentences.xml
+t/real/all_emojis.txt
+t/krill.t
+t/log_slim.t
+t/logs/dereko-example-log.txt
+t/meta_artificial.t
+t/multiple_archives.t
+t/primary.t
+t/range.t
+t/script/archive.t
+t/script/archive_tar.t
+t/script/archive_tar_tempextract.t
+t/script/config.t
+t/script/extract.t
+t/script/log_slim.t
+t/script/serial.t
+t/script/single.t
+t/script/usage.t
+t/sort_tokens.t
+t/tar_builder.t
+t/tokens.t
+t/tokens_artificial.t
+t/tools/example_rules.json
diff --git a/t/script/single.t b/t/script/single.t
index 54ae7a1..f227393 100644
--- a/t/script/single.t
+++ b/t/script/single.t
@@ -271,32 +271,34 @@
# Koral version
$input = catdir($f, '..', 'real', 'corpus', 'NKJP', 'NKJP', 'KOT');
-$call = join(
- ' ',
- 'perl', $script,
- '--input' => $input,
- '--output' => $output,
- '--cache' => $cache,
- '-t' => 'NKJP#Morpho',
- '-l' => 'INFO',
- '--lang' => 'en'
-);
-$call .= ' -w ';
+if (-f $input) {
+ $call = join(
+ ' ',
+ 'perl', $script,
+ '--input' => $input,
+ '--output' => $output,
+ '--cache' => $cache,
+ '-t' => 'NKJP#Morpho',
+ '-l' => 'INFO',
+ '--lang' => 'en'
+ );
-stderr_like(
- sub {
- system($call);
- },
- qr!The code took!,
- $call
-);
+ $call .= ' -w ';
-ok(-f $output, 'Output does exist');
-ok(($file = Mojo::File->new($output)->slurp), 'Slurp data');
-ok(($json = decode_json $file), 'decode json');
-is($json->{corpusTitle}, 'National Corpus of Polish -- the 1 million word subcorpus', 'Title');
+ stderr_like(
+ sub {
+ system($call);
+ },
+ qr!The code took!,
+ $call
+ );
+ ok(-f $output, 'Output does exist');
+ ok(($file = Mojo::File->new($output)->slurp), 'Slurp data');
+ ok(($json = decode_json $file), 'decode json');
+ is($json->{corpusTitle}, 'National Corpus of Polish -- the 1 million word subcorpus', 'Title');
+};