<commit_before>Jive SBS Plugin: Script Console
===============================

Run your scripts in Jive SBS administration console.
Scripts can access JiveContext (Spring context) and is very powerful tool.


How to write a script
---------------------

Script must contains one function called run with two parameters (parameters are optional).<commit_msg>Improved readme<commit_after>Jive SBS Plugin: Script Console
===============================

Run your scripts in Jive SBS administration console.
Scripts can access JiveContext (Spring context) and is very powerful tool.

Just go to Jive Admin > System > Management > Scripting Console and run your script.
Script itself is executed in separate thread so you need to refresh to get actual script's output.


How to write a script
---------------------

Script must contains one function called run with two parameters (parameters are optional).
{'fraction_non_alphanumeric': 0.1461794019933555, 'fraction_numerical': 0.0, 'mean_word_length': 4.022222222222222, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '3969046', 'n_tokens_mistral': 205, 'n_tokens_neox': 196, 'n_words': 114}