<commit_before>DITA Open Toolkit [![Build Status](https://secure.travis-ci.org/dita-ot/dita-ot.png?branch=develop)](http://travis-ci.org/dita-ot/dita-ot)
=================

The DITA Open Toolkit, or DITA-OT for short, is an open source tool that provides processing for OASIS DITA content. See [dita-ot.sf.net](http://dita-ot.sourceforge.net/) for documentation, information about releases, and download packages.

Prerequisites
-------------

In order to build and use DITA-OT, you’ll need:

* Java Development Kit 6 or newer
* Apache Ant 1.8.2 or newer.

Building
--------

1. Clone DITA-OT Git repository.
2. On root directory, compile Java code:

        ant jar
     
3. Run plug-in installation:

        ant -f src/main/integrator.xml

Usage
-----

1. Add the following files and directories to `CLASSPATH` system variable:
   * `src/main/`
   * `src/main/lib/`
   * `src/main/lib/dost.jar`
   * `src/main/lib/xercesImpl.jar`
   * `src/main/lib/xml-apis.jar`
   * `src/main/lib/commons-codec-1.4.jar`
   * `src/main/lib/saxon/saxon9-dom.jar`
   * `src/main/lib/saxon/saxon9.jar`
   * `src/main/lib/resolver.jar`
   * `src/main/lib/icu4j.jar`
2. Change directory to `src/main`.
3. Run DITA-OT with:

        ant [options]
        
   See [documention](http://dita-ot.sourceforge.net/latest/) for arguments and options.

Distribution
------------<commit_msg>Note that the integrate will issue warnings unless the src/main/lib is in the CLASSPATH.<commit_after>DITA Open Toolkit [![Build Status](https://secure.travis-ci.org/dita-ot/dita-ot.png?branch=develop)](http://travis-ci.org/dita-ot/dita-ot)
=================

The DITA Open Toolkit, or DITA-OT for short, is an open source tool that provides processing for OASIS DITA content. See [dita-ot.sf.net](http://dita-ot.sourceforge.net/) for documentation, information about releases, and download packages.

Prerequisites
-------------

In order to build and use DITA-OT, you’ll need:

* Java Development Kit 6 or newer
* Apache Ant 1.8.2 or newer.

   

Building
--------

1. Clone DITA-OT Git repository.
2. On root directory, compile Java code:

        ant jar
     
3. Run plug-in installation:

        ant -f src/main/integrator.xml
  Please note that you need to have `src/main/lib/` added to your `CLASSPATH` system variable in order to have no warnings.
 
Usage
-----

1. Add the following files and directories to `CLASSPATH` system variable:
   * `src/main/`
   * `src/main/lib/`
   * `src/main/lib/dost.jar`
   * `src/main/lib/xercesImpl.jar`
   * `src/main/lib/xml-apis.jar`
   * `src/main/lib/commons-codec-1.4.jar`
   * `src/main/lib/saxon/saxon9-dom.jar`
   * `src/main/lib/saxon/saxon9.jar`
   * `src/main/lib/resolver.jar`
   * `src/main/lib/icu4j.jar`
2. Change directory to `src/main`.
3. Run DITA-OT with:

        ant [options]
        
   See [documention](http://dita-ot.sourceforge.net/latest/) for arguments and options.

Distribution
------------
{'fraction_non_alphanumeric': 0.16274309109518936, 'fraction_numerical': 0.01023541453428864, 'mean_word_length': 2.8326797385620917, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2588928', 'n_tokens_mistral': 1063, 'n_tokens_neox': 1025, 'n_words': 269}