<commit_before># popularioty-analytics
Umbrella project for the analytics projects for popularioty

Each subproject must be installed with maven, or built with mvn eclipse:eclipse. Start with the commons...

#Requirements

* Hadoop :)<commit_msg>... more readme comments<commit_after># popularioty-analytics
Umbrella project for the analytics projects for popularioty

Each subproject must be installed with maven, or built with mvn eclipse:eclipse. Start with the commons...

#Requirements

* Hadoop :)

#Run

To built the hadoop job execute:
	
	cd popularioty-runtime-analytics/
	mvn clean package
	cd ..

And to run it:

	hadoop jar ./popularioty-runtime-analytics/target/popularioty-runtime-analytics-1.0-SNAPSHOT-job.jar input/ output2/

Where input needs to have a file with some words 




{'fraction_non_alphanumeric': 0.07035175879396985, 'fraction_numerical': 0.0037688442211055275, 'mean_word_length': 4.3133333333333335, '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': '431278', 'n_tokens_mistral': 250, 'n_tokens_neox': 236, 'n_words': 91}