<commit_before>Compile
-------

$ mvn clean install

Run
---

$ mvn exec:java -Dexec.mainClass=org.civio.galparl.Main
<commit_msg>Add more instructions to README<commit_after>Compile
-------

$ mvn clean install

Run
---

First, import files in data/ into HBase

$ mvn exec:java -Dexec.mainClass=org.civio.galparl.Main -Dexec.args="--import"

As a result, the table parlament-entries is created and all the data is loaded into it.

Now run any of the 3 available jobs:

   * build-index. Creates an index of in which entries appears a certain word. Filesystem output.
   * word-count. Counts all words. Filesystem output.
   * word-count-hbase. Counts all the words. Output is stored in table __ in HBase.

For instace, to run _word-count_:

$ mvn exec:java -Dexec.mainClass=org.civio.galparl.Main -Dexec.args="--word-count"

{'fraction_non_alphanumeric': 0.11151515151515151, 'fraction_numerical': 0.0012121212121212121, 'mean_word_length': 3.3703703703703702, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '7186798', 'n_tokens_mistral': 286, 'n_tokens_neox': 272, 'n_words': 93}