├── .gitattributes ├── .github └── workflows │ ├── deploy_documentation.yml │ ├── release.yml │ ├── release_capi.yml │ ├── test.yml │ └── verify.yml ├── .gitignore ├── .vscode ├── .gitignore ├── launch.json ├── settings.json └── tasks.json ├── CHANGELOG.md ├── CITATION.cff ├── Cargo.toml ├── LICENSE ├── README.md ├── about.hbs ├── about.toml ├── bors.toml ├── capi ├── Cargo.toml ├── cbindgen.toml ├── crate-info.md ├── include │ └── graphannis-capi.h ├── release.toml └── src │ ├── cerror.rs │ ├── corpusstorage.rs │ ├── data.rs │ ├── graph.rs │ ├── lib.rs │ ├── logging.rs │ └── update.rs ├── cli ├── Cargo.toml ├── crate-info.md ├── release.toml ├── src │ └── bin │ │ ├── annis.rs │ │ └── annis_bench_queries.rs └── tests │ ├── cli.rs │ └── snapshots │ ├── cli__export_to_zip_file.snap │ ├── cli__list_corpora.snap │ ├── cli__list_corpora_fully_loaded.snap │ ├── cli__list_corpora_not_loaded.snap │ ├── cli__list_corpora_partially_loaded.snap │ └── cli__show_corpus_info.snap ├── core ├── Cargo.toml ├── crate-info.md ├── release.toml └── src │ ├── annostorage │ ├── inmemory.rs │ ├── inmemory │ │ └── tests.rs │ ├── mod.rs │ ├── ondisk.rs │ ├── ondisk │ │ └── tests.rs │ └── symboltable.rs │ ├── dfs.rs │ ├── errors.rs │ ├── graph │ ├── mod.rs │ ├── serialization │ │ ├── graphml.rs │ │ ├── graphml_example sorted.graphml │ │ ├── graphml_example.graphml │ │ └── mod.rs │ ├── storage │ │ ├── adjacencylist.rs │ │ ├── adjacencylist │ │ │ └── tests.rs │ │ ├── dense_adjacency.rs │ │ ├── dense_adjacency │ │ │ └── tests.rs │ │ ├── disk_adjacency.rs │ │ ├── disk_adjacency │ │ │ └── tests.rs │ │ ├── disk_path.rs │ │ ├── disk_path │ │ │ └── tests.rs │ │ ├── legacy.rs │ │ ├── linear.rs │ │ ├── linear │ │ │ └── tests.rs │ │ ├── mod.rs │ │ ├── prepost.rs │ │ ├── prepost │ │ │ └── tests.rs │ │ ├── registry.rs │ │ └── union.rs │ ├── tests.rs │ ├── update.rs │ └── update │ │ ├── snapshots │ │ └── graphannis_core__graph__update__tests__serialize_json.snap │ │ └── tests.rs │ ├── lib.rs │ ├── serializer.rs │ ├── types.rs │ └── util │ ├── disk_collections.rs │ ├── disk_collections │ └── tests.rs │ ├── example_graphs.rs │ └── mod.rs ├── data └── README.md ├── docs ├── .gitignore ├── book.toml └── src │ ├── README.md │ ├── SUMMARY.md │ ├── annotation-graph.md │ ├── cli.md │ ├── data-model-indexes.md │ ├── data-model.md │ ├── embed-java.md │ ├── embed-python.md │ ├── embed-rust.md │ ├── embed.md │ ├── images │ ├── constituent-index.dot │ ├── constituent-index.png │ ├── constituent.dot │ ├── constituent.png │ ├── corpusgraph.png │ ├── graphannis-architecture.dot │ ├── graphannis-architecture.png │ ├── graphannis-corpusgraph.dot │ ├── graphannis-model.png │ ├── graphannis-model.uxf │ ├── span-index.dot │ ├── span-index.png │ ├── span.dot │ ├── span.png │ ├── stick-actor.png │ ├── token.dot │ └── token.png │ ├── release-checklist.md │ └── rest │ ├── README.md │ ├── auth.md │ └── configuration.md ├── examples └── tutorial │ ├── .gitignore │ ├── Cargo.toml │ ├── release.toml │ └── src │ └── bin │ ├── apply_update.rs │ ├── find_subgraph.rs │ ├── list.rs │ ├── query.rs │ └── subcorpus_graph.rs ├── graphannis ├── Cargo.toml ├── benches │ └── graphannis.rs ├── build.rs ├── release.toml ├── src │ ├── annis │ │ ├── db │ │ │ ├── aql │ │ │ │ ├── .gitignore │ │ │ │ ├── ast.rs │ │ │ │ ├── conjunction.rs │ │ │ │ ├── conjunction │ │ │ │ │ └── tests.rs │ │ │ │ ├── disjunction.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── model.rs │ │ │ │ ├── model │ │ │ │ │ ├── snapshots │ │ │ │ │ │ └── graphannis__annis__db__aql__model__tests__add_token_to_single_sentence.snap │ │ │ │ │ └── tests.rs │ │ │ │ ├── operators │ │ │ │ │ ├── arity.rs │ │ │ │ │ ├── edge_op.rs │ │ │ │ │ ├── equal_value.rs │ │ │ │ │ ├── identical_cov.rs │ │ │ │ │ ├── identical_node.rs │ │ │ │ │ ├── inclusion.rs │ │ │ │ │ ├── leftalignment.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ ├── near.rs │ │ │ │ │ ├── negated_op.rs │ │ │ │ │ ├── non_existing.rs │ │ │ │ │ ├── overlap.rs │ │ │ │ │ ├── precedence.rs │ │ │ │ │ └── rightalignment.rs │ │ │ │ └── parser.lalrpop │ │ │ ├── corpusstorage.rs │ │ │ ├── corpusstorage │ │ │ │ ├── snapshots │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__corpus-config-after.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__corpus-config-before.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__corpus-config-graphml.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__corpus-config-relannis.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_all.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_inverted_0.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_inverted_5.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_offset_0.snap │ │ │ │ │ ├── graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_offset_12.snap │ │ │ │ │ └── graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_offset_5.snap │ │ │ │ ├── subgraph.rs │ │ │ │ └── tests.rs │ │ │ ├── example_generator.rs │ │ │ ├── exec │ │ │ │ ├── filter.rs │ │ │ │ ├── indexjoin.rs │ │ │ │ ├── mod.rs │ │ │ │ ├── nestedloop.rs │ │ │ │ ├── nodesearch.rs │ │ │ │ ├── parallel │ │ │ │ │ ├── indexjoin.rs │ │ │ │ │ ├── mod.rs │ │ │ │ │ └── nestedloop.rs │ │ │ │ └── tokensearch.rs │ │ │ ├── mod.rs │ │ │ ├── plan.rs │ │ │ ├── relannis.rs │ │ │ ├── relannis │ │ │ │ └── tests.rs │ │ │ ├── sort_matches.rs │ │ │ └── token_helper.rs │ │ ├── errors.rs │ │ ├── mod.rs │ │ ├── operator.rs │ │ ├── types.rs │ │ └── util │ │ │ ├── mod.rs │ │ │ ├── quicksort.rs │ │ │ └── sortablecontainer.rs │ └── lib.rs └── tests │ ├── CorpusWithLinkedFile.graphml │ ├── MissingSegmentationCorpus │ └── node.annis │ ├── SaltSampleCorpus.graphml │ ├── SaltSampleCorpus │ ├── annis.version │ ├── component.annis │ ├── corpus.annis │ ├── corpus_annotation.annis │ ├── edge_annotation.annis │ ├── node.annis │ ├── node_annotation.annis │ ├── rank.annis │ ├── resolver_vis_map.annis │ └── text.annis │ ├── SegmentationWithGaps.graphml │ ├── SpecialCharCorpusName │ ├── annis.version │ ├── component.annis │ ├── corpus.annis │ ├── corpus_annotation.annis │ ├── edge_annotation.annis │ ├── node.annis │ ├── node_annotation.annis │ ├── rank.annis │ ├── resolver_vis_map.annis │ └── text.annis │ ├── data │ ├── sample-disk-based-1.5 │ │ ├── corpus-config.toml │ │ └── current │ │ │ ├── gs │ │ │ ├── Coverage │ │ │ │ ├── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inherited-coverage │ │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ │ ├── edges.bin │ │ │ │ │ │ ├── impl.cfg │ │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ │ └── custom.bin │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ ├── default_layer │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ └── default_ns │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ ├── Dominance │ │ │ │ └── syntax │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── LeftToken │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ ├── Ordering │ │ │ │ └── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── PartOf │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ ├── Pointing │ │ │ │ └── default_ns │ │ │ │ │ └── anaphoric │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ └── RightToken │ │ │ │ └── annis │ │ │ │ ├── edge_stats.bin │ │ │ │ ├── edges.bin │ │ │ │ ├── impl.cfg │ │ │ │ ├── inverse_edges.bin │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ ├── by_anno_qname.bin │ │ │ │ ├── by_container.bin │ │ │ │ └── custom.bin │ │ │ └── nodes_diskmap_v1 │ │ │ ├── by_anno_qname.bin │ │ │ ├── by_container.bin │ │ │ └── custom.bin │ ├── sample-disk-based-3.2 │ │ ├── corpus-config.toml │ │ └── current │ │ │ ├── global_statistics.bin │ │ │ ├── gs │ │ │ ├── Coverage │ │ │ │ ├── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inherited-coverage │ │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ │ ├── edges.bin │ │ │ │ │ │ ├── impl.cfg │ │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ │ └── custom.bin │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ ├── default_layer │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ └── default_ns │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ ├── Dominance │ │ │ │ └── syntax │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── LeftToken │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ ├── Ordering │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ ├── PartOf │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ ├── Pointing │ │ │ │ └── default_ns │ │ │ │ │ └── anaphoric │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ └── RightToken │ │ │ │ └── annis │ │ │ │ ├── edge_stats.bin │ │ │ │ ├── impl.cfg │ │ │ │ ├── inverse_edges.bin │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ ├── by_anno_qname.bin │ │ │ │ ├── by_container.bin │ │ │ │ └── custom.bin │ │ │ │ └── paths.bin │ │ │ └── nodes_diskmap_v1 │ │ │ ├── by_anno_qname.bin │ │ │ ├── by_container.bin │ │ │ └── custom.bin │ ├── sample-disk-based-3.3 │ │ ├── corpus-config.toml │ │ └── current │ │ │ ├── global_statistics.toml │ │ │ ├── gs │ │ │ ├── Coverage │ │ │ │ ├── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inherited-coverage │ │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ │ ├── edges.bin │ │ │ │ │ │ ├── impl.cfg │ │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ │ └── custom.bin │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ ├── default_layer │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ └── default_ns │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ └── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ ├── Dominance │ │ │ │ └── syntax │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── LeftToken │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ ├── Ordering │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ ├── PartOf │ │ │ │ └── annis │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ ├── Pointing │ │ │ │ └── default_ns │ │ │ │ │ └── anaphoric │ │ │ │ │ ├── edge_stats.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── paths.bin │ │ │ └── RightToken │ │ │ │ └── annis │ │ │ │ ├── edge_stats.bin │ │ │ │ ├── impl.cfg │ │ │ │ ├── inverse_edges.bin │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ ├── by_anno_qname.bin │ │ │ │ ├── by_container.bin │ │ │ │ └── custom.bin │ │ │ │ └── paths.bin │ │ │ └── nodes_diskmap_v1 │ │ │ ├── by_anno_qname.bin │ │ │ ├── by_container.bin │ │ │ └── custom.bin │ ├── sample-disk-based-3.8 │ │ ├── corpus-config.toml │ │ └── current │ │ │ ├── global_statistics.toml │ │ │ ├── gs │ │ │ ├── Coverage │ │ │ │ ├── annis │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inherited-coverage │ │ │ │ │ │ ├── edges.bin │ │ │ │ │ │ ├── impl.cfg │ │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ │ └── custom.bin │ │ │ │ │ │ └── stats.toml │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ │ └── stats.toml │ │ │ │ ├── default_layer │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ │ ├── by_container.bin │ │ │ │ │ │ └── custom.bin │ │ │ │ │ └── stats.toml │ │ │ │ └── default_ns │ │ │ │ │ ├── edges.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ └── stats.toml │ │ │ ├── Dominance │ │ │ │ └── syntax │ │ │ │ │ ├── annos.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── node_to_order.bin │ │ │ │ │ ├── order_to_node.bin │ │ │ │ │ └── stats.toml │ │ │ ├── LeftToken │ │ │ │ └── annis │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ ├── paths.bin │ │ │ │ │ └── stats.toml │ │ │ ├── Ordering │ │ │ │ └── annis │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ ├── paths.bin │ │ │ │ │ └── stats.toml │ │ │ ├── PartOf │ │ │ │ └── annis │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ ├── paths.bin │ │ │ │ │ └── stats.toml │ │ │ ├── Pointing │ │ │ │ └── default_ns │ │ │ │ │ └── anaphoric │ │ │ │ │ ├── impl.cfg │ │ │ │ │ ├── inverse_edges.bin │ │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ │ ├── by_anno_qname.bin │ │ │ │ │ ├── by_container.bin │ │ │ │ │ └── custom.bin │ │ │ │ │ ├── paths.bin │ │ │ │ │ └── stats.toml │ │ │ └── RightToken │ │ │ │ └── annis │ │ │ │ ├── impl.cfg │ │ │ │ ├── inverse_edges.bin │ │ │ │ ├── nodes_diskmap_v1 │ │ │ │ ├── by_anno_qname.bin │ │ │ │ ├── by_container.bin │ │ │ │ └── custom.bin │ │ │ │ ├── paths.bin │ │ │ │ └── stats.toml │ │ │ └── nodes_diskmap_v1 │ │ │ ├── by_anno_qname.bin │ │ │ ├── by_container.bin │ │ │ └── custom.bin │ ├── sample-memory-based-1.5 │ │ ├── corpus-config.toml │ │ └── current │ │ │ ├── gs │ │ │ ├── Coverage │ │ │ │ ├── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ └── inherited-coverage │ │ │ │ │ │ ├── component.bin │ │ │ │ │ │ └── impl.cfg │ │ │ │ ├── default_layer │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ │ └── default_ns │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── Dominance │ │ │ │ └── syntax │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── LeftToken │ │ │ │ └── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── Ordering │ │ │ │ └── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── PartOf │ │ │ │ └── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── Pointing │ │ │ │ └── default_ns │ │ │ │ │ └── anaphoric │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ └── RightToken │ │ │ │ └── annis │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ │ └── nodes_v1.bin │ ├── sample-memory-based-3.2 │ │ ├── corpus-config.toml │ │ └── current │ │ │ ├── global_statistics.bin │ │ │ ├── gs │ │ │ ├── Coverage │ │ │ │ ├── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ ├── impl.cfg │ │ │ │ │ └── inherited-coverage │ │ │ │ │ │ ├── component.bin │ │ │ │ │ │ └── impl.cfg │ │ │ │ ├── default_layer │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ │ └── default_ns │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── Dominance │ │ │ │ └── syntax │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── LeftToken │ │ │ │ └── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── Ordering │ │ │ │ └── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── PartOf │ │ │ │ └── annis │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── Pointing │ │ │ │ └── default_ns │ │ │ │ │ └── anaphoric │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ └── RightToken │ │ │ │ └── annis │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ │ └── nodes_v1.bin │ └── sample-memory-based-3.3 │ │ ├── corpus-config.toml │ │ └── current │ │ ├── global_statistics.toml │ │ ├── gs │ │ ├── Coverage │ │ │ ├── annis │ │ │ │ ├── component.bin │ │ │ │ ├── impl.cfg │ │ │ │ └── inherited-coverage │ │ │ │ │ ├── component.bin │ │ │ │ │ └── impl.cfg │ │ │ ├── default_layer │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ │ └── default_ns │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ ├── Dominance │ │ │ └── syntax │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ ├── LeftToken │ │ │ └── annis │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ ├── Ordering │ │ │ └── annis │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ ├── PartOf │ │ │ └── annis │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ ├── Pointing │ │ │ └── default_ns │ │ │ │ └── anaphoric │ │ │ │ ├── component.bin │ │ │ │ └── impl.cfg │ │ └── RightToken │ │ │ └── annis │ │ │ ├── component.bin │ │ │ └── impl.cfg │ │ └── nodes_v1.bin │ ├── linked_file.txt │ ├── searchtest.rs │ ├── searchtest_queries.csv │ └── single_sentence.graphml ├── misc ├── convertAll.py ├── download-mdbook.sh ├── download-test-corpora.sh ├── license-template.txt ├── query-folder-to-csv.py ├── rename-deployed-files.sh ├── urlshortener-to-csv.py └── valgrind.supp ├── relannis └── README.md ├── release.toml ├── third-party-licenses.html ├── verify.sh └── webservice ├── .gitignore ├── Cargo.toml ├── api-docs.html ├── crate-info.md ├── diesel.toml ├── migrations ├── .gitkeep └── 2020-06-16-105832_corpus_corpus │ ├── down.sql │ └── up.sql ├── release.toml └── src ├── actions.rs ├── api ├── administration.rs ├── administration │ └── tests.rs ├── corpora.rs ├── corpora │ └── tests.rs ├── mod.rs ├── search.rs └── search │ └── tests.rs ├── auth.rs ├── default-settings.toml ├── errors.rs ├── extractors.rs ├── main.rs ├── models.rs ├── openapi.yml ├── schema.rs ├── settings.rs ├── snapshots ├── graphannis_webservice__tests__logfile.snap └── graphannis_webservice__tests__logfile_debug.snap └── tests.rs /.gitattributes: -------------------------------------------------------------------------------- 1 | *.graphml text eol=lf 2 | third-party-licenses.html linguist-generated 3 | /graphannis/tests/data/ linguist-generated=true 4 | -------------------------------------------------------------------------------- /.github/workflows/deploy_documentation.yml: -------------------------------------------------------------------------------- 1 | on: 2 | release: 3 | types: 4 | - released 5 | name: Deploy documentation for latest release 6 | jobs: 7 | deploy_documentation: 8 | runs-on: ubuntu-latest 9 | steps: 10 | - name: Checkout 11 | uses: actions/checkout@v1 12 | - name: Get the release version from the GITHUB_REF variable as new SHORT_VERSION variable 13 | run: echo "SHORT_VERSION=$(echo ${GITHUB_REF} | sed -E 's/^refs\/heads\/.*/develop/' | sed -E 's/^(refs\/tags\/v)?(.*)(\.[0-9]+\.[0-9]+)$/\2/')" >> $GITHUB_ENV 14 | - run: misc/download-mdbook.sh 0.3.5 15 | env: 16 | OS_NAME: linux 17 | - name: Generate the documentation 18 | run: mdbook build --dest-dir book/v${SHORT_VERSION} docs/ 19 | - run: git clone -q -b gh-pages https://github.com/$GITHUB_REPOSITORY gh-pages 20 | - name: Remove old files for this version 21 | run: rm -Rf gh-pages/docs/v$SHORT_VERSION 22 | - name: copy the documentation content 23 | run: cp -R docs/book/* gh-pages/docs/ 24 | - run: git add docs/v$SHORT_VERSION 25 | working-directory: gh-pages 26 | - run: git -c user.name='gh-actions' -c user.email='gh-actions' commit --allow-empty -m "add documentation for version $SHORT_VERSION" 27 | working-directory: gh-pages 28 | - name: Push changes 29 | uses: ad-m/github-push-action@v0.6.0 30 | with: 31 | github_token: ${{ secrets.GITHUB_TOKEN }} 32 | directory: gh-pages 33 | branch: gh-pages 34 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /annis_history.txt 3 | /data 4 | /data_* 5 | /relannis 6 | /queries_* 7 | /gum.zip 8 | /benchmark_annis4.log 9 | /Cargo.lock 10 | /gh-pages 11 | /pcc21.zip 12 | /ridges7.zip 13 | /graphannis-trace.log 14 | /.cargo/config.toml 15 | -------------------------------------------------------------------------------- /.vscode/.gitignore: -------------------------------------------------------------------------------- 1 | *.cmaketools.json 2 | cquery_cached_index 3 | /tags 4 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "type": "lldb", 6 | "request": "attach", 7 | "name": "Attach", 8 | "pid": "${command:pickMyProcess}", // use ${command:pickProcess} to pick other users' processes 9 | "sourceLanguages": [ 10 | "rust" 11 | ] 12 | }, 13 | { 14 | "type": "lldb", 15 | "request": "launch", 16 | "name": "Console", 17 | "program": "${workspaceRoot}/target/debug/annis", 18 | "args": [ 19 | "data" 20 | ], 21 | "cwd": "${workspaceRoot}", 22 | "terminal": "integrated", 23 | "env": { 24 | "RUST_BACKTRACE": "1" 25 | }, 26 | "sourceLanguages": [ 27 | "rust" 28 | ] 29 | }, 30 | { 31 | "type": "lldb", 32 | "request": "launch", 33 | "name": "Web Service", 34 | "program": "${workspaceRoot}/target/debug/graphannis-webservice", 35 | "args": [ 36 | "--config", 37 | "${workspaceRoot}/tmp/test.toml" 38 | ], 39 | "cwd": "${workspaceRoot}/webservice/", 40 | "terminal": "integrated", 41 | "env": { 42 | "RUST_BACKTRACE": "1" 43 | }, 44 | "sourceLanguages": [ 45 | "rust" 46 | ] 47 | }, 48 | { 49 | "type": "lldb", 50 | "request": "launch", 51 | "name": "Debug Test", 52 | "cargo": { 53 | "args": [ 54 | "test", 55 | "--no-run", 56 | "--lib" 57 | ] 58 | }, 59 | "sourceLanguages": [ 60 | "rust" 61 | ], 62 | "cwd": "${workspaceRoot}" 63 | } 64 | ] 65 | } -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "python.pythonPath": "/usr/bin/python3", 3 | "rust.all_features": true, 4 | "debug.node.autoAttach": "on", 5 | "cSpell.language": "de,en", 6 | "editor.formatOnSave": true, 7 | "editor.formatOnSaveMode": "file", 8 | "ltex.workspaceFolderDictionary": { 9 | "en-US": [ 10 | "graphANNIS" 11 | ] 12 | }, 13 | "files.watcherExclude": { 14 | "**/target/**": true 15 | }, 16 | "spellright.language": [ 17 | "en_US" 18 | ], 19 | "spellright.documentTypes": [ 20 | "markdown", 21 | "latex", 22 | "plaintext" 23 | ] 24 | } -------------------------------------------------------------------------------- /CITATION.cff: -------------------------------------------------------------------------------- 1 | cff-version: 1.2.0 2 | message: If you use this software, please cite it as below. 3 | authors: 4 | - family-names: Krause 5 | given-names: Thomas 6 | orcid: https://orcid.org/0000-0003-3731-2422 7 | affiliation: Humboldt-Universität zu Berlin 8 | title: graphANNIS 9 | version: 3.8.1 10 | date-released: 2025-05-22 11 | doi: 10.5281/zenodo.2598164 12 | references: 13 | - type: thesis 14 | title: "ANNIS: A graph-based query system for deeply annotated text corpora" 15 | year: 2019 16 | doi: 10.18452/19659 17 | authors: 18 | - family-names: Krause 19 | given-names: Thomas 20 | orcid: https://orcid.org/0000-0003-3731-2422 21 | affiliation: Humboldt-Universität zu Berlin 22 | -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- 1 | [workspace] 2 | members = [ 3 | "core", 4 | "graphannis", 5 | "cli", 6 | "capi", 7 | "webservice", 8 | "examples/tutorial", 9 | ] 10 | resolver = "2" 11 | 12 | # Config for 'cargo dist' 13 | [workspace.metadata.dist] 14 | # The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) 15 | cargo-dist-version = "0.22.1" 16 | # CI backends to support 17 | ci = "github" 18 | # The installers to generate for each app 19 | installers = [] 20 | # Which actions to run on pull requests 21 | pr-run-mode = "plan" 22 | # Target platforms to build apps for (Rust target-triple syntax) 23 | targets = [ 24 | "aarch64-apple-darwin", 25 | "x86_64-apple-darwin", 26 | "x86_64-unknown-linux-gnu", 27 | "x86_64-pc-windows-msvc", 28 | ] 29 | [workspace.metadata.dist.github-custom-runners] 30 | global = "ubuntu-22.04" 31 | x86_64-unknown-linux-gnu = "ubuntu-22.04" 32 | 33 | # Use release optimization of some of the performance sensitive crates even for debug builds. 34 | # This allows faster builds and debugging of our own code, while balancing performance. 35 | [profile.dev.package.bincode] 36 | opt-level = 3 37 | 38 | [profile.dev.package.csv] 39 | opt-level = 3 40 | 41 | [profile.dev.package.regex] 42 | opt-level = 3 43 | 44 | [profile.dev.package.serde] 45 | opt-level = 3 46 | 47 | [profile.dev.package.sstable] 48 | opt-level = 3 49 | 50 | [profile.dev.package.quick-xml] 51 | opt-level = 3 52 | 53 | [profile.dev.package.zip] 54 | opt-level = 3 55 | 56 | # The profile that 'cargo dist' will build with 57 | [profile.dist] 58 | inherits = "release" 59 | lto = "thin" 60 | -------------------------------------------------------------------------------- /about.toml: -------------------------------------------------------------------------------- 1 | accepted = [ 2 | "Apache-2.0", 3 | "MIT", 4 | "BSD-3-Clause", 5 | "BSD-2-Clause", 6 | "BSL-1.0", 7 | "MPL-2.0", 8 | "CC0-1.0", 9 | "ISC", 10 | "Zlib", 11 | "OpenSSL", 12 | "Unicode-DFS-2016", 13 | ] 14 | 15 | workarounds = [ 16 | "ring", 17 | ] 18 | -------------------------------------------------------------------------------- /bors.toml: -------------------------------------------------------------------------------- 1 | status = [ 2 | "Execute automated tests on Ubuntu Linux", 3 | "Execute automated tests on Windows", 4 | "Execute automated tests on OSX", 5 | "Execute search tests", 6 | "Static code analysis", 7 | ] 8 | -------------------------------------------------------------------------------- /capi/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Thomas Krause "] 3 | description = "This is the C-API to the ANNIS linguistic search and visualization system." 4 | edition = "2018" 5 | license = "Apache-2.0" 6 | name = "graphannis-capi" 7 | readme = "crate-info.md" 8 | repository = "https://github.com/korpling/graphANNIS" 9 | version = "3.8.1" 10 | 11 | [lib] 12 | crate-type = ["staticlib", "cdylib"] 13 | 14 | [dependencies] 15 | graphannis = { path = "../graphannis/", version = "^3" } 16 | itertools = "0.10" 17 | libc = "0.2" 18 | log = "0.4" 19 | simplelog = { version = "0.12" } 20 | -------------------------------------------------------------------------------- /capi/cbindgen.toml: -------------------------------------------------------------------------------- 1 | language = "C" 2 | header = """/* SPDX-License-Identifier: Apache-2.0 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License.s 14 | */""" 15 | include_guard = "graphannis_capi_h" 16 | include_version = true 17 | 18 | [parse] 19 | parse_deps = true 20 | include = ["graphannis-core", "graphannis"] 21 | 22 | [export] 23 | prefix = "Annis" 24 | 25 | [enum] 26 | prefix_with_name = true 27 | -------------------------------------------------------------------------------- /capi/crate-info.md: -------------------------------------------------------------------------------- 1 | # graphANNIS C-API 2 | 3 | 4 | [GraphANNIS](https://crates.io/crates/graphannis) is a new backend implementation of the ANNIS linguistic search and visualization system (http://corpus-tools.org/annis/). 5 | This crate contains the functions and types that form its C-API. -------------------------------------------------------------------------------- /capi/release.toml: -------------------------------------------------------------------------------- 1 | tag = false 2 | push = false 3 | -------------------------------------------------------------------------------- /capi/src/lib.rs: -------------------------------------------------------------------------------- 1 | #[macro_use] 2 | extern crate log; 3 | 4 | use std::borrow::Cow; 5 | 6 | use cerror::ErrorList; 7 | 8 | fn cast_mut<'a, T>(x: *mut T) -> &'a mut T { 9 | unsafe { 10 | assert!(!x.is_null()); 11 | &mut (*x) 12 | } 13 | } 14 | 15 | fn cast_const<'a, T>(x: *const T) -> &'a T { 16 | unsafe { 17 | assert!(!x.is_null(), "Object argument was null"); 18 | &(*x) 19 | } 20 | } 21 | 22 | fn cstr<'a>(orig: *const libc::c_char) -> Cow<'a, str> { 23 | unsafe { 24 | if orig.is_null() { 25 | Cow::from("") 26 | } else { 27 | std::ffi::CStr::from_ptr(orig).to_string_lossy() 28 | } 29 | } 30 | } 31 | 32 | fn map_cerr>>( 33 | x: Result, 34 | err_ptr: *mut *mut ErrorList, 35 | ) -> Option { 36 | match x { 37 | Ok(v) => Some(v), 38 | Err(err) => { 39 | if !err_ptr.is_null() { 40 | unsafe { 41 | *err_ptr = cerror::new(err.into()); 42 | } 43 | } 44 | None 45 | } 46 | } 47 | } 48 | 49 | /// Simple definition of a matrix from a single data type. 50 | pub type Matrix = Vec>; 51 | 52 | pub mod cerror; 53 | pub mod corpusstorage; 54 | pub mod data; 55 | pub mod graph; 56 | pub mod logging; 57 | pub mod update; 58 | -------------------------------------------------------------------------------- /cli/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Thomas Krause "] 3 | autobins = true 4 | description = "This is a command-line interface to the new backend implementation of the ANNIS linguistic search and visualization system." 5 | edition = "2021" 6 | license = "Apache-2.0" 7 | name = "graphannis-cli" 8 | readme = "crate-info.md" 9 | repository = "https://github.com/korpling/graphANNIS" 10 | version = "3.8.1" 11 | 12 | [dependencies] 13 | anyhow = "1" 14 | clap = { version = "2", default-features = false } 15 | compound_duration = "1" 16 | criterion = "0.3" 17 | graphannis = { path = "../graphannis/", version = "^3" } 18 | log = "0.4" 19 | prettytable-rs = "0.10.0" 20 | rustyline = "9" 21 | rustyline-derive = "0.5" 22 | simplelog = "0.12" 23 | toml = "0.5" 24 | 25 | [target.'cfg(not(target_env = "msvc"))'.dependencies] 26 | tikv-jemallocator = "0.5" 27 | 28 | [dev-dependencies] 29 | assert_cmd = "2.0.12" 30 | insta = { version = "1.34.0", features = ["filters"] } 31 | insta-cmd = "0.5" 32 | serial_test = "2" 33 | 34 | [[bin]] 35 | name = "annis" 36 | 37 | [[bin]] 38 | name = "annis_bench_queries" 39 | 40 | [package.metadata.cargo-machete] 41 | ignored = ["prettytable-rs"] 42 | -------------------------------------------------------------------------------- /cli/crate-info.md: -------------------------------------------------------------------------------- 1 | # graphANNIS command line tools 2 | 3 | 4 | [GraphANNIS](https://crates.io/crates/graphannis) is a new backend implementation of the ANNIS linguistic search and visualization system (http://corpus-tools.org/annis/). 5 | This crate contains command line tools, e.g. for importing corpora. -------------------------------------------------------------------------------- /cli/release.toml: -------------------------------------------------------------------------------- 1 | tag = false 2 | push = false 3 | -------------------------------------------------------------------------------- /cli/tests/snapshots/cli__export_to_zip_file.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: cli/tests/cli.rs 3 | info: 4 | program: annis 5 | args: 6 | - "../graphannis/tests/data/" 7 | - "-c" 8 | - corpus sample-disk-based-3.3 9 | - "-c" 10 | - export sample-disk-based-3.3.zip 11 | --- 12 | success: true 13 | exit_code: 0 14 | ----- stdout ----- 15 | 12:00:00[INFO] Loaded corpus sample-disk-based-3.3 16 | 12:00:00[INFO] exporting all available annotation keys 17 | 12:00:00[INFO] exporting nodes 18 | 12:00:00[INFO] exporting edges 19 | 12:00:00[INFO] exported corpora ["sample-disk-based-3.3"] in 0s 20 | graphANNIS says good-bye! 21 | 22 | ----- stderr ----- 23 | -------------------------------------------------------------------------------- /cli/tests/snapshots/cli__list_corpora.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: cli/tests/cli.rs 3 | info: 4 | program: annis 5 | args: 6 | - "../graphannis/tests/data/" 7 | - "-c" 8 | - list 9 | --- 10 | success: true 11 | exit_code: 0 12 | ----- stdout ----- 13 | sample-disk-based (not loaded) 14 | sample-memory-based (not loaded) 15 | graphANNIS says good-bye! 16 | 17 | ----- stderr ----- 18 | 19 | -------------------------------------------------------------------------------- /cli/tests/snapshots/cli__list_corpora_fully_loaded.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: cli/tests/cli.rs 3 | info: 4 | program: annis 5 | args: 6 | - "../graphannis/tests/data/" 7 | - "-c" 8 | - corpus sample-disk-based-3.3 9 | - "-c" 10 | - preload 11 | - "-c" 12 | - list 13 | --- 14 | success: true 15 | exit_code: 0 16 | ----- stdout ----- 17 | 12:00:00[INFO] Loaded corpus sample-disk-based-3.3 18 | 12:00:00[INFO] Corpus cache after preloading sample-disk-based-3.3: 100MB / 300MB - loaded corpora [sample-disk-based-3.3] 19 | 12:00:00[INFO] Preloaded corpus in 10 ms 20 | sample-disk-based-1.5 (not loaded) 21 | sample-disk-based-3.2 (not loaded) 22 | sample-disk-based-3.3 (fully loaded) 23 | sample-disk-based-3.8 (not loaded) 24 | sample-memory-based-1.5 (not loaded) 25 | sample-memory-based-3.2 (not loaded) 26 | sample-memory-based-3.3 (not loaded) 27 | graphANNIS says good-bye! 28 | 29 | ----- stderr ----- 30 | -------------------------------------------------------------------------------- /cli/tests/snapshots/cli__list_corpora_not_loaded.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: cli/tests/cli.rs 3 | info: 4 | program: annis 5 | args: 6 | - "../graphannis/tests/data/" 7 | - "-c" 8 | - list 9 | --- 10 | success: true 11 | exit_code: 0 12 | ----- stdout ----- 13 | sample-disk-based-1.5 (not loaded) 14 | sample-disk-based-3.2 (not loaded) 15 | sample-disk-based-3.3 (not loaded) 16 | sample-disk-based-3.8 (not loaded) 17 | sample-memory-based-1.5 (not loaded) 18 | sample-memory-based-3.2 (not loaded) 19 | sample-memory-based-3.3 (not loaded) 20 | graphANNIS says good-bye! 21 | 22 | ----- stderr ----- 23 | -------------------------------------------------------------------------------- /cli/tests/snapshots/cli__list_corpora_partially_loaded.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: cli/tests/cli.rs 3 | info: 4 | program: annis 5 | args: 6 | - "../graphannis/tests/data/" 7 | - "-c" 8 | - corpus sample-disk-based-3.3 9 | - "-c" 10 | - count tok 11 | - "-c" 12 | - list 13 | --- 14 | success: true 15 | exit_code: 0 16 | ----- stdout ----- 17 | 12:00:00[INFO] Loaded corpus sample-disk-based-3.3 18 | 12:00:00[INFO] Corpus cache after loading components: 100MB / 300MB - loaded corpora [sample-disk-based-3.3] 19 | 12:00:00[INFO] Executed query in 10 ms 20 | result: 44 matches in 4 documents 21 | sample-disk-based-1.5 (not loaded) 22 | sample-disk-based-3.2 (not loaded) 23 | sample-disk-based-3.3 (partially loaded) 24 | sample-disk-based-3.8 (not loaded) 25 | sample-memory-based-1.5 (not loaded) 26 | sample-memory-based-3.2 (not loaded) 27 | sample-memory-based-3.3 (not loaded) 28 | graphANNIS says good-bye! 29 | 30 | ----- stderr ----- 31 | -------------------------------------------------------------------------------- /core/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Thomas Krause "] 3 | description = "This crate supports graph representation and generic query-functionality." 4 | edition = "2021" 5 | license = "Apache-2.0" 6 | name = "graphannis-core" 7 | readme = "crate-info.md" 8 | repository = "https://github.com/korpling/graphANNIS" 9 | version = "3.8.1" 10 | 11 | [lib] 12 | 13 | [dependencies] 14 | binary-layout = "4.0.1" 15 | bincode = "1.2" 16 | clru = "0.6.1" 17 | itertools = "0.10" 18 | lazy_static = "1.4" 19 | log = "0.4" 20 | memmap2 = "0.9" 21 | normpath = "1.1.1" 22 | num-traits = "0.2" 23 | percent-encoding = "2.1" 24 | quick-xml = "0.28" 25 | rand = {version = "0.8", features = ["small_rng"]} 26 | rayon = {version = "1.3", default-features = false} 27 | regex = "1" 28 | regex-syntax = "0.8" 29 | rustc-hash = "1.0" 30 | serde = {version = "1.0", features = ["rc"]} 31 | serde_bytes = "0.11" 32 | serde_derive = "1.0" 33 | smallvec = "1.6" 34 | smartstring = {version = "1", features = ["serde"]} 35 | sstable = "0.11" 36 | strum = "0.21" 37 | strum_macros = "0.21" 38 | tempfile = "3.1" 39 | thiserror = "1" 40 | toml = "0.8" 41 | transient-btree-index = "0.5" 42 | 43 | [target.'cfg(windows)'.dependencies] 44 | winapi = {version = "0.3", features = ["heapapi"]} 45 | 46 | [dev-dependencies] 47 | env_logger = "0.9" 48 | fake = "2.2" 49 | insta = {version = "1.38.0", features = ["json"]} 50 | pretty_assertions = "1.3" 51 | serde_json = "1.0" 52 | -------------------------------------------------------------------------------- /core/crate-info.md: -------------------------------------------------------------------------------- 1 | # graphANNIS core library 2 | 3 | 4 | [GraphANNIS](https://crates.io/crates/graphannis) is a new backend implementation of the ANNIS linguistic search and visualization system (http://corpus-tools.org/annis/). 5 | This crate contains basic graph representation and query functionality. -------------------------------------------------------------------------------- /core/release.toml: -------------------------------------------------------------------------------- 1 | tag = false 2 | push = false 3 | -------------------------------------------------------------------------------- /core/src/graph/serialization/graphml_example sorted.graphml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | " 9 | 10 | [some.another] 11 | value = "test"]]> 12 | 13 | something 14 | node 15 | 16 | 17 | node 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /core/src/graph/serialization/graphml_example.graphml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | " 9 | 10 | [some.another] 11 | value = "test"]]> 12 | 13 | something 14 | node 15 | 16 | 17 | node 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /core/src/graph/serialization/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod graphml; 2 | -------------------------------------------------------------------------------- /core/src/graph/update/snapshots/graphannis_core__graph__update__tests__serialize_json.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: core/src/graph/update/tests.rs 3 | expression: seralized_string 4 | --- 5 | { 6 | "1": { 7 | "AddNode": { 8 | "node_name": "parent", 9 | "node_type": "corpus" 10 | } 11 | }, 12 | "2": { 13 | "AddNode": { 14 | "node_name": "child", 15 | "node_type": "corpus" 16 | } 17 | }, 18 | "3": { 19 | "AddEdge": { 20 | "source_node": "child", 21 | "target_node": "parent", 22 | "layer": "annis", 23 | "component_type": "PartOf", 24 | "component_name": "" 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /core/src/lib.rs: -------------------------------------------------------------------------------- 1 | #![deny( 2 | clippy::panic, 3 | clippy::panic_in_result_fn, 4 | clippy::expect_used, 5 | clippy::exit, 6 | clippy::todo, 7 | clippy::unwrap_in_result 8 | )] 9 | 10 | #[macro_use] 11 | extern crate log; 12 | #[macro_use] 13 | extern crate serde_derive; 14 | #[macro_use] 15 | extern crate lazy_static; 16 | 17 | pub mod annostorage; 18 | pub mod dfs; 19 | pub mod errors; 20 | pub mod graph; 21 | pub mod serializer; 22 | pub mod types; 23 | pub mod util; 24 | -------------------------------------------------------------------------------- /core/src/util/mod.rs: -------------------------------------------------------------------------------- 1 | use crate::errors::{GraphAnnisCoreError, Result}; 2 | use percent_encoding::{utf8_percent_encode, AsciiSet, CONTROLS}; 3 | use std::borrow::Cow; 4 | 5 | pub mod disk_collections; 6 | 7 | #[cfg(test)] 8 | pub(crate) mod example_graphs; 9 | 10 | const QNAME_ENCODE_SET: &AsciiSet = &CONTROLS.add(b' ').add(b':').add(b'%'); 11 | 12 | pub fn join_qname(ns: &str, name: &str) -> String { 13 | let mut result = String::with_capacity(ns.len() + name.len() + 2); 14 | if !ns.is_empty() { 15 | let encoded_anno_ns: Cow = utf8_percent_encode(ns, QNAME_ENCODE_SET).into(); 16 | result.push_str(&encoded_anno_ns); 17 | result.push_str("::"); 18 | } 19 | let encoded_anno_name: Cow = utf8_percent_encode(name, QNAME_ENCODE_SET).into(); 20 | result.push_str(&encoded_anno_name); 21 | result 22 | } 23 | 24 | pub fn split_qname(qname: &str) -> (Option<&str>, &str) { 25 | let sep_pos = qname.find("::"); 26 | if let Some(sep_pos) = sep_pos { 27 | (Some(&qname[..sep_pos]), &qname[sep_pos + 2..]) 28 | } else { 29 | (None, qname) 30 | } 31 | } 32 | 33 | pub fn regex_full_match(pattern: &str) -> String { 34 | let mut full_match_pattern = String::new(); 35 | full_match_pattern.push_str(r"\A("); 36 | full_match_pattern.push_str(pattern); 37 | full_match_pattern.push_str(r")\z"); 38 | 39 | full_match_pattern 40 | } 41 | 42 | /// Parse a string as both a `Regex` that can be used for matching and as the 43 | /// more abstract `Hir` representation that gives as information such as 44 | /// prefixes for this regular expression. 45 | pub fn compile_and_parse_regex(pattern: &str) -> Result<(regex::Regex, regex_syntax::hir::Hir)> { 46 | let compiled_regex = 47 | regex::Regex::new(pattern).map_err(|e| GraphAnnisCoreError::Other(Box::new(e)))?; 48 | let parsed_regex = regex_syntax::Parser::new() 49 | .parse(pattern) 50 | .map_err(|e| GraphAnnisCoreError::Other(Box::new(e)))?; 51 | Ok((compiled_regex, parsed_regex)) 52 | } 53 | -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- 1 | Data folder 2 | =========== 3 | 4 | This folder can contain test or example data. 5 | 6 | You have to copy it to the working directory from where you 7 | execute the test binary. If you don't want to copy this folder 8 | set the `ANNIS4_TEST_DATA` environment variable to this location. 9 | 10 | Since the data can get quite big, we don't include it in git. 11 | There will be a separate download later. 12 | 13 | 14 | -------------------------------------------------------------------------------- /docs/.gitignore: -------------------------------------------------------------------------------- 1 | book 2 | -------------------------------------------------------------------------------- /docs/book.toml: -------------------------------------------------------------------------------- 1 | [book] 2 | authors = ["Thomas Krause"] 3 | multilingual = false 4 | src = "src" 5 | title = "graphANNIS documentation" 6 | 7 | [output.html] 8 | mathjax-support = true -------------------------------------------------------------------------------- /docs/src/README.md: -------------------------------------------------------------------------------- 1 | # Introduction 2 | 3 | The graphANNIS library is a new backend implementation of the [ANNIS linguistic search and visualization system](http://corpus-tools.org/annis/). 4 | 5 | It is part of the larger system with a web-based front-end, a REST-service (both written in the Java programming language). 6 | ![graphANNIS architecture overview](images/graphannis-architecture.png) 7 | As a backend, it is in charge of performing the actual AQL queries and returning the results, which can be either 8 | the number of matches, the IDs of the matches or sub-graphs for a specific set of matches. 9 | 10 | ## Crates 11 | 12 | GraphANNIS currently consists of the following sub-crates: 13 | 14 | - graphannis-core (`core/`): Generic functionality for representing, storing and querying a generic property graph. 15 | - graphannis (`graphannis/`): The complete library with support for linguistic corpora and AQL 16 | - graphannis-cli (`cli/`) : A command line interface to e.g. import corpora or search them. 17 | - graphannis-capi (`cli/`) : A C-API for graphANNIS. 18 | - graphannis-tutorial (`examples/tutorial`): An example how to use the API. 19 | -------------------------------------------------------------------------------- /docs/src/SUMMARY.md: -------------------------------------------------------------------------------- 1 | # Summary 2 | 3 | - [Introduction](README.md) 4 | - [Data model](./data-model.md) 5 | - [Annotations as graph](./annotation-graph.md) 6 | - [Indexes for faster query execution](./data-model-indexes.md) 7 | - [How to embed into applications](./embed.md) 8 | - [Python Tutorial](./embed-python.md) 9 | - [Java Tutorial](./embed-java.md) 10 | - [Rust Tutorial](./embed-rust.md) 11 | - [REST service](./rest/README.md) 12 | - [Configuration](./rest/configuration.md) 13 | - [Authentication and authorization](./rest/auth.md) 14 | - [Interactive command-line](./cli.md) 15 | - [Release checklist](./release-checklist.md) 16 | -------------------------------------------------------------------------------- /docs/src/data-model-indexes.md: -------------------------------------------------------------------------------- 1 | # Indexes for faster query execution 2 | 3 | GraphANNIS uses helper edges to speed-up AQL query execution. 4 | These are automatically created or updated when a graph update is executed via the `apply_update(...)` function of the `CorpusStorage` structure. 5 | Users of the API do not have to add these edges by their-self. 6 | 7 | ## Inherited coverage 8 | 9 | Dominance relations imply text-coverage and thus any node connected inherits the covered token from its child nodes. 10 | Instead of traversing the dominance edges on query time, inherited coverage relations are explicitly added to the nodes. 11 | 12 | ![Example of inherited coverage edges for a constituent tree](images/constituent-index.png) 13 | 14 | ## Left-most and right-most token of a node 15 | 16 | These components of type `LeftToken` and `RightToken` allow providing faster implementations for some operators that deal with text coverage or precedence. 17 | Their target node is the left-most or right-most covered token of a node. 18 | The covered token are ordered by their position in the chain of `Ordering` relations. 19 | If there is a path of any length from token \\({t_1}\\) to \\({t_2}\\), \\({t_1}\\) is more “left” than \\({t_2}\\). 20 | 21 | ![LeftToken and RightToken example for span](images/span-index.png) 22 | 23 | While the coverage edges are similar to the `SSpanningRelation`, the left and right token edges are inspired from the two columns of the `node` table in relANNIS (the legacy relational database implementation of ANNIS) with the same name. 24 | Each node of the annotation graph that is not a token must have a left and right token edge because AQL implicitly requires all nodes to be connected to tokens. 25 | Lookup for all left- or right-aligned nodes of a token is possible by accessing the inverse edges of the `LeftToken` and `RightToken` component. 26 | -------------------------------------------------------------------------------- /docs/src/data-model.md: -------------------------------------------------------------------------------- 1 | # Data model 2 | 3 | The data model and concepts used by graphANNIS are similar to the ones of [Salt](http://corpus-tools.org/salt/) (see the [Salt model guide](https://github.com/korpling/salt/raw/master/gh-site/doc/salt_modelGuide.pdf) for more information). 4 | Historically, Salt and ANNIS with its query language AQL have been developed in parallel, sharing concepts and ideas 5 | how a linguistic corpus should be modeled as a directed labeled graph. 6 | Still, there are differences because of the purpose of each model: Salt should represent the annotation and data sources without loosing 7 | information while the ANNIS data model transforms the data model to allow an efficient search. 8 | 9 | GraphANNIS uses a data model that allows performing searches with AQL (and thus is compatible with its data model). 10 | By using graphs, as Salt does, it is more flexible in modeling the data and can be more close to Salt than the relational database scheme of older ANNIS version could be. 11 | Some parts of the data model are exposed to the outside, e.g. when a user applies changes to a graph. 12 | Others are internal and are used to index structures needed for AQL, but which can be deduced from the information in the public data model. 13 | -------------------------------------------------------------------------------- /docs/src/embed.md: -------------------------------------------------------------------------------- 1 | # How to embed into applications 2 | 3 | GraphANNIS was developed as a new backend for the ANNIS linguistic search and visualization system but can be embedded 4 | into other applications as well. 5 | It provides an API to add annotation graphs, querying them with AQL and retrieving subgraphs for matches. 6 | This chapter is a tutorial in to how to embed graphANNIS into your own application. 7 | 8 | Currently, graphANNIS can be embedded into programs written in these programming languages: 9 | - [Python (version 3.6 or later)](./embed-python.md) 10 | - [Java (version 8 or later)](./embed-java.md) 11 | - [Rust](./embed-rust.md) 12 | - C (No tutorial yet) 13 | -------------------------------------------------------------------------------- /docs/src/images/constituent-index.dot: -------------------------------------------------------------------------------- 1 | digraph Syntax { 2 | margin=0; 3 | graph [dpi=400]; 4 | {rank=same; 5 | t1[label="node_name=t1\ntok=That"]; 6 | t2[label="node_name=t2\ntok=is"]; 7 | t3[label="node_name=t3\ntok=a"]; 8 | t4[label="node_name=t4\ntok=Category"]; 9 | t5[label="node_name=t5\ntok=3"]; 10 | t6[label="node_name=t6\ntok=storm"]; 11 | } 12 | 13 | 14 | { 15 | // also add the ordering 16 | edge [color="blue", fontcolor="blue", style="solid", label="Ordering"]; 17 | 18 | 19 | t1 -> t2; 20 | t2 -> t3; 21 | t3 -> t4; 22 | t4 -> t5; 23 | t5 -> t6; 24 | } 25 | 26 | { 27 | s2[label="node_name=s2\ncat=S"]; 28 | s3[label="node_name=s3\ncat=NP"]; 29 | s4[label="node_name=s4\ncat=VP"]; 30 | s5[label="node_name=s5\ncat=NP"]; 31 | } 32 | 33 | { 34 | edge[color=red, fontcolor=red, label="Dominance"]; 35 | 36 | s2 -> s3; 37 | s2 -> s4; 38 | 39 | s3 -> t1; 40 | 41 | s4 -> t2; 42 | s4 -> s5; 43 | 44 | s5 -> t3; 45 | s5 -> t4; 46 | s5 -> t5; 47 | s5 -> t6; 48 | } 49 | 50 | { 51 | edge [style=dotted,color=darkgreen,fontcolor=darkgreen, label="Coverage"]; 52 | 53 | s2 -> t1; 54 | s2 -> t2; 55 | s2 -> t3; 56 | s2 -> t4; 57 | s2 -> t5; 58 | s2 -> t6; 59 | 60 | s3 -> t1; 61 | 62 | s4 -> t2; 63 | s4 -> t3; 64 | s4 -> t4; 65 | s4 -> t5; 66 | s4 -> t6; 67 | 68 | s5 -> t3; 69 | s5 -> t4; 70 | s5 -> t5; 71 | s5 -> t6; 72 | 73 | 74 | } 75 | 76 | } 77 | -------------------------------------------------------------------------------- /docs/src/images/constituent-index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/constituent-index.png -------------------------------------------------------------------------------- /docs/src/images/constituent.dot: -------------------------------------------------------------------------------- 1 | digraph Syntax { 2 | margin=0; 3 | graph [dpi = 400]; 4 | 5 | {rank=same; 6 | t1[label="node_name=t1\ntok=That"]; 7 | t2[label="node_name=t2\ntok=is"]; 8 | t3[label="node_name=t3\ntok=a"]; 9 | t4[label="node_name=t4\ntok=Category"]; 10 | t5[label="node_name=t5\ntok=3"]; 11 | t6[label="node_name=t6\ntok=storm"]; 12 | t7[label="node_name=t7\ntok=."]; 13 | } 14 | 15 | 16 | { 17 | // also add the ordering 18 | edge [color="blue", fontcolor="blue", style="solid", label="Ordering"]; 19 | 20 | 21 | t1 -> t2; 22 | t2 -> t3; 23 | t3 -> t4; 24 | t4 -> t5; 25 | t5 -> t6; 26 | t6 -> t7; 27 | } 28 | 29 | { 30 | s1[label="node_name=s1\ncat=ROOT"]; 31 | s2[label="node_name=s2\ncat=S"]; 32 | s3[label="node_name=s3\ncat=NP"]; 33 | s4[label="node_name=s4\ncat=VP"]; 34 | s5[label="node_name=s5\ncat=NP"]; 35 | } 36 | 37 | { 38 | edge[color=red, fontcolor=red, label="Dominance"]; 39 | s1 -> s2; 40 | 41 | s2 -> s3; 42 | s2 -> s4; 43 | s2 -> t7; 44 | 45 | s3 -> t1; 46 | 47 | s4 -> t2; 48 | s4 -> s5; 49 | 50 | s5 -> t3; 51 | s5 -> t4; 52 | s5 -> t5; 53 | s5 -> t6; 54 | } 55 | 56 | } 57 | -------------------------------------------------------------------------------- /docs/src/images/constituent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/constituent.png -------------------------------------------------------------------------------- /docs/src/images/corpusgraph.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/corpusgraph.png -------------------------------------------------------------------------------- /docs/src/images/graphannis-architecture.dot: -------------------------------------------------------------------------------- 1 | digraph Architecture { 2 | graph [ dpi = 300 ]; 3 | margin=0; 4 | node[shape=box]; 5 | rankdir=LR; 6 | 7 | user[xlabel="User", label="", image="stick-actor.png", height=0.5, width=0.347, fixedsize=true, color=white]; 8 | 9 | subgraph clusterJava { 10 | margin=5; 11 | label="Java"; labelloc=t; 12 | 13 | frontend[label="front-end\nweb application"]; 14 | backend[label="back-end\nservice"]; 15 | 16 | 17 | frontend -> backend[label="transmission of AQL query\nvia REST interface"]; 18 | backend -> frontend[label="result mapped as Salt graph\nor total number of matches"]; 19 | 20 | }; 21 | subgraph clusterCpp { 22 | margin=5; 23 | label="Rust with C interface"; style=filled; bgcolor=lightgrey; labelloc=t; 24 | 25 | graphANNIS[shape=box,label="graphANNIS\nlibrary"]; 26 | }; 27 | 28 | 29 | user -> frontend[dir=both]; 30 | backend -> graphANNIS[label="Java Native Interface calls", dir=both]; 31 | 32 | } 33 | -------------------------------------------------------------------------------- /docs/src/images/graphannis-architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/graphannis-architecture.png -------------------------------------------------------------------------------- /docs/src/images/graphannis-corpusgraph.dot: -------------------------------------------------------------------------------- 1 | digraph CorpusGraph { 2 | margin=0; 3 | graph [dpi = 400]; 4 | { 5 | node[shape=box]; 6 | top[label="node_name=top\nnode_type=corpus"]; 7 | s1[label="node_name=sub1\nnode_type=corpus"]; 8 | s2[label="node_name=sub2\nnode_type=corpus"]; 9 | d1[label="node_name=doc1\nnode_type=corpus"]; 10 | d2[label="node_name=doc2\nnode_type=corpus"]; 11 | } 12 | { 13 | 14 | 15 | n1[label="node_name=n1\nnode_type=node"]; 16 | n2[label="node_name=n2\nnode_type=node"]; 17 | n3[label="node_name=n3\nnode_type=node"]; 18 | n4[label="node_name=n4\nnode_type=node"]; 19 | } 20 | 21 | { 22 | edge[label="PartOf"]; 23 | s1 -> top; 24 | s2 -> s1; 25 | d1 -> s2; 26 | d2 -> s2; 27 | 28 | n1 -> d1; 29 | n2 -> d1; 30 | 31 | n3 -> d2; 32 | n4 -> d2; 33 | 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /docs/src/images/graphannis-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/graphannis-model.png -------------------------------------------------------------------------------- /docs/src/images/span-index.dot: -------------------------------------------------------------------------------- 1 | digraph Span { 2 | margin=0; 3 | graph [dpi = 400]; 4 | {rank=same; 5 | t1[label="node_name=t1\ntok=That"]; 6 | t2[label="node_name=t2\ntok=is"]; 7 | t3[label="node_name=t3\ntok=a"]; 8 | t4[label="node_name=t4\ntok=Category"]; 9 | t5[label="node_name=t5\ntok=3"]; 10 | t6[label="node_name=t6\ntok=storm"]; 11 | t7[label="node_name=t7\ntok=."]; 12 | } 13 | 14 | 15 | { 16 | // also add the ordering 17 | edge [color="blue", fontcolor="blue", style="solid", label="Ordering"]; 18 | 19 | 20 | t1 -> t2; 21 | t2 -> t3; 22 | t3 -> t4; 23 | t4 -> t5; 24 | t5 -> t6; 25 | t6 -> t7; 26 | } 27 | 28 | { 29 | node [shape=box, color=darkgreen]; 30 | { 31 | rank=max; 32 | stype[label="node_name=s1\ns_type=decl"]; 33 | } 34 | { 35 | rank=min; 36 | hirend[label="node_name=s2\nhi_rend=blue"]; 37 | } 38 | } 39 | 40 | 41 | { 42 | edge [style=dotted,color=darkgreen,fontcolor=darkgreen, label="Coverage"]; 43 | hirend -> t4; 44 | hirend -> t5; 45 | 46 | stype -> t1; 47 | stype -> t2; 48 | stype -> t3; 49 | stype -> t4; 50 | stype -> t5; 51 | stype -> t6; 52 | stype -> t7; 53 | } 54 | 55 | { 56 | hirend -> t4 [style=dashed,color=dimgray,fontcolor=dimgray,label="LeftToken"]; 57 | hirend -> t5 [style=dashed,color=dimgray,fontcolor=dimgray,label="RightToken"]; 58 | } 59 | 60 | { 61 | stype -> t1 [style=dashed,color=dimgray,fontcolor=dimgray,label="LeftToken"]; 62 | stype -> t7 [style=dashed,color=dimgray,fontcolor=dimgray,label="RightToken"]; 63 | } 64 | } 65 | -------------------------------------------------------------------------------- /docs/src/images/span-index.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/span-index.png -------------------------------------------------------------------------------- /docs/src/images/span.dot: -------------------------------------------------------------------------------- 1 | digraph Span { 2 | margin=0; 3 | graph [dpi = 400]; 4 | {rank=same; 5 | t1[label="node_name=t1\ntok=That"]; 6 | t2[label="node_name=t2\ntok=is"]; 7 | t3[label="node_name=t3\ntok=a"]; 8 | t4[label="node_name=t4\ntok=Category"]; 9 | t5[label="node_name=t5\ntok=3"]; 10 | t6[label="node_name=t6\ntok=storm"]; 11 | t7[label="node_name=t7\ntok=."]; 12 | } 13 | 14 | 15 | { 16 | // also add the ordering 17 | edge [color="blue", fontcolor="blue", style="solid", label="Ordering"]; 18 | 19 | 20 | t1 -> t2; 21 | t2 -> t3; 22 | t3 -> t4; 23 | t4 -> t5; 24 | t5 -> t6; 25 | t6 -> t7; 26 | } 27 | 28 | { 29 | node [shape=box, color=darkgreen]; 30 | { 31 | rank=max; 32 | stype[label="node_name=s1\ns_type=decl"]; 33 | } 34 | { 35 | rank=min; 36 | hirend[label="node_name=s2\nhi_rend=blue"]; 37 | } 38 | } 39 | 40 | 41 | { 42 | edge [style=dotted,color=darkgreen,fontcolor=darkgreen, label="Coverage"]; 43 | hirend -> t4; 44 | hirend -> t5; 45 | 46 | stype -> t1; 47 | stype -> t2; 48 | stype -> t3; 49 | stype -> t4; 50 | stype -> t5; 51 | stype -> t6; 52 | stype -> t7; 53 | } 54 | 55 | } 56 | -------------------------------------------------------------------------------- /docs/src/images/span.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/span.png -------------------------------------------------------------------------------- /docs/src/images/stick-actor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/stick-actor.png -------------------------------------------------------------------------------- /docs/src/images/token.dot: -------------------------------------------------------------------------------- 1 | digraph Token { 2 | margin=0; 3 | graph [dpi = 400]; 4 | {rank=max; 5 | t1[label="node_name=t1\ntok=That"]; 6 | t2[label="node_name=t2\ntok=is"]; 7 | t3[label="node_name=t3\ntok=a"]; 8 | t4[label="node_name=t4\ntok=Category"]; 9 | t5[label="node_name=t5\ntok=3"]; 10 | t6[label="node_name=t6\ntok=storm"]; 11 | t7[label="node_name=t7\ntok=."]; 12 | } 13 | 14 | 15 | { 16 | // also add the ordering 17 | edge [color="blue", fontcolor="blue", style="solid", label="Ordering"]; 18 | 19 | 20 | t1 -> t2; 21 | t2 -> t3; 22 | t3 -> t4; 23 | t4 -> t5; 24 | t5 -> t6; 25 | t6 -> t7; 26 | } 27 | 28 | 29 | 30 | 31 | 32 | } 33 | -------------------------------------------------------------------------------- /docs/src/images/token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/docs/src/images/token.png -------------------------------------------------------------------------------- /docs/src/release-checklist.md: -------------------------------------------------------------------------------- 1 | # Release checklist 2 | 3 | This is a list of steps needed to perform a new graphANNIS release. 4 | 5 | GraphANNIS uses [semantic versioning](https://semver.org/). 6 | Language bindings can have their own version number, but should state which core version is used in its documentation. 7 | 8 | 1. Check the changelog (`CHANGELOG.md`): note the last release version number and which kind of changes have been made since the last release. 9 | **Determine if this is a major, minor or patch release** according to [semantic versioning](https://semver.org/). 10 | 2. **Release** the branch with the [cargo-release plugin](https://crates.io/crates/cargo-release). Append the `--execute` argument to actually perform the release instead of a dry run. 11 | - `cargo release release` to release the current development version (e.g. 1.0.0-dev will be released as 1.0.0) 12 | - `cargo release patch` for patch updates (e.g. 1.0.0 to 1.0.1) 13 | - `cargo release minor` for minor updates (e.g. 1.0.1 to 1.1.0) 14 | - `cargo release major` for major updates (e.g. 1.1.0 to 2.0.0) 15 | 3. Create the **release on GitHub**, copy the changelog entry as release notes and **publish the release**. 16 | The release artifacts will be created and attached to this release automatically by the `deploy` GitHub Actions workflow. 17 | 4. Update and release language bindings 18 | - [Python](https://github.com/korpling/graphANNIS-python#release-process) 19 | - [Java](https://github.com/korpling/graphANNIS-java#release-process) 20 | 21 | In addition, for the binaries, CI will also build and publish the documentation using the `gh-pages` branch and a sub-folder `docs/`, e.g. https://korpling.github.io/graphANNIS/docs/v1.1/. 22 | -------------------------------------------------------------------------------- /docs/src/rest/README.md: -------------------------------------------------------------------------------- 1 | # REST service 2 | 3 | GraphANNIS includes a tool to start a complete REST service that can be used to query and administrate corpora. 4 | The [ANNIS web-frontend](https://github.com/korpling/ANNIS) uses this REST service for executing the AQL searches. 5 | Using this REST service, it is also possible to implement a custom AQL web-interface e.g. for a specific corpus or analysis workflow with minimal effort. 6 | In addition to [using graphANNIS as a library in you application](../embed.md), the REST API allows you to implement a web interface for a remote graphANNIS server. 7 | 8 | You can just execute the `graphannis-webservice` executable[^rename] to start a web-server with default settings and on port 5711 which will listen to requests from `localhost`. 9 | SSL is not supported, so if you want to make the service accessible from the outside you should use a proxy server with encryption enabled and a valid certificate. 10 | 11 | The graphANNIS REST API is specified and documented in [OpenAPI 3](https://swagger.io/docs/specification/about/). 12 | The specification file can also be used to auto-generate client code, e.g. with the [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator#overview). 13 | The documentation can be displayed with any OpenAPI 3 viewer using the URL to the [released openapi.yml file](https://raw.githubusercontent.com/korpling/graphANNIS/main/webservice/src/openapi.yml). 14 | We also include the `webservice/api-docs.html` file in our repository which includes an interactive rendering of the documentation. 15 | 16 | [^rename]: When downloading a binary from the release page, on MacOS you might need to rename the downloaded file from `graphannis-webservice.osx` to `graphannis-webservice`. The executable is called `graphannis-webservice.exe` on Windows. 17 | -------------------------------------------------------------------------------- /examples/tutorial/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /data 3 | -------------------------------------------------------------------------------- /examples/tutorial/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Thomas Krause "] 3 | edition = "2021" 4 | name = "graphannis-tutorial" 5 | publish = false 6 | version = "2.0.0" 7 | 8 | [dependencies] 9 | graphannis = {path = "../../graphannis"} 10 | -------------------------------------------------------------------------------- /examples/tutorial/release.toml: -------------------------------------------------------------------------------- 1 | tag = false 2 | push = false 3 | publish = false 4 | release = false 5 | -------------------------------------------------------------------------------- /examples/tutorial/src/bin/find_subgraph.rs: -------------------------------------------------------------------------------- 1 | use graphannis::corpusstorage::{QueryLanguage, ResultOrder, SearchQuery}; 2 | use graphannis::util; 3 | use graphannis::CorpusStorage; 4 | use std::path::PathBuf; 5 | 6 | fn main() { 7 | let cs = CorpusStorage::with_auto_cache_size(&PathBuf::from("data"), true).unwrap(); 8 | let search_query = SearchQuery { 9 | corpus_names: &["tutorial"], 10 | query: "tok . tok", 11 | query_language: QueryLanguage::AQL, 12 | timeout: None, 13 | }; 14 | 15 | let matches = cs 16 | .find(search_query, 0, Some(100), ResultOrder::Normal) 17 | .unwrap(); 18 | for m in matches { 19 | println!("{}", m); 20 | // convert the match string to a list of node IDs 21 | let node_names = util::node_names_from_match(&m); 22 | let g = cs.subgraph("tutorial", node_names, 2, 2, None).unwrap(); 23 | // find all nodes of type "node" (regular annotation nodes) 24 | let node_search = 25 | g.get_node_annos() 26 | .exact_anno_search(Some("annis"), "node_type", Some("node").into()); 27 | println!("Number of nodes in subgraph: {}", node_search.count()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /examples/tutorial/src/bin/list.rs: -------------------------------------------------------------------------------- 1 | use graphannis::CorpusStorage; 2 | use std::path::PathBuf; 3 | 4 | fn main() { 5 | let cs = CorpusStorage::with_auto_cache_size(&PathBuf::from("data"), true).unwrap(); 6 | let corpora = cs.list().unwrap(); 7 | let corpus_names: Vec = corpora 8 | .into_iter() 9 | .map(|corpus_info| corpus_info.name) 10 | .collect(); 11 | println!("{:?}", corpus_names); 12 | } 13 | -------------------------------------------------------------------------------- /examples/tutorial/src/bin/query.rs: -------------------------------------------------------------------------------- 1 | use graphannis::corpusstorage::{QueryLanguage, ResultOrder, SearchQuery}; 2 | use graphannis::CorpusStorage; 3 | use std::path::PathBuf; 4 | 5 | fn main() { 6 | let cs = CorpusStorage::with_auto_cache_size(&PathBuf::from("data"), true).unwrap(); 7 | let search_query = SearchQuery { 8 | corpus_names: &["tutorial"], 9 | query: "tok=/.*s.*/", 10 | query_language: QueryLanguage::AQL, 11 | timeout: None, 12 | }; 13 | 14 | let number_of_matches = cs.count(search_query.clone()).unwrap(); 15 | println!("Number of matches: {}", number_of_matches); 16 | 17 | let matches = cs 18 | .find(search_query, 0, Some(100), ResultOrder::Normal) 19 | .unwrap(); 20 | for (i, m) in matches.iter().enumerate() { 21 | println!("Match {}: {}", i, m); 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /graphannis/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Thomas Krause "] 3 | build = "build.rs" 4 | description = "This is a new backend implementation of the ANNIS linguistic search and visualization system." 5 | edition = "2021" 6 | license = "Apache-2.0" 7 | name = "graphannis" 8 | readme = "../README.md" 9 | repository = "https://github.com/korpling/graphANNIS" 10 | version = "3.8.1" 11 | 12 | [lib] 13 | crate-type = ["lib"] 14 | 15 | [build-dependencies] 16 | csv = "1.1" 17 | file_diff = "1" 18 | lalrpop = { version = "0.20", default-features = false, features = [ 19 | "lexer", 20 | "unicode", 21 | ] } 22 | regex = "1" 23 | 24 | [dependencies] 25 | boolean_expression = "0.4" 26 | csv = "1" 27 | fs2 = "0.4" 28 | graphannis-core = { path = "../core/", version = "^3" } 29 | itertools = "0.10" 30 | lalrpop-util = { version = "0.20", features = ["lexer"] } 31 | lazy_static = "1.4" 32 | libc = "0.2" 33 | linked-hash-map = "0.5" 34 | log = "0.4" 35 | lru = "0.7" 36 | memory-stats = "1.1.0" 37 | page_size = "0.4" 38 | percent-encoding = "2.1" 39 | rand = { version = "0.8", features = ["small_rng"] } 40 | rayon = { version = "1.3", default-features = false } 41 | regex = "1" 42 | regex-syntax = "0.8" 43 | rustc-hash = "1.0" 44 | serde = { version = "1.0", features = ["rc"] } 45 | serde_derive = "1.0" 46 | smallvec = "1.6" 47 | smartstring = { version = "1", features = ["serde"] } 48 | strum = "0.21" 49 | strum_macros = "0.21" 50 | sys-info = "0.9" 51 | tempfile = "3" 52 | thiserror = "1" 53 | toml = "0.8" 54 | transient-btree-index = "0.5" 55 | zip = "0.6.4" 56 | 57 | [dev-dependencies] 58 | assert_matches = "1.5.0" 59 | criterion = "0.5" 60 | fake = "2.2" 61 | insta = "1.34.0" 62 | pretty_assertions = "1.3" 63 | same-file = "1.0.6" 64 | serial_test = "2" 65 | 66 | [[bench]] 67 | harness = false 68 | name = "graphannis" 69 | -------------------------------------------------------------------------------- /graphannis/release.toml: -------------------------------------------------------------------------------- 1 | # Replace file contents only once 2 | pre-release-replacements = [ 3 | {file = "../CHANGELOG.md", search = "## \\[Unreleased\\]", replace = "## [Unreleased]\n\n## [{{version}}] - {{date}}"}, 4 | {file = "../CITATION.cff", search = "^version: [0-9.]+", replace = "version: {{version}}"}, 5 | {file = "../CITATION.cff", search = "date-released: [0-9\\-]+", replace = "date-released: {{date}}"}, 6 | {file = "../docs/src/embed-rust.md", search = "graphannis = \"[0-9.]+\"", replace = "graphannis = \"{{version}}\""}, 7 | ] 8 | tag-name = "v{{version}}" 9 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/aql/.gitignore: -------------------------------------------------------------------------------- 1 | /parser.rs 2 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/aql/disjunction.rs: -------------------------------------------------------------------------------- 1 | use super::conjunction::Conjunction; 2 | use crate::{annis::db::aql::model::AnnotationComponentType, AnnotationGraph}; 3 | use graphannis_core::types::Component; 4 | use std::collections::HashSet; 5 | 6 | /// A disjunction is a parsed and normalized AQL query. 7 | pub struct Disjunction { 8 | pub(crate) alternatives: Vec, 9 | } 10 | 11 | impl Disjunction { 12 | pub(crate) fn new(alternatives: Vec) -> Disjunction { 13 | Disjunction { alternatives } 14 | } 15 | 16 | pub(crate) fn necessary_components( 17 | &self, 18 | db: &AnnotationGraph, 19 | ) -> HashSet> { 20 | let mut result = HashSet::default(); 21 | 22 | for alt in &self.alternatives { 23 | let c = alt.necessary_components(db); 24 | result.extend(c); 25 | } 26 | 27 | result 28 | } 29 | 30 | pub(crate) fn get_variable_pos(&self, variable: &str) -> Option { 31 | for alt in &self.alternatives { 32 | if let Ok(var_pos) = alt.resolve_variable_pos(variable, None) { 33 | return Some(var_pos); 34 | } 35 | } 36 | None 37 | } 38 | 39 | /// Return the variable name for a node number. The node number is the 40 | /// position of an AQL query node in the disjunction. 41 | pub(crate) fn get_variable_by_node_nr(&self, node_nr: usize) -> Option { 42 | for alt in &self.alternatives { 43 | if let Some(var) = alt.get_variable_by_node_nr(node_nr) { 44 | return Some(var); 45 | } 46 | } 47 | None 48 | } 49 | 50 | pub(crate) fn is_included_in_output(&self, variable: &str) -> bool { 51 | for alt in &self.alternatives { 52 | if alt.is_included_in_output(variable) { 53 | return true; 54 | } 55 | } 56 | false 57 | } 58 | } 59 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__corpus-config-after.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: "toml::to_string_pretty(&corpus_config).unwrap()" 4 | --- 5 | [context] 6 | default = 5 7 | sizes = [ 8 | 0, 9 | 1, 10 | 2, 11 | 5, 12 | 10, 13 | 20, 14 | 25, 15 | 50, 16 | ] 17 | 18 | [view] 19 | page_size = 10 20 | 21 | [[visualizers]] 22 | vis_type = "kwic" 23 | display_name = "kwic" 24 | visibility = "permanent" 25 | 26 | [[visualizers]] 27 | element = "node" 28 | layer = "default_ns" 29 | vis_type = "grid" 30 | display_name = "grid (default_ns)" 31 | visibility = "hidden" 32 | 33 | [[visualizers]] 34 | element = "node" 35 | layer = "syntax" 36 | vis_type = "tree" 37 | display_name = "tree (syntax)" 38 | visibility = "hidden" 39 | 40 | [visualizers.mappings] 41 | edge_type = "null" 42 | node_anno_ns = "default_ns" 43 | node_key = "const" 44 | 45 | [[visualizers]] 46 | element = "edge" 47 | layer = "default_ns" 48 | vis_type = "arch_dependency" 49 | display_name = "anaphoric (default_ns)" 50 | visibility = "hidden" 51 | 52 | [[visualizers]] 53 | element = "node" 54 | layer = "tiger" 55 | vis_type = "tree" 56 | display_name = "tree" 57 | visibility = "hidden" 58 | 59 | [[visualizers]] 60 | element = "node" 61 | layer = "exmaralda" 62 | vis_type = "grid" 63 | display_name = "exmaralda" 64 | visibility = "hidden" 65 | 66 | [[visualizers]] 67 | element = "node" 68 | layer = "mmax" 69 | vis_type = "grid" 70 | display_name = "mmax" 71 | visibility = "hidden" 72 | 73 | [[visualizers]] 74 | element = "edge" 75 | layer = "mmax" 76 | vis_type = "discourse" 77 | display_name = "coref" 78 | visibility = "hidden" 79 | 80 | [[visualizers]] 81 | element = "node" 82 | layer = "urml" 83 | vis_type = "grid" 84 | display_name = "urml" 85 | visibility = "hidden" 86 | 87 | [corpus_size] 88 | quantity = 45 89 | 90 | [corpus_size.unit] 91 | name = "tokens" 92 | 93 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__corpus-config-before.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: "toml::to_string_pretty(&corpus_config).unwrap()" 4 | --- 5 | [context] 6 | default = 5 7 | sizes = [ 8 | 0, 9 | 1, 10 | 2, 11 | 5, 12 | 10, 13 | 20, 14 | 25, 15 | 50, 16 | ] 17 | 18 | [view] 19 | page_size = 10 20 | 21 | [[visualizers]] 22 | vis_type = "kwic" 23 | display_name = "kwic" 24 | visibility = "permanent" 25 | 26 | [[visualizers]] 27 | element = "node" 28 | layer = "default_ns" 29 | vis_type = "grid" 30 | display_name = "grid (default_ns)" 31 | visibility = "hidden" 32 | 33 | [[visualizers]] 34 | element = "node" 35 | layer = "syntax" 36 | vis_type = "tree" 37 | display_name = "tree (syntax)" 38 | visibility = "hidden" 39 | 40 | [visualizers.mappings] 41 | edge_type = "null" 42 | node_anno_ns = "default_ns" 43 | node_key = "const" 44 | 45 | [[visualizers]] 46 | element = "edge" 47 | layer = "default_ns" 48 | vis_type = "arch_dependency" 49 | display_name = "anaphoric (default_ns)" 50 | visibility = "hidden" 51 | 52 | [[visualizers]] 53 | element = "node" 54 | layer = "tiger" 55 | vis_type = "tree" 56 | display_name = "tree" 57 | visibility = "hidden" 58 | 59 | [[visualizers]] 60 | element = "node" 61 | layer = "exmaralda" 62 | vis_type = "grid" 63 | display_name = "exmaralda" 64 | visibility = "hidden" 65 | 66 | [[visualizers]] 67 | element = "node" 68 | layer = "mmax" 69 | vis_type = "grid" 70 | display_name = "mmax" 71 | visibility = "hidden" 72 | 73 | [[visualizers]] 74 | element = "edge" 75 | layer = "mmax" 76 | vis_type = "discourse" 77 | display_name = "coref" 78 | visibility = "hidden" 79 | 80 | [[visualizers]] 81 | element = "node" 82 | layer = "urml" 83 | vis_type = "grid" 84 | display_name = "urml" 85 | visibility = "hidden" 86 | 87 | [corpus_size] 88 | quantity = 44 89 | 90 | [corpus_size.unit] 91 | name = "tokens" 92 | 93 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__corpus-config-graphml.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: "toml::to_string_pretty(&corpus_config_graphml).unwrap()" 4 | --- 5 | [context] 6 | default = 5 7 | sizes = [ 8 | 0, 9 | 1, 10 | 2, 11 | 5, 12 | 10, 13 | 20, 14 | 25, 15 | 50, 16 | ] 17 | 18 | [view] 19 | page_size = 10 20 | 21 | [[visualizers]] 22 | vis_type = "kwic" 23 | display_name = "kwic" 24 | visibility = "permanent" 25 | 26 | [[visualizers]] 27 | element = "node" 28 | layer = "default_ns" 29 | vis_type = "grid" 30 | display_name = "grid (default_ns)" 31 | visibility = "hidden" 32 | 33 | [[visualizers]] 34 | element = "node" 35 | layer = "syntax" 36 | vis_type = "tree" 37 | display_name = "tree (syntax)" 38 | visibility = "hidden" 39 | 40 | [visualizers.mappings] 41 | edge_type = "null" 42 | node_anno_ns = "default_ns" 43 | node_key = "const" 44 | 45 | [[visualizers]] 46 | element = "edge" 47 | layer = "default_ns" 48 | vis_type = "arch_dependency" 49 | display_name = "anaphoric (default_ns)" 50 | visibility = "hidden" 51 | 52 | [[visualizers]] 53 | element = "node" 54 | layer = "tiger" 55 | vis_type = "tree" 56 | display_name = "tree" 57 | visibility = "hidden" 58 | 59 | [[visualizers]] 60 | element = "node" 61 | layer = "exmaralda" 62 | vis_type = "grid" 63 | display_name = "exmaralda" 64 | visibility = "hidden" 65 | 66 | [[visualizers]] 67 | element = "node" 68 | layer = "mmax" 69 | vis_type = "grid" 70 | display_name = "mmax" 71 | visibility = "hidden" 72 | 73 | [[visualizers]] 74 | element = "edge" 75 | layer = "mmax" 76 | vis_type = "discourse" 77 | display_name = "coref" 78 | visibility = "hidden" 79 | 80 | [[visualizers]] 81 | element = "node" 82 | layer = "urml" 83 | vis_type = "grid" 84 | display_name = "urml" 85 | visibility = "hidden" 86 | 87 | [corpus_size] 88 | quantity = 44 89 | 90 | [corpus_size.unit] 91 | name = "tokens" 92 | 93 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__corpus-config-relannis.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: "toml::to_string_pretty(&corpus_config_relannis).unwrap()" 4 | --- 5 | [context] 6 | default = 5 7 | sizes = [ 8 | 0, 9 | 1, 10 | 2, 11 | 5, 12 | 10, 13 | ] 14 | 15 | [view] 16 | page_size = 10 17 | 18 | [[visualizers]] 19 | vis_type = "kwic" 20 | display_name = "kwic" 21 | visibility = "permanent" 22 | 23 | [[visualizers]] 24 | element = "node" 25 | layer = "default_ns" 26 | vis_type = "grid" 27 | display_name = "grid (default_ns)" 28 | visibility = "hidden" 29 | 30 | [[visualizers]] 31 | element = "node" 32 | layer = "syntax" 33 | vis_type = "tree" 34 | display_name = "tree (syntax)" 35 | visibility = "hidden" 36 | 37 | [visualizers.mappings] 38 | edge_type = "null" 39 | node_anno_ns = "default_ns" 40 | node_key = "const" 41 | 42 | [[visualizers]] 43 | element = "edge" 44 | layer = "default_ns" 45 | vis_type = "arch_dependency" 46 | display_name = "anaphoric (default_ns)" 47 | visibility = "hidden" 48 | 49 | [[visualizers]] 50 | element = "node" 51 | layer = "tiger" 52 | vis_type = "tree" 53 | display_name = "tree" 54 | visibility = "hidden" 55 | 56 | [[visualizers]] 57 | element = "node" 58 | layer = "exmaralda" 59 | vis_type = "grid" 60 | display_name = "exmaralda" 61 | visibility = "hidden" 62 | 63 | [[visualizers]] 64 | element = "node" 65 | layer = "mmax" 66 | vis_type = "grid" 67 | display_name = "mmax" 68 | visibility = "hidden" 69 | 70 | [[visualizers]] 71 | element = "edge" 72 | layer = "mmax" 73 | vis_type = "discourse" 74 | display_name = "coref" 75 | visibility = "hidden" 76 | 77 | [[visualizers]] 78 | element = "node" 79 | layer = "urml" 80 | vis_type = "grid" 81 | display_name = "urml" 82 | visibility = "hidden" 83 | 84 | [corpus_size] 85 | quantity = 44 86 | 87 | [corpus_size.unit] 88 | name = "tokens" 89 | 90 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_inverted_0.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: results 4 | --- 5 | [ 6 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 7 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 8 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 9 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 10 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 11 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 12 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 13 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 14 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 15 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 16 | ] 17 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_inverted_5.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: results 4 | --- 5 | [ 6 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 7 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 8 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 9 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 10 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 11 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 12 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 13 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 14 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 15 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 16 | ] 17 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_offset_0.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: results 4 | --- 5 | [ 6 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 7 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 8 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 9 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 10 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 11 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 12 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 13 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 14 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 15 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 16 | ] 17 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_offset_12.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: results 4 | --- 5 | [ 6 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 7 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 8 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 9 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 10 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 11 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 12 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 13 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 14 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 15 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 16 | ] 17 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/corpusstorage/snapshots/graphannis__annis__db__corpusstorage__tests__find_with_multiple_corpora_offset_5.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: graphannis/src/annis/db/corpusstorage/tests.rs 3 | expression: results 4 | --- 5 | [ 6 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 7 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 8 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 9 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 10 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 11 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 12 | "salt::pos::rootCorpus/subCorpus2/doc4#sTok10", 13 | "salt::pos::rootCorpus/subCorpus1/doc1#sTok10", 14 | "salt::pos::rootCorpus/subCorpus1/doc2#sTok10", 15 | "salt::pos::rootCorpus/subCorpus2/doc3#sTok10", 16 | ] 17 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/exec/parallel/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod indexjoin; 2 | pub mod nestedloop; 3 | -------------------------------------------------------------------------------- /graphannis/src/annis/db/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod aql; 2 | pub mod corpusstorage; 3 | #[cfg(test)] 4 | pub mod example_generator; 5 | pub mod exec; 6 | mod plan; 7 | pub mod relannis; 8 | pub mod sort_matches; 9 | pub mod token_helper; 10 | -------------------------------------------------------------------------------- /graphannis/src/annis/mod.rs: -------------------------------------------------------------------------------- 1 | pub mod errors; 2 | 3 | #[macro_use] 4 | pub mod util; 5 | 6 | pub mod db; 7 | pub mod operator; 8 | pub mod types; 9 | -------------------------------------------------------------------------------- /graphannis/src/annis/util/sortablecontainer.rs: -------------------------------------------------------------------------------- 1 | use std::borrow::Cow; 2 | 3 | use crate::annis::errors::{GraphAnnisError, Result}; 4 | use serde::{de::DeserializeOwned, Serialize}; 5 | 6 | pub trait SortableContainer: Send { 7 | /// Swaps two elements in the container. 8 | /// 9 | /// See also [slice::swap()] 10 | fn try_swap(&mut self, a: usize, b: usize) -> Result<()>; 11 | 12 | fn try_len(&self) -> Result; 13 | 14 | fn try_get(&self, index: usize) -> Result>; 15 | } 16 | 17 | impl SortableContainer for Vec 18 | where 19 | T: Clone + Send, 20 | { 21 | fn try_swap(&mut self, a: usize, b: usize) -> Result<()> { 22 | if a >= self.len() { 23 | return Err(GraphAnnisError::IndexOutOfBounds(a)); 24 | } 25 | if b >= self.len() { 26 | return Err(GraphAnnisError::IndexOutOfBounds(b)); 27 | } 28 | if a != b { 29 | self.swap(a, b); 30 | } 31 | Ok(()) 32 | } 33 | 34 | fn try_len(&self) -> Result { 35 | Ok(self.len()) 36 | } 37 | 38 | fn try_get(&self, index: usize) -> Result> { 39 | if let Some(result) = self.get(index) { 40 | Ok(Cow::Borrowed(result)) 41 | } else { 42 | Err(GraphAnnisError::IndexOutOfBounds(index)) 43 | } 44 | } 45 | } 46 | 47 | impl SortableContainer for transient_btree_index::BtreeIndex 48 | where 49 | T: Serialize + DeserializeOwned + Clone + Sync + Send + 'static, 50 | { 51 | fn try_swap(&mut self, a: usize, b: usize) -> Result<()> { 52 | if a != b { 53 | self.swap(&a, &b)?; 54 | } 55 | Ok(()) 56 | } 57 | 58 | fn try_len(&self) -> Result { 59 | Ok(self.len()) 60 | } 61 | 62 | fn try_get(&self, index: usize) -> Result> { 63 | let result = self 64 | .get(&index)? 65 | .ok_or_else(|| GraphAnnisError::IndexOutOfBounds(index))?; 66 | Ok(Cow::Owned(result)) 67 | } 68 | } 69 | -------------------------------------------------------------------------------- /graphannis/tests/MissingSegmentationCorpus/node.annis: -------------------------------------------------------------------------------- 1 | 680 0 0 ref sSpan1 0 7 NULL 0 7 0 ref NULL TRUE -------------------------------------------------------------------------------- /graphannis/tests/SaltSampleCorpus/annis.version: -------------------------------------------------------------------------------- 1 | 3.3 -------------------------------------------------------------------------------- /graphannis/tests/SaltSampleCorpus/component.annis: -------------------------------------------------------------------------------- 1 | 0 c default_ns NULL 2 | 1 c default_ns NULL 3 | 2 c default_ns NULL 4 | 18 p default_ns anaphoric 5 | 19 p default_ns anaphoric 6 | 8 c default_ns NULL 7 | 17 c default_ns NULL 8 | 32 c default_ns NULL 9 | 20 p default_ns anaphoric 10 | 4 d syntax NULL 11 | 22 p default_ns anaphoric 12 | 3 d syntax NULL 13 | 59 c default_ns NULL 14 | 60 c default_ns NULL 15 | 62 c default_ns NULL 16 | 57 c default_ns NULL 17 | 61 c default_ns NULL 18 | 63 c default_ns NULL 19 | 56 d syntax NULL 20 | 58 d syntax NULL 21 | -------------------------------------------------------------------------------- /graphannis/tests/SaltSampleCorpus/corpus.annis: -------------------------------------------------------------------------------- 1 | 2 doc1 DOCUMENT NULL 2 3 FALSE 2 | 0 doc2 DOCUMENT NULL 4 5 FALSE 3 | 5 subCorpus1 CORPUS NULL 1 6 FALSE 4 | 1 doc3 DOCUMENT NULL 8 9 FALSE 5 | 3 doc4 DOCUMENT NULL 10 11 FALSE 6 | 6 subCorpus2 CORPUS NULL 7 12 FALSE 7 | 4 rootCorpus CORPUS NULL 0 13 TRUE 8 | -------------------------------------------------------------------------------- /graphannis/tests/SaltSampleCorpus/corpus_annotation.annis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/SaltSampleCorpus/corpus_annotation.annis -------------------------------------------------------------------------------- /graphannis/tests/SaltSampleCorpus/edge_annotation.annis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/SaltSampleCorpus/edge_annotation.annis -------------------------------------------------------------------------------- /graphannis/tests/SaltSampleCorpus/resolver_vis_map.annis: -------------------------------------------------------------------------------- 1 | rootCorpus NULL default_ns node grid grid (default_ns) hidden 1 NULL 2 | rootCorpus NULL syntax node tree tree (syntax) hidden 2 node_key:const;node_anno_ns:default_ns;edge_type:null 3 | rootCorpus NULL default_ns edge arch_dependency anaphoric (default_ns) hidden 3 NULL 4 | -------------------------------------------------------------------------------- /graphannis/tests/SaltSampleCorpus/text.annis: -------------------------------------------------------------------------------- 1 | 0 0 sText1 Is this example more complicated than it appears to be? 2 | 1 0 sText1 Is this example more complicated than it appears to be? 3 | 3 0 sText1 Is this example more complicated than it appears to be? 4 | 2 0 sText1 Is this example more complicated than it appears to be? 5 | -------------------------------------------------------------------------------- /graphannis/tests/SpecialCharCorpusName/annis.version: -------------------------------------------------------------------------------- 1 | 3.3 -------------------------------------------------------------------------------- /graphannis/tests/SpecialCharCorpusName/component.annis: -------------------------------------------------------------------------------- 1 | 0 c default_ns NULL 2 | 1 c default_ns NULL 3 | 2 c default_ns NULL 4 | 18 p default_ns anaphoric 5 | 19 p default_ns anaphoric 6 | 8 c default_ns NULL 7 | 17 c default_ns NULL 8 | 32 c default_ns NULL 9 | 20 p default_ns anaphoric 10 | 4 d syntax NULL 11 | 22 p default_ns anaphoric 12 | 3 d syntax NULL 13 | 59 c default_ns NULL 14 | 60 c default_ns NULL 15 | 62 c default_ns NULL 16 | 57 c default_ns NULL 17 | 61 c default_ns NULL 18 | 63 c default_ns NULL 19 | 56 d syntax NULL 20 | 58 d syntax NULL 21 | -------------------------------------------------------------------------------- /graphannis/tests/SpecialCharCorpusName/corpus.annis: -------------------------------------------------------------------------------- 1 | 2 doc1 DOCUMENT NULL 2 3 FALSE 2 | 0 doc2 DOCUMENT NULL 4 5 FALSE 3 | 5 subCorpus1 CORPUS NULL 1 6 FALSE 4 | 1 doc3 DOCUMENT NULL 8 9 FALSE 5 | 3 doc4 DOCUMENT NULL 10 11 FALSE 6 | 6 subCorpus2 CORPUS NULL 7 12 FALSE 7 | 4 Root:: Cörp/u%s CORPUS NULL 0 13 TRUE 8 | -------------------------------------------------------------------------------- /graphannis/tests/SpecialCharCorpusName/corpus_annotation.annis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/SpecialCharCorpusName/corpus_annotation.annis -------------------------------------------------------------------------------- /graphannis/tests/SpecialCharCorpusName/edge_annotation.annis: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/SpecialCharCorpusName/edge_annotation.annis -------------------------------------------------------------------------------- /graphannis/tests/SpecialCharCorpusName/resolver_vis_map.annis: -------------------------------------------------------------------------------- 1 | Root:: Cörp/u%s NULL default_ns node grid grid (default_ns) hidden 1 NULL 2 | Root:: Cörp/u%s NULL syntax node tree tree (syntax) hidden 2 node_key:const;node_anno_ns:default_ns;edge_type:null 3 | Root:: Cörp/u%s NULL default_ns edge arch_dependency anaphoric (default_ns) hidden 3 NULL 4 | -------------------------------------------------------------------------------- /graphannis/tests/SpecialCharCorpusName/text.annis: -------------------------------------------------------------------------------- 1 | 0 0 sText1 Is this example more complicated than it appears to be? 2 | 1 0 sText1 Is this example more complicated than it appears to be? 3 | 3 0 sText1 Is this example more complicated than it appears to be? 4 | 2 0 sText1 Is this example more complicated than it appears to be? 5 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/corpus-config.toml: -------------------------------------------------------------------------------- 1 | [context] 2 | default = 5 3 | sizes = [0, 1, 2, 5, 10] 4 | 5 | [view] 6 | page_size = 10 7 | 8 | [[visualizers]] 9 | vis_type = "kwic" 10 | display_name = "kwic" 11 | visibility = "permanent" 12 | 13 | [[visualizers]] 14 | element = "node" 15 | layer = "default_ns" 16 | vis_type = "grid" 17 | display_name = "grid (default_ns)" 18 | visibility = "hidden" 19 | 20 | [[visualizers]] 21 | element = "node" 22 | layer = "syntax" 23 | vis_type = "tree" 24 | display_name = "tree (syntax)" 25 | visibility = "hidden" 26 | 27 | [visualizers.mappings] 28 | edge_type = "null" 29 | node_anno_ns = "default_ns" 30 | node_key = "const" 31 | 32 | [[visualizers]] 33 | element = "edge" 34 | layer = "default_ns" 35 | vis_type = "arch_dependency" 36 | display_name = "anaphoric (default_ns)" 37 | visibility = "hidden" 38 | 39 | [[visualizers]] 40 | element = "node" 41 | layer = "tiger" 42 | vis_type = "tree" 43 | display_name = "tree" 44 | visibility = "hidden" 45 | 46 | [[visualizers]] 47 | element = "node" 48 | layer = "exmaralda" 49 | vis_type = "grid" 50 | display_name = "exmaralda" 51 | visibility = "hidden" 52 | 53 | [[visualizers]] 54 | element = "node" 55 | layer = "mmax" 56 | vis_type = "grid" 57 | display_name = "mmax" 58 | visibility = "hidden" 59 | 60 | [[visualizers]] 61 | element = "edge" 62 | layer = "mmax" 63 | vis_type = "discourse" 64 | display_name = "coref" 65 | visibility = "hidden" 66 | 67 | [[visualizers]] 68 | element = "node" 69 | layer = "urml" 70 | vis_type = "grid" 71 | display_name = "urml" 72 | visibility = "hidden" 73 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/edge_stats.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/edge_stats.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_layer/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Coverage/default_ns/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Dominance/syntax/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Dominance/syntax/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Dominance/syntax/impl.cfg: -------------------------------------------------------------------------------- 1 | PrePostOrderO16L8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/LeftToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Ordering/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Ordering/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Ordering/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | LinearO8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/PartOf/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/gs/RightToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-1.5/current/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-1.5/current/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/corpus-config.toml: -------------------------------------------------------------------------------- 1 | [context] 2 | default = 5 3 | sizes = [0, 1, 2, 5, 10, 20, 25, 50] 4 | 5 | [view] 6 | page_size = 10 7 | 8 | [[visualizers]] 9 | vis_type = "kwic" 10 | display_name = "kwic" 11 | visibility = "permanent" 12 | 13 | [[visualizers]] 14 | element = "node" 15 | layer = "default_ns" 16 | vis_type = "grid" 17 | display_name = "grid (default_ns)" 18 | visibility = "hidden" 19 | 20 | [[visualizers]] 21 | element = "node" 22 | layer = "syntax" 23 | vis_type = "tree" 24 | display_name = "tree (syntax)" 25 | visibility = "hidden" 26 | 27 | [visualizers.mappings] 28 | edge_type = "null" 29 | node_anno_ns = "default_ns" 30 | node_key = "const" 31 | 32 | [[visualizers]] 33 | element = "edge" 34 | layer = "default_ns" 35 | vis_type = "arch_dependency" 36 | display_name = "anaphoric (default_ns)" 37 | visibility = "hidden" 38 | 39 | [[visualizers]] 40 | element = "node" 41 | layer = "tiger" 42 | vis_type = "tree" 43 | display_name = "tree" 44 | visibility = "hidden" 45 | 46 | [[visualizers]] 47 | element = "node" 48 | layer = "exmaralda" 49 | vis_type = "grid" 50 | display_name = "exmaralda" 51 | visibility = "hidden" 52 | 53 | [[visualizers]] 54 | element = "node" 55 | layer = "mmax" 56 | vis_type = "grid" 57 | display_name = "mmax" 58 | visibility = "hidden" 59 | 60 | [[visualizers]] 61 | element = "edge" 62 | layer = "mmax" 63 | vis_type = "discourse" 64 | display_name = "coref" 65 | visibility = "hidden" 66 | 67 | [[visualizers]] 68 | element = "node" 69 | layer = "urml" 70 | vis_type = "grid" 71 | display_name = "urml" 72 | visibility = "hidden" 73 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/global_statistics.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/edge_stats.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/edge_stats.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_layer/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Coverage/default_ns/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Dominance/syntax/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Dominance/syntax/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Dominance/syntax/impl.cfg: -------------------------------------------------------------------------------- 1 | PrePostOrderO16L8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/LeftToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Ordering/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/PartOf/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/gs/RightToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.2/current/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.2/current/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/corpus-config.toml: -------------------------------------------------------------------------------- 1 | [context] 2 | default = 5 3 | sizes = [0, 1, 2, 5, 10, 20, 25, 50] 4 | 5 | [view] 6 | page_size = 10 7 | 8 | [[visualizers]] 9 | vis_type = "kwic" 10 | display_name = "kwic" 11 | visibility = "permanent" 12 | 13 | [[visualizers]] 14 | element = "node" 15 | layer = "default_ns" 16 | vis_type = "grid" 17 | display_name = "grid (default_ns)" 18 | visibility = "hidden" 19 | 20 | [[visualizers]] 21 | element = "node" 22 | layer = "syntax" 23 | vis_type = "tree" 24 | display_name = "tree (syntax)" 25 | visibility = "hidden" 26 | 27 | [visualizers.mappings] 28 | edge_type = "null" 29 | node_anno_ns = "default_ns" 30 | node_key = "const" 31 | 32 | [[visualizers]] 33 | element = "edge" 34 | layer = "default_ns" 35 | vis_type = "arch_dependency" 36 | display_name = "anaphoric (default_ns)" 37 | visibility = "hidden" 38 | 39 | [[visualizers]] 40 | element = "node" 41 | layer = "tiger" 42 | vis_type = "tree" 43 | display_name = "tree" 44 | visibility = "hidden" 45 | 46 | [[visualizers]] 47 | element = "node" 48 | layer = "exmaralda" 49 | vis_type = "grid" 50 | display_name = "exmaralda" 51 | visibility = "hidden" 52 | 53 | [[visualizers]] 54 | element = "node" 55 | layer = "mmax" 56 | vis_type = "grid" 57 | display_name = "mmax" 58 | visibility = "hidden" 59 | 60 | [[visualizers]] 61 | element = "edge" 62 | layer = "mmax" 63 | vis_type = "discourse" 64 | display_name = "coref" 65 | visibility = "hidden" 66 | 67 | [[visualizers]] 68 | element = "node" 69 | layer = "urml" 70 | vis_type = "grid" 71 | display_name = "urml" 72 | visibility = "hidden" 73 | 74 | [corpus_size] 75 | quantity = 44 76 | 77 | [corpus_size.unit] 78 | name = "tokens" 79 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/global_statistics.toml: -------------------------------------------------------------------------------- 1 | all_token_in_order_component = true 2 | 3 | [corpus_size.Token] 4 | base_token_count = 44 5 | 6 | [corpus_size.Token.segmentation_count] 7 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/edge_stats.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/edge_stats.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_layer/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Coverage/default_ns/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Dominance/syntax/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Dominance/syntax/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Dominance/syntax/impl.cfg: -------------------------------------------------------------------------------- 1 | PrePostOrderO16L8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/LeftToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Ordering/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/PartOf/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/edge_stats.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/edge_stats.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/gs/RightToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.3/current/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.3/current/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/corpus-config.toml: -------------------------------------------------------------------------------- 1 | [context] 2 | default = 5 3 | sizes = [0, 1, 2, 5, 10, 20, 25, 50] 4 | 5 | [view] 6 | page_size = 10 7 | 8 | [[visualizers]] 9 | vis_type = "kwic" 10 | display_name = "kwic" 11 | visibility = "permanent" 12 | 13 | [[visualizers]] 14 | element = "node" 15 | layer = "default_ns" 16 | vis_type = "grid" 17 | display_name = "grid (default_ns)" 18 | visibility = "hidden" 19 | 20 | [[visualizers]] 21 | element = "node" 22 | layer = "syntax" 23 | vis_type = "tree" 24 | display_name = "tree (syntax)" 25 | visibility = "hidden" 26 | 27 | [visualizers.mappings] 28 | edge_type = "null" 29 | node_anno_ns = "default_ns" 30 | node_key = "const" 31 | 32 | [[visualizers]] 33 | element = "edge" 34 | layer = "default_ns" 35 | vis_type = "arch_dependency" 36 | display_name = "anaphoric (default_ns)" 37 | visibility = "hidden" 38 | 39 | [[visualizers]] 40 | element = "node" 41 | layer = "tiger" 42 | vis_type = "tree" 43 | display_name = "tree" 44 | visibility = "hidden" 45 | 46 | [[visualizers]] 47 | element = "node" 48 | layer = "exmaralda" 49 | vis_type = "grid" 50 | display_name = "exmaralda" 51 | visibility = "hidden" 52 | 53 | [[visualizers]] 54 | element = "node" 55 | layer = "mmax" 56 | vis_type = "grid" 57 | display_name = "mmax" 58 | visibility = "hidden" 59 | 60 | [[visualizers]] 61 | element = "edge" 62 | layer = "mmax" 63 | vis_type = "discourse" 64 | display_name = "coref" 65 | visibility = "hidden" 66 | 67 | [[visualizers]] 68 | element = "node" 69 | layer = "urml" 70 | vis_type = "grid" 71 | display_name = "urml" 72 | visibility = "hidden" 73 | 74 | [corpus_size] 75 | quantity = 44 76 | 77 | [corpus_size.unit] 78 | name = "tokens" 79 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/global_statistics.toml: -------------------------------------------------------------------------------- 1 | all_token_in_order_component = true 2 | 3 | [corpus_size.Token] 4 | base_token_count = 44 5 | 6 | [corpus_size.Token.segmentation_count] 7 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inherited-coverage/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = true 3 | nodes = 0 4 | root_nodes = 0 5 | avg_fan_out = 0.0 6 | fan_out_99_percentile = 0 7 | inverse_fan_out_99_percentile = 0 8 | max_fan_out = 0 9 | max_depth = 1 10 | dfs_visit_ratio = 0.0 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/annis/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = true 3 | nodes = 0 4 | root_nodes = 0 5 | avg_fan_out = 0.0 6 | fan_out_99_percentile = 0 7 | inverse_fan_out_99_percentile = 0 8 | max_fan_out = 0 9 | max_depth = 1 10 | dfs_visit_ratio = 0.0 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_layer/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = false 3 | nodes = 92 4 | root_nodes = 48 5 | avg_fan_out = 2.1739130434782608 6 | fan_out_99_percentile = 11 7 | inverse_fan_out_99_percentile = 9 8 | max_fan_out = 11 9 | max_depth = 1 10 | dfs_visit_ratio = 2.6956521739130435 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Coverage/default_ns/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = false 3 | nodes = 56 4 | root_nodes = 12 5 | avg_fan_out = 0.9285714285714286 6 | fan_out_99_percentile = 10 7 | inverse_fan_out_99_percentile = 2 8 | max_fan_out = 10 9 | max_depth = 1 10 | dfs_visit_ratio = 1.1428571428571428 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Dominance/syntax/annos.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Dominance/syntax/impl.cfg: -------------------------------------------------------------------------------- 1 | PrePostOrderO16L8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Dominance/syntax/node_to_order.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Dominance/syntax/node_to_order.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Dominance/syntax/order_to_node.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Dominance/syntax/order_to_node.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Dominance/syntax/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = true 3 | nodes = 92 4 | root_nodes = 4 5 | avg_fan_out = 0.9565217391304348 6 | fan_out_99_percentile = 3 7 | inverse_fan_out_99_percentile = 1 8 | max_fan_out = 3 9 | max_depth = 9 10 | dfs_visit_ratio = 1.0 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/LeftToken/annis/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = false 3 | nodes = 92 4 | root_nodes = 60 5 | avg_fan_out = 0.6521739130434783 6 | fan_out_99_percentile = 1 7 | inverse_fan_out_99_percentile = 3 8 | max_fan_out = 1 9 | max_depth = 1 10 | dfs_visit_ratio = 1.3043478260869565 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Ordering/annis/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = true 3 | nodes = 44 4 | root_nodes = 4 5 | avg_fan_out = 0.9090909090909091 6 | fan_out_99_percentile = 1 7 | inverse_fan_out_99_percentile = 1 8 | max_fan_out = 1 9 | max_depth = 10 10 | dfs_visit_ratio = 1.0 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/PartOf/annis/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = false 3 | nodes = 115 4 | root_nodes = 104 5 | avg_fan_out = 0.991304347826087 6 | fan_out_99_percentile = 1 7 | inverse_fan_out_99_percentile = 26 8 | max_fan_out = 1 9 | max_depth = 4 10 | dfs_visit_ratio = 4.521739130434782 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/Pointing/default_ns/anaphoric/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = true 3 | nodes = 8 4 | root_nodes = 4 5 | avg_fan_out = 0.5 6 | fan_out_99_percentile = 1 7 | inverse_fan_out_99_percentile = 1 8 | max_fan_out = 1 9 | max_depth = 1 10 | dfs_visit_ratio = 1.0 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DiskPathV1_D15 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/inverse_edges.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/inverse_edges.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/nodes_diskmap_v1/custom.bin: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/gs/RightToken/annis/stats.toml: -------------------------------------------------------------------------------- 1 | cyclic = false 2 | rooted_tree = false 3 | nodes = 84 4 | root_nodes = 60 5 | avg_fan_out = 0.7142857142857143 6 | fan_out_99_percentile = 1 7 | inverse_fan_out_99_percentile = 8 8 | max_fan_out = 1 9 | max_depth = 1 10 | dfs_visit_ratio = 1.4285714285714286 11 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/nodes_diskmap_v1/by_anno_qname.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/nodes_diskmap_v1/by_anno_qname.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-disk-based-3.8/current/nodes_diskmap_v1/by_container.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-disk-based-3.8/current/nodes_diskmap_v1/by_container.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/corpus-config.toml: -------------------------------------------------------------------------------- 1 | [context] 2 | default = 5 3 | sizes = [0, 1, 2, 5, 10] 4 | 5 | [view] 6 | page_size = 10 7 | 8 | [[visualizers]] 9 | vis_type = "kwic" 10 | display_name = "kwic" 11 | visibility = "permanent" 12 | 13 | [[visualizers]] 14 | element = "node" 15 | layer = "default_ns" 16 | vis_type = "grid" 17 | display_name = "grid (default_ns)" 18 | visibility = "hidden" 19 | 20 | [[visualizers]] 21 | element = "node" 22 | layer = "syntax" 23 | vis_type = "tree" 24 | display_name = "tree (syntax)" 25 | visibility = "hidden" 26 | 27 | [visualizers.mappings] 28 | edge_type = "null" 29 | node_anno_ns = "default_ns" 30 | node_key = "const" 31 | 32 | [[visualizers]] 33 | element = "edge" 34 | layer = "default_ns" 35 | vis_type = "arch_dependency" 36 | display_name = "anaphoric (default_ns)" 37 | visibility = "hidden" 38 | 39 | [[visualizers]] 40 | element = "node" 41 | layer = "tiger" 42 | vis_type = "tree" 43 | display_name = "tree" 44 | visibility = "hidden" 45 | 46 | [[visualizers]] 47 | element = "node" 48 | layer = "exmaralda" 49 | vis_type = "grid" 50 | display_name = "exmaralda" 51 | visibility = "hidden" 52 | 53 | [[visualizers]] 54 | element = "node" 55 | layer = "mmax" 56 | vis_type = "grid" 57 | display_name = "mmax" 58 | visibility = "hidden" 59 | 60 | [[visualizers]] 61 | element = "edge" 62 | layer = "mmax" 63 | vis_type = "discourse" 64 | display_name = "coref" 65 | visibility = "hidden" 66 | 67 | [[visualizers]] 68 | element = "node" 69 | layer = "urml" 70 | vis_type = "grid" 71 | display_name = "urml" 72 | visibility = "hidden" 73 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/annis/component.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/annis/inherited-coverage/component.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/annis/inherited-coverage/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/default_layer/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/default_layer/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/default_layer/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/default_ns/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/default_ns/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Coverage/default_ns/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Dominance/syntax/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/Dominance/syntax/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Dominance/syntax/impl.cfg: -------------------------------------------------------------------------------- 1 | PrePostOrderO16L8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/LeftToken/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/LeftToken/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/LeftToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DenseAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Ordering/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/Ordering/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Ordering/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | LinearO8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/PartOf/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/PartOf/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/PartOf/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DenseAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Pointing/default_ns/anaphoric/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/Pointing/default_ns/anaphoric/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/Pointing/default_ns/anaphoric/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/RightToken/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/gs/RightToken/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/gs/RightToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-1.5/current/nodes_v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-1.5/current/nodes_v1.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/corpus-config.toml: -------------------------------------------------------------------------------- 1 | [context] 2 | default = 5 3 | sizes = [0, 1, 2, 5, 10, 20, 25, 50] 4 | 5 | [view] 6 | page_size = 10 7 | 8 | [[visualizers]] 9 | vis_type = "kwic" 10 | display_name = "kwic" 11 | visibility = "permanent" 12 | 13 | [[visualizers]] 14 | element = "node" 15 | layer = "default_ns" 16 | vis_type = "grid" 17 | display_name = "grid (default_ns)" 18 | visibility = "hidden" 19 | 20 | [[visualizers]] 21 | element = "node" 22 | layer = "syntax" 23 | vis_type = "tree" 24 | display_name = "tree (syntax)" 25 | visibility = "hidden" 26 | 27 | [visualizers.mappings] 28 | edge_type = "null" 29 | node_anno_ns = "default_ns" 30 | node_key = "const" 31 | 32 | [[visualizers]] 33 | element = "edge" 34 | layer = "default_ns" 35 | vis_type = "arch_dependency" 36 | display_name = "anaphoric (default_ns)" 37 | visibility = "hidden" 38 | 39 | [[visualizers]] 40 | element = "node" 41 | layer = "tiger" 42 | vis_type = "tree" 43 | display_name = "tree" 44 | visibility = "hidden" 45 | 46 | [[visualizers]] 47 | element = "node" 48 | layer = "exmaralda" 49 | vis_type = "grid" 50 | display_name = "exmaralda" 51 | visibility = "hidden" 52 | 53 | [[visualizers]] 54 | element = "node" 55 | layer = "mmax" 56 | vis_type = "grid" 57 | display_name = "mmax" 58 | visibility = "hidden" 59 | 60 | [[visualizers]] 61 | element = "edge" 62 | layer = "mmax" 63 | vis_type = "discourse" 64 | display_name = "coref" 65 | visibility = "hidden" 66 | 67 | [[visualizers]] 68 | element = "node" 69 | layer = "urml" 70 | vis_type = "grid" 71 | display_name = "urml" 72 | visibility = "hidden" 73 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/global_statistics.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/annis/component.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/annis/inherited-coverage/component.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/annis/inherited-coverage/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/default_layer/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/default_layer/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/default_layer/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/default_ns/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/default_ns/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Coverage/default_ns/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Dominance/syntax/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/Dominance/syntax/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Dominance/syntax/impl.cfg: -------------------------------------------------------------------------------- 1 | PrePostOrderO16L8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/LeftToken/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/LeftToken/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/LeftToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DenseAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Ordering/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/Ordering/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Ordering/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | LinearO8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/PartOf/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/PartOf/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/PartOf/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DenseAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Pointing/default_ns/anaphoric/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/Pointing/default_ns/anaphoric/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/Pointing/default_ns/anaphoric/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/RightToken/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/gs/RightToken/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/gs/RightToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.2/current/nodes_v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.2/current/nodes_v1.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/corpus-config.toml: -------------------------------------------------------------------------------- 1 | [context] 2 | default = 5 3 | sizes = [0, 1, 2, 5, 10, 20, 25, 50] 4 | 5 | [view] 6 | page_size = 10 7 | 8 | [[visualizers]] 9 | vis_type = "kwic" 10 | display_name = "kwic" 11 | visibility = "permanent" 12 | 13 | [[visualizers]] 14 | element = "node" 15 | layer = "default_ns" 16 | vis_type = "grid" 17 | display_name = "grid (default_ns)" 18 | visibility = "hidden" 19 | 20 | [[visualizers]] 21 | element = "node" 22 | layer = "syntax" 23 | vis_type = "tree" 24 | display_name = "tree (syntax)" 25 | visibility = "hidden" 26 | 27 | [visualizers.mappings] 28 | edge_type = "null" 29 | node_anno_ns = "default_ns" 30 | node_key = "const" 31 | 32 | [[visualizers]] 33 | element = "edge" 34 | layer = "default_ns" 35 | vis_type = "arch_dependency" 36 | display_name = "anaphoric (default_ns)" 37 | visibility = "hidden" 38 | 39 | [[visualizers]] 40 | element = "node" 41 | layer = "tiger" 42 | vis_type = "tree" 43 | display_name = "tree" 44 | visibility = "hidden" 45 | 46 | [[visualizers]] 47 | element = "node" 48 | layer = "exmaralda" 49 | vis_type = "grid" 50 | display_name = "exmaralda" 51 | visibility = "hidden" 52 | 53 | [[visualizers]] 54 | element = "node" 55 | layer = "mmax" 56 | vis_type = "grid" 57 | display_name = "mmax" 58 | visibility = "hidden" 59 | 60 | [[visualizers]] 61 | element = "edge" 62 | layer = "mmax" 63 | vis_type = "discourse" 64 | display_name = "coref" 65 | visibility = "hidden" 66 | 67 | [[visualizers]] 68 | element = "node" 69 | layer = "urml" 70 | vis_type = "grid" 71 | display_name = "urml" 72 | visibility = "hidden" 73 | 74 | [corpus_size] 75 | quantity = 44 76 | 77 | [corpus_size.unit] 78 | name = "tokens" 79 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/global_statistics.toml: -------------------------------------------------------------------------------- 1 | all_token_in_order_component = true 2 | 3 | [corpus_size.Token] 4 | base_token_count = 44 5 | 6 | [corpus_size.Token.segmentation_count] 7 | -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/annis/component.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/annis/inherited-coverage/component.bin: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/annis/inherited-coverage/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/default_layer/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/default_layer/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/default_layer/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/default_ns/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/default_ns/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Coverage/default_ns/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Dominance/syntax/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/Dominance/syntax/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Dominance/syntax/impl.cfg: -------------------------------------------------------------------------------- 1 | PrePostOrderO16L8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/LeftToken/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/LeftToken/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/LeftToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DenseAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Ordering/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/Ordering/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Ordering/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | LinearO8V1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/PartOf/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/PartOf/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/PartOf/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | DenseAdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Pointing/default_ns/anaphoric/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/Pointing/default_ns/anaphoric/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/Pointing/default_ns/anaphoric/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/RightToken/annis/component.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/gs/RightToken/annis/component.bin -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/gs/RightToken/annis/impl.cfg: -------------------------------------------------------------------------------- 1 | AdjacencyListV1 -------------------------------------------------------------------------------- /graphannis/tests/data/sample-memory-based-3.3/current/nodes_v1.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/graphannis/tests/data/sample-memory-based-3.3/current/nodes_v1.bin -------------------------------------------------------------------------------- /graphannis/tests/linked_file.txt: -------------------------------------------------------------------------------- 1 | The content of this file is not important. -------------------------------------------------------------------------------- /misc/convertAll.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import os 4 | from subprocess import call; 5 | 6 | for d in os.listdir('relannis/'): 7 | print("Checking " + d) 8 | if(os.path.isdir('relannis/' + d)): 9 | print("Converting " + d) 10 | call("target/release/annis data/ --cmd 'import relannis/" + d + " " + d + "'", shell=True) 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /misc/download-mdbook.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | MDBOOK_VERSION=${1:-0.3.1} 4 | 5 | install_mdbook=false 6 | 7 | if [[ -x $HOME/.cargo/bin/mdbook ]]; then 8 | echo "Checking for mdBook version ${MDBOOK_VERSION}" 9 | EXISTING_MDBOOK_VERSION=`$HOME/.cargo/bin/mdbook --version` 10 | echo "Existing: ${EXISTING_MDBOOK_VERSION}" 11 | if [ "mdbook v${MDBOOK_VERSION}" != "${EXISTING_MDBOOK_VERSION}" ]; then 12 | install_mdbook=true 13 | else 14 | echo "Using cached ${EXISTING_MDBOOK_VERSION}" 15 | install_mdbook=false 16 | fi 17 | else 18 | install_mdbook=true 19 | fi 20 | 21 | if [ "$install_mdbook" = true ] ; then 22 | echo "Installing mdBook version ${MDBOOK_VERSION}" 23 | 24 | if [[ "$OS_NAME" == "linux" ]]; 25 | then 26 | rm -f mdbook.tar.gz 27 | curl -L -o mdbook.tar.gz https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz 28 | tar -C $HOME/.cargo/bin/ -zxf mdbook.tar.gz 29 | elif [[ "$OS_NAME" == "osx" ]]; 30 | then 31 | rm -f mdbook.tar.gz 32 | curl -L -o mdbook.tar.gz https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-apple-darwin.tar.gz 33 | tar -C $HOME/.cargo/bin/ -zxf mdbook.tar.gz 34 | elif [[ "$OS_NAME" == "windows" ]]; 35 | then 36 | del /s /q mdbook.tar.gz 37 | curl -L -o mdbook.zip https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdBook-v${MDBOOK_VERSION}-x86_64-pc-windows-msvc.zip 38 | unzip -o -d $HOME/.cargo/bin/ mdbook.zip 39 | else 40 | >&2 echo "Unknown value \"${OS_NAME}\" for environment variable OS_NAME" 41 | exit 1 42 | fi 43 | fi 44 | 45 | -------------------------------------------------------------------------------- /misc/download-test-corpora.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | curl -L -o gum.zip https://github.com/amir-zeldes/gum/archive/f8ac9944fae39ae37c4db186304e3c1ab41f77f3.zip 3 | unzip -o -j gum.zip "gum-*/annis/GUM_annis/*" -d relannis/GUM 4 | 5 | curl -L -o pcc21.zip http://angcl.ling.uni-potsdam.de/resources/pcc2.1_annis.zip 6 | unzip -o -j pcc21.zip "pcc2.1/annis/*" -d relannis/pcc2.1 7 | 8 | curl -L -o subtokdemo.zip https://corpus-tools.org/corpora/subtok.demo_relANNIS.zip 9 | unzip -o -j subtokdemo.zip "*" -d relannis/subtok.demo 10 | -------------------------------------------------------------------------------- /misc/license-template.txt: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright %YEAR% %USER% 3 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); 5 | you may not use this file except in compliance with the License. 6 | You may obtain a copy of the License at 7 | 8 | http://www.apache.org/licenses/LICENSE-2.0 9 | 10 | Unless required by applicable law or agreed to in writing, software 11 | distributed under the License is distributed on an "AS IS" BASIS, 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | See the License for the specific language governing permissions and 14 | limitations under the License. 15 | */ 16 | -------------------------------------------------------------------------------- /misc/query-folder-to-csv.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env python3 2 | 3 | import sys 4 | import csv 5 | import os 6 | 7 | if len(sys.argv) < 2: 8 | print("You have to give the query folder as argument.") 9 | exit(1) 10 | query_folder = sys.argv[1] 11 | 12 | fields = ["name", "aql", "corpus", "count"] 13 | 14 | writer = csv.DictWriter(sys.stdout, fieldnames=fields) 15 | 16 | writer.writeheader() 17 | 18 | for subfolder in os.listdir(query_folder): 19 | subfolder_path = os.path.join(query_folder, subfolder) 20 | if os.path.isdir(subfolder_path): 21 | # the basename of a file is its name and the ending determines the column 22 | basenames = set() 23 | for file in os.listdir(subfolder_path): 24 | basenames.add(os.path.splitext(file)[0]) 25 | for name in basenames: 26 | aql_file = os.path.join(subfolder_path, name + ".aql") 27 | count_file = os.path.join(subfolder_path, name + ".count") 28 | if os.path.isfile(aql_file) and os.path.isfile(count_file): 29 | row = {"corpus": subfolder, "name": name} 30 | with open(aql_file, "r") as f: 31 | row["aql"] = f.read().strip() 32 | with open(count_file, "r") as f: 33 | row["count"] = int(f.read().strip()) 34 | 35 | writer.writerow(row) -------------------------------------------------------------------------------- /misc/rename-deployed-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [[ "$TRAVIS_OS_NAME" == "linux" ]] 4 | then 5 | mv target/release/libgraphannis_capi.so target/release/libgraphannis.so 6 | fi 7 | if [[ "$TRAVIS_OS_NAME" == "osx" ]] 8 | then 9 | mv target/release/libgraphannis_capi.dylib target/release/libgraphannis.dylib 10 | mv target/release/annis target/release/annis.osx 11 | mv target/release/graphannis-webservice target/release/graphannis-webservice.osx 12 | fi 13 | if [[ "$TRAVIS_OS_NAME" == "windows" ]] 14 | then 15 | mv target/release/graphannis_capi.dll target/release/graphannis.dll 16 | fi -------------------------------------------------------------------------------- /misc/valgrind.supp: -------------------------------------------------------------------------------- 1 | { 2 | RE2SparseSet_Condition_1 3 | Memcheck:Cond 4 | fun:_ZNK3re210SparseSetTIvE8containsEi 5 | ... 6 | } 7 | 8 | { 9 | RE2SparseSet_Condition_2 10 | Memcheck:Cond 11 | fun:_ZNK3re211SparseArrayIiE9has_indexEi 12 | ... 13 | } 14 | 15 | 16 | { 17 | RE2SparseSet_Value8_1 18 | Memcheck:Value8 19 | fun:_ZNK3re210SparseSetTIvE8containsEi 20 | ... 21 | } 22 | 23 | { 24 | RE2SparseSet_Value8_2 25 | Memcheck:Value8 26 | fun:_ZNK3re211SparseArrayIiE9has_indexEi 27 | ... 28 | } 29 | 30 | { 31 | HumbleLoggingLeak 32 | Memcheck:Leak 33 | match-leak-kinds: definite 34 | fun:_Znwm 35 | fun:_ZN6humble7logging21PatternConfigRegistry6insertERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi 36 | fun:_ZN6humble7logging21PatternConfigRegistry4loadERSi 37 | fun:_ZN6humble7logging21PatternConfigRegistry14loadFromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 38 | fun:_ZN6humble7logging20DefaultConfiguration14loadFromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 39 | fun:_ZN6humble7logging20DefaultConfiguration16createFromStringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE 40 | fun:main 41 | } 42 | 43 | -------------------------------------------------------------------------------- /relannis/README.md: -------------------------------------------------------------------------------- 1 | relannis folder 2 | =============== 3 | 4 | This folder can contain original corpus data in the ANNIS import format. 5 | 6 | Since the data can get quite big, we don't include it in git. 7 | There will be a separate download later. 8 | 9 | 10 | -------------------------------------------------------------------------------- /release.toml: -------------------------------------------------------------------------------- 1 | sign-tag = true 2 | consolidate-commits = true 3 | pre-release-hook = ["cargo", "test"] 4 | -------------------------------------------------------------------------------- /verify.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Stop the script if any command exits with a non-zero return code 4 | set -e 5 | 6 | # Run static code checks 7 | cargo fmt --check 8 | cargo clippy 9 | 10 | export LC_COLLATE="en_US.utf8" 11 | 12 | # Execute tests and calculate the code coverage both as lcov and HTML report 13 | cargo llvm-cov clean --workspace 14 | cargo llvm-cov --no-report --release 15 | cargo llvm-cov --no-report --release --tests -- --ignored 16 | mkdir -p target/llvm-cov/ 17 | cargo llvm-cov report --ignore-filename-regex '(tests?\.rs)|(capi/.*)' --release --lcov --output-path target/llvm-cov/tests.lcov 18 | 19 | # Use diff-cover (https://github.com/Bachmann1234/diff_cover) and output code coverage compared to main branch 20 | mkdir -p target/llvm-cov/html/ 21 | OUTPUT="$(diff-cover target/llvm-cov/tests.lcov --html-report target/llvm-cov/html/patch.html)" 22 | echo "$OUTPUT" 23 | if [ -z "${CI}" ]; then 24 | echo "HTML report available at $PWD/target/llvm-cov/html/patch.html" 25 | fi 26 | 27 | # Extract the code coverage percentage and exit with error code if threshold is not reached 28 | PERC_REGEX='.*Coverage: ([0-9]+)(\.[0-9]*)?\%.*' 29 | if [[ $OUTPUT =~ $PERC_REGEX ]]; then 30 | PERCENTAGE="$((${BASH_REMATCH[1]}))" 31 | if [[ $PERCENTAGE -lt 80 ]] 32 | then 33 | >&2 echo "Code coverage threshold not reached" 34 | exit 3 35 | fi 36 | fi 37 | exit 0 38 | -------------------------------------------------------------------------------- /webservice/.gitignore: -------------------------------------------------------------------------------- 1 | tmp/** 2 | /.env 3 | -------------------------------------------------------------------------------- /webservice/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | authors = ["Thomas Krause "] 3 | description = "This is a web service to the new backend implementation of the ANNIS linguistic search and visualization system." 4 | edition = "2018" 5 | license = "Apache-2.0" 6 | name = "graphannis-webservice" 7 | readme = "crate-info.md" 8 | repository = "https://github.com/korpling/graphANNIS" 9 | version = "3.8.1" 10 | 11 | [dependencies] 12 | actix-cors = "0.6" 13 | actix-files = "0.6" 14 | actix-web = "4" 15 | anyhow = "1" 16 | bcrypt = "0.10" 17 | clap = { version = "2", default-features = false } 18 | config = { version = "0.13", default-features = false, features = ["toml"] } 19 | diesel = { version = "2.0.4", default-features = false, features = [ 20 | "sqlite", 21 | "r2d2", 22 | ] } 23 | diesel_migrations = { version = " 2", default-features = false } 24 | futures = "0.3" 25 | graphannis = { path = "../graphannis/", version = "^3" } 26 | graphannis-core = { path = "../core/", version = "^3" } 27 | jsonwebtoken = "7.2" 28 | libsqlite3-sys = { version = "0.26.0", features = ["bundled"] } 29 | log = "0.4" 30 | percent-encoding = "2.1" 31 | r2d2 = "0.8" 32 | serde = { version = "1.0", features = ["rc"] } 33 | serde_derive = "1.0" 34 | simplelog = "0.12" 35 | tempfile = "3" 36 | thiserror = "1" 37 | uuid = { version = "0.8", features = ["v4"] } 38 | walkdir = "2" 39 | zip = "0.6.4" 40 | 41 | [target.'cfg(not(target_env = "msvc"))'.dependencies] 42 | tikv-jemallocator = "0.5" 43 | 44 | [dev-dependencies] 45 | pretty_assertions = "1.3" 46 | insta = { version = "1.34.0", features = ["filters"] } 47 | 48 | [package.metadata.cargo-machete] 49 | ignored = ["libsqlite3-sys"] 50 | -------------------------------------------------------------------------------- /webservice/api-docs.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /webservice/crate-info.md: -------------------------------------------------------------------------------- 1 | # graphANNIS command line tools 2 | 3 | 4 | [GraphANNIS](https://crates.io/crates/graphannis) is a new backend implementation of the ANNIS linguistic search and visualization system (http://corpus-tools.org/annis/). 5 | This crate contains command line tools, e.g. for importing corpora. -------------------------------------------------------------------------------- /webservice/diesel.toml: -------------------------------------------------------------------------------- 1 | # For documentation on how to configure this file, 2 | # see diesel.rs/guides/configuring-diesel-cli 3 | 4 | [print_schema] 5 | file = "src/schema.rs" 6 | -------------------------------------------------------------------------------- /webservice/migrations/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/korpling/graphANNIS/2c656d5c79e15b7c29809132c467681fa473464f/webservice/migrations/.gitkeep -------------------------------------------------------------------------------- /webservice/migrations/2020-06-16-105832_corpus_corpus/down.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE corpus_groups; 2 | DROP TABLE groups; -------------------------------------------------------------------------------- /webservice/migrations/2020-06-16-105832_corpus_corpus/up.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE groups ( 2 | "name" VARCHAR NOT NULL, 3 | PRIMARY KEY("name") 4 | ); 5 | 6 | CREATE TABLE corpus_groups ( 7 | "group" VARCHAR NOT NULL REFERENCES groups("name") ON DELETE CASCADE ON UPDATE CASCADE, 8 | corpus VARCHAR NOT NULL, 9 | PRIMARY KEY("group", corpus) 10 | ); -------------------------------------------------------------------------------- /webservice/release.toml: -------------------------------------------------------------------------------- 1 | tag = false 2 | push = false 3 | -------------------------------------------------------------------------------- /webservice/src/api/mod.rs: -------------------------------------------------------------------------------- 1 | use crate::{actions, auth::Claims, errors::ServiceError, settings::Settings, DbPool}; 2 | use actix_web::web; 3 | 4 | pub mod administration; 5 | pub mod corpora; 6 | pub mod search; 7 | 8 | fn check_is_admin(claims: &Claims) -> Result<(), ServiceError> { 9 | if claims.roles.iter().any(|r| r.as_str() == "admin") { 10 | Ok(()) 11 | } else { 12 | Err(ServiceError::NotAnAdministrator(claims.sub.clone())) 13 | } 14 | } 15 | 16 | /// Check that all `requested_corpora` are authorized for the user. 17 | /// If any of them is not, a `ServiceError::NonAuthorizedCorpus` error is returned. 18 | async fn check_corpora_authorized_read( 19 | requested_corpora: Vec, 20 | claims: Claims, 21 | settings: &Settings, 22 | db_pool: &web::Data, 23 | ) -> Result, ServiceError> { 24 | if claims.roles.iter().any(|r| r.as_str() == "admin") 25 | || settings.auth.anonymous_access_all_corpora 26 | { 27 | // Administrators always have access to all corpora or read-access is 28 | // configured to be granted without login 29 | return Ok(requested_corpora); 30 | } 31 | 32 | let mut conn = db_pool.get()?; 33 | let allowed_corpora = 34 | web::block(move || actions::authorized_corpora_from_groups(&claims, &mut conn)).await??; 35 | if requested_corpora 36 | .iter() 37 | .all(|c| allowed_corpora.contains(c)) 38 | { 39 | Ok(requested_corpora) 40 | } else { 41 | Err(ServiceError::NonAuthorizedCorpus( 42 | requested_corpora 43 | .into_iter() 44 | .filter(|c| !allowed_corpora.contains(c)) 45 | .collect(), 46 | )) 47 | } 48 | } 49 | -------------------------------------------------------------------------------- /webservice/src/api/search/tests.rs: -------------------------------------------------------------------------------- 1 | use actix_web::http::StatusCode; 2 | use graphannis::corpusstorage::CountExtra; 3 | 4 | use crate::tests::{create_auth_header, create_test_app, import_test_corpora}; 5 | 6 | use super::*; 7 | 8 | #[actix_web::test] 9 | async fn test_count() { 10 | let db_dir = tempfile::TempDir::new().unwrap(); 11 | let cs = graphannis::CorpusStorage::with_auto_cache_size(db_dir.path(), false).unwrap(); // Import three corpora A,B and C 12 | import_test_corpora(&cs); 13 | 14 | let app = 15 | actix_web::test::init_service(create_test_app(web::Data::new(cs), Settings::default())) 16 | .await; 17 | 18 | // Execute a query to load a corpus 19 | let req = actix_web::test::TestRequest::post() 20 | .uri("/v1/search/count") 21 | .set_json(CountQuery { 22 | query: "tok".into(), 23 | query_language: QueryLanguage::AQL, 24 | corpora: vec!["A".into()], 25 | }) 26 | .insert_header(create_auth_header()) 27 | .to_request(); 28 | let resp = actix_web::test::call_service(&app, req).await; 29 | assert_eq!(resp.status(), StatusCode::OK); 30 | let response_body: CountExtra = actix_web::test::read_body_json(resp).await; 31 | 32 | assert_eq!(response_body.document_count, 4); 33 | assert_eq!(response_body.match_count, 44); 34 | } 35 | -------------------------------------------------------------------------------- /webservice/src/auth.rs: -------------------------------------------------------------------------------- 1 | #[derive(Debug, Clone, Serialize, Deserialize)] 2 | pub struct Claims { 3 | pub sub: String, 4 | /// Expiration date as unix timestamp in seconds since epoch and UTC 5 | #[serde(default, skip_serializing_if = "Option::is_none")] 6 | pub exp: Option, 7 | #[serde( 8 | default, 9 | rename = "https://corpus-tools.org/annis/groups", 10 | skip_serializing_if = "Vec::is_empty" 11 | )] 12 | pub groups: Vec, 13 | #[serde( 14 | default, 15 | rename = "https://corpus-tools.org/annis/roles", 16 | skip_serializing_if = "Vec::is_empty" 17 | )] 18 | pub roles: Vec, 19 | } 20 | -------------------------------------------------------------------------------- /webservice/src/default-settings.toml: -------------------------------------------------------------------------------- 1 | [bind] 2 | host = "localhost" 3 | port = 5711 4 | 5 | [database] 6 | disk_based = false 7 | graphannis = "data/" 8 | sqlite = "service.sqlite" 9 | 10 | [auth.token_verification] 11 | secret = "not-a-random-secret" 12 | type = "HS256" 13 | 14 | [logging] 15 | debug = false 16 | -------------------------------------------------------------------------------- /webservice/src/models.rs: -------------------------------------------------------------------------------- 1 | use crate::schema::{corpus_groups, groups}; 2 | 3 | #[derive(Queryable, Insertable)] 4 | pub struct CorpusGroup { 5 | pub group: String, 6 | pub corpus: String, 7 | } 8 | 9 | #[derive(Insertable)] 10 | pub struct Group { 11 | pub name: String, 12 | } 13 | -------------------------------------------------------------------------------- /webservice/src/schema.rs: -------------------------------------------------------------------------------- 1 | table! { 2 | corpus_groups (group, corpus) { 3 | group -> Text, 4 | corpus -> Text, 5 | } 6 | } 7 | 8 | table! { 9 | groups (name) { 10 | name -> Text, 11 | } 12 | } 13 | 14 | joinable!(corpus_groups -> groups (group)); 15 | 16 | allow_tables_to_appear_in_same_query!(corpus_groups, groups,); 17 | -------------------------------------------------------------------------------- /webservice/src/snapshots/graphannis_webservice__tests__logfile.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: webservice/src/tests.rs 3 | expression: logfile_content 4 | --- 5 | 12:00:00[INFO] Hello World 6 | -------------------------------------------------------------------------------- /webservice/src/snapshots/graphannis_webservice__tests__logfile_debug.snap: -------------------------------------------------------------------------------- 1 | --- 2 | source: webservice/src/tests.rs 3 | expression: logfile_content 4 | --- 5 | 12:00:00[INFO] Hello World 6 | 12:00:00[DEBUG] (1) : Debug Message 7 | --------------------------------------------------------------------------------