<commit_before>
Slimmer is a slim tool to slim ontologies as part of ontology integration. It allows users to
provide configuration files that specify which parts of an ontology should be kept and/or
removed, allowing to just select parts of the ontology you like. Rewiring the ontology is part
of the features, allowing you to define new super terms.

Configuring the slimming
------------------------

The configuration of the slimming of an ontology consists of two files. The first file is a
Java properties file, listing the ontology, a pointer to the second configuration file, and
the URI of the output ontology. Details are found at https://github.com/enanomapper/slimmer/wiki/Slimmer-configuration-files

For example:

    owl=http://www.bioassayontology.org/bao/bao_complete.owl
    iris=bao.iris
    slimmed=http://purl.enanomapper.org/onto/external/bao-slim.owl

The second, .iris file configures the slicing of the ontology:

    +D(http://purl.bioontology.org/ontology/npo#NPO_1436):http://www.bioassayontology.org/bao#BAO_0000697 detection instrument<commit_msg>Added a link to the tutorial<commit_after>
Slimmer is a slim tool to slim ontologies as part of ontology integration. It allows users to
provide configuration files that specify which parts of an ontology should be kept and/or
removed, allowing to just select parts of the ontology you like. Rewiring the ontology is part
of the features, allowing you to define new super terms.

Configuring the slimming
------------------------

The configuration of the slimming of an ontology consists of two files. The first file is a
Java properties file, listing the ontology, a pointer to the second configuration file, and
the URI of the output ontology. Details are found at https://github.com/enanomapper/slimmer/wiki/Slimmer-configuration-files
and in https://enanomapper.github.io/tutorials/Added%20ontology%20terms/README.html

For example:

    owl=http://www.bioassayontology.org/bao/bao_complete.owl
    iris=bao.iris
    slimmed=http://purl.enanomapper.org/onto/external/bao-slim.owl

The second, .iris file configures the slicing of the ontology:

    +D(http://purl.bioontology.org/ontology/npo#NPO_1436):http://www.bioassayontology.org/bao#BAO_0000697 detection instrument
{'fraction_non_alphanumeric': 0.08743897026187306, 'fraction_numerical': 0.01154016866400355, 'mean_word_length': 4.134396355353076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1128659', 'n_tokens_mistral': 688, 'n_tokens_neox': 636, 'n_words': 249}