<commit_before>Install all depending gems for tessdata gem listed in tessdata/lib/tess_api.rb. For example:

`gem install inifile`
`gem install net/http`
...

Then install the tessdata gem from the root directory:
`sh build.sh`

From the root directory copy the example_uploader_config.txt into uploader_config.txt and configure to suit your environment.

Run scraper with:
`ruby scraper_name.rb`
<commit_msg>More tweaks to instructions in README.<commit_after>Install all depending gems for tessdata gem listed in tessdata/lib/tess_api.rb. For example:


`gem install inifile`


`gem install net/http`


...

Then install the tessdata gem from the root directory:


`sh build.sh`

From the root directory copy the example_uploader_config.txt into uploader_config.txt and configure to suit your environment.

Run scraper with:


`ruby scraper_name.rb`

{'fraction_non_alphanumeric': 0.06455399061032864, 'fraction_numerical': 0.0, 'mean_word_length': 4.6866666666666665, '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': '5273562', 'n_tokens_mistral': 267, 'n_tokens_neox': 257, 'n_words': 103}