<commit_before>Plugins
=======

How to get plugins
------------------

You can find plugins in the [official app repository](https://github.com/walterbender/turtleblocksjs/plugins).
The plugins are identified by the extension <code>**.json**</code>
You need to download the plugins for load it.
[(In this guide I will use this plugin)](https://github.com/walterbender/turtleblocksjs/blob/master/plugins/translate.json)

> NOTE: You need to download the "raw" plugin by clicking on the "Raw"
> link on the .JSON file page. In other words, don't download
> <code>
> https://github.com/walterbender/turtleblocksjs/blob/master/plugins/gmap.json
> </code>,
> but do download
> <code>
> https://raw.githubusercontent.com/walterbender/turtleblocksjs/master/plugins/gmap.json
> </code>.
>
> If you see the error message "Syntax Error: unexpected <" it means you
> probably did not download the "raw" plugin.

![Nutrition Plugin](https://github.com/walterbender/turtleblocksjs/raw/master/screenshots/foodplugin.png "The Nutrition plugin")

How to load plugins
-------------------

On the Settings Palette found on the Option Toolbar (click it if it is
not expanded) you will see this option:

<img src='http://people.sugarlabs.org/walter/plugin-button.svg'><commit_msg>Readme.md (#332)<commit_after>Plugins
=======

How to get plugins
------------------

You can find plugins in the [official app repository](https://github.com/walterbender/turtleblocksjs/plugins).
The plugins are identified by the extension <code>**.json**</code>
You need to download the plugins to load it.
[(In this guide I will use this plugin)](https://github.com/walterbender/turtleblocksjs/blob/master/plugins/translate.json)

> NOTE: You need to download the "raw" plugin by clicking on the "Raw"
> link on the .JSON file page. In other words, don't download
> <code>
> https://github.com/walterbender/turtleblocksjs/blob/master/plugins/gmap.json
> </code>,
> but do download
> <code>
> https://raw.githubusercontent.com/walterbender/turtleblocksjs/master/plugins/gmap.json
> </code>.
>
> If you see the error message "Syntax Error: unexpected <" it means you
> probably did not download the "raw" plugin.

![Nutrition Plugin](https://github.com/walterbender/turtleblocksjs/raw/master/screenshots/foodplugin.png "The Nutrition plugin")

How to load plugins
-------------------

On the Settings Palette found on the Option Toolbar (click it if it is
not expanded) you will see this option:

<img src='http://people.sugarlabs.org/walter/plugin-button.svg'>
{'fraction_non_alphanumeric': 0.14750198255352895, 'fraction_numerical': 0.0011895321173671688, 'mean_word_length': 4.096969696969697, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 41, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5477875', 'n_tokens_mistral': 780, 'n_tokens_neox': 751, 'n_words': 246}