<commit_before>[![Koara](http://www.koara.io/logo.png)](http://www.koara.io)

[![Build Status](https://img.shields.io/travis/codeaddslife/koara-ant-plugin.svg)](https://travis-ci.org/codeaddslife/koara-ant-plugin)
[![Coverage Status](https://img.shields.io/coveralls/codeaddslife/koara-ant-plugin.svg)](https://coveralls.io/github/codeaddslife/koara-ant-plugin?branch=master)
[![Latest Version](https://img.shields.io/maven-central/v/io.koara/koara-ant-plugin.svg?label=Maven Central)](http://search.maven.org/#search%7Cga%7C1%7Ckoara-ant-plugin)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/codeaddslife/koara-ant-plugin/blob/master/LICENSE)

# Koara-ant-plugin
This project is a plugin for parsing [Koara](http://www.koara.io) documents with [Apache Ant](http://ant.apache.org).

## Getting Started
[Download](http://repo1.maven.org/maven2/io/koara/koara-ant-plugin/0.1.0/koara-html-0.1.0.jar) the koara-ant-plugin jar file and include the following code in your Ant build file.

```xml
<!-- Define the task -->
<taskdef name="koara" classname="io.koara.ant.ParseTask"
    classpath="${basedir}/libs/koara-ant-plugin-all.jar" />

<!-- Lint the code -->
<target name="parseDocuments">  
    <koara todir="${basedir}/output" modules="paragraphs,headings,lists" outputFormat="html5" >
        <fileset dir="${basedir}/input" />
    </koara>
</target>
```

## Task attributes
- **todir**: 
  Location to which all rendered documents should be written
  
- **modules**:
  Optional comma-seperated string of modules used to render the koara documents. By default, all modules will be used. Possible values: paragraphs, headings, lists, links, images, formatting, blockquote, code

- **outputFormat**:
  The format in which the koara documents should be rendered. Possible values: html5, xml<commit_msg>test new doc format<commit_after>[![Koara](http://www.koara.io/logo.png)](http://www.koara.io)

[![Build Status](https://img.shields.io/travis/codeaddslife/koara-ant-plugin.svg)](https://travis-ci.org/codeaddslife/koara-ant-plugin)
[![Coverage Status](https://img.shields.io/coveralls/codeaddslife/koara-ant-plugin.svg)](https://coveralls.io/github/codeaddslife/koara-ant-plugin?branch=master)
[![Latest Version](https://img.shields.io/maven-central/v/io.koara/koara-ant-plugin.svg?label=Maven Central)](http://search.maven.org/#search%7Cga%7C1%7Ckoara-ant-plugin)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://github.com/codeaddslife/koara-ant-plugin/blob/master/LICENSE)

# Koara-ant-plugin
This project is a plugin for parsing [Koara](http://www.koara.io) documents with [Apache Ant](http://ant.apache.org).

## Getting Started
[Download](http://repo1.maven.org/maven2/io/koara/koara-ant-plugin/0.1.0/koara-html-0.1.0.jar) the koara-ant-plugin jar file and include the following code in your Ant build file.

```xml
<!-- Define the task -->
<taskdef name="koara" classname="io.koara.ant.ParseTask"
    classpath="${basedir}/libs/koara-ant-plugin-all.jar" />

<!-- Lint the code -->
<target name="parseDocuments">  
    <koara todir="${basedir}/output" modules="paragraphs,headings,lists" outputFormat="html5" >
        <fileset dir="${basedir}/input" />
    </koara>
</target>
```

## Task attributes
- `todir`: 
  Location to which all rendered documents should be written
  
- `modules`:
  Optional comma-seperated string of modules used to render the koara documents. By default, all modules will be used. Possible values: paragraphs, headings, lists, links, images, formatting, blockquote, code

- `outputFormat`:
  The format in which the koara documents should be rendered. Possible values: html5, xml
{'fraction_non_alphanumeric': 0.17235772357723578, 'fraction_numerical': 0.00975609756097561, 'mean_word_length': 4.785266457680251, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 14, 'lorem ipsum': 0, 'www.': 6, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7599423', 'n_tokens_mistral': 1307, 'n_tokens_neox': 1245, 'n_words': 234}