Fix kaf (tag) to folia scripts

A print statement was removed from the kaf2folia python script and the
documentation of the batch_add_tags shell script was updated.
Add script that generates data for machine learning

The folia2dataset_emo_sentences script generates data for machine
learning consisting of a sentence and class {1,0} that indicates whether
the sentence is emotional or not. A sentence is considered to be
emotional if it contains at least one entity tagged with an
EmbodiedEmotions label.
Fix batch_add_tags script

Sometimes the .tag files are in a directory with a wrong name (i.e., not
the text id). The script now prints an error message if it can't find
the folia file, because it has an incorrect text id.
Add script to calculate annotation statistics

Added a script that counts the number of annotated entities and
emotional vs. non-emotional sentences.
Update script to write output to file

Updated the folia2dataset_emo_sentences script to accept an additional
command line parameter specifying the directory where the output should
be written to. The script should be used in the batch_do_python script.
Print # of annotations made and annotations added

The kaf2folia script now prints the number of annotations found in the
tag-file and the number of annotations added to the folia file. These
numbers should be the same. This is a basic sanity check to see whether
all manual annotations are added to the folia file.
Update generate_historic_liwc script

The script was updated to save the mapping from modern word to historic
spelling variants. Also, the xml format returned by the lexicon service
changed. The script now extracts the spelling variants from the new xml
standard.
Add json files to gitignore

Added json files to the .gitignore. This data is based on the Dutch LIWC
dictionary (you need a license to use it). Also, it can be generated
again using the script.
Add script to create a historic->modern dictionary

The script takes as input a modern->historic variants dictionary in a
json file (created by the generate_historic_liwc script) and
reverses it to a dictionary that can be used to replace historic words
with their modern variant(s). Currently, the script only prints
statistics about the reversal (e.g., the number of modern and historic
words, frequencies of historic words that map to multiple modern words).