<commit_before>.. Copyright (c) 2017, <NAME>
.. All rights reserved.

Raspberry Pi
------------

.. seealso::

  * `Official <https://www.raspberrypi.org/>`__
  * `Hardware Guide <https://www.raspberrypi.org/learning/hardware-guide/>`__
  * `Formatting SDCard <https://www.raspberrypi.org/documentation/installation/sdxc_formatting.md>`__
  * `Download Software <https://www.raspberrypi.org/downloads/noobs/>`__<commit_msg>Docs: Install tools on Raspberry Pi<commit_after>.. Copyright (c) 2017, <NAME>
.. All rights reserved.

Raspberry Pi
------------

.. seealso::

  * `Official <https://www.raspberrypi.org/>`__
  * `Hardware Guide <https://www.raspberrypi.org/learning/hardware-guide/>`__
  * `Formatting SDCard <https://www.raspberrypi.org/documentation/installation/sdxc_formatting.md>`__
  * `Download Software <https://www.raspberrypi.org/downloads/noobs/>`__
  * `What password to use to log in after the first boot? <https://raspberrypi.stackexchange.com/q/660/70510>`__

Instructions for `Raspbian <https://www.raspberrypi.org/downloads/raspbian/>`__:

.. code-block:: none
  :emphasize-lines: 3

  > lsb_release -a
  No LSB modules are available.
  Distributor ID: Raspbian
  Description:    Raspbian GNU/Linux 8.0 (jessie)
  Release:        8.0
  Codename:       jessie


.. code-block:: none

  > sudo apt-get install python3
  > sudo apt-get install g++
  > sudo apt-get install cmake

Use ``gcc`` toolchain, e.g.:

.. code-block:: none

  > polly.py --toolchain gcc --verbose --config Release
{'fraction_non_alphanumeric': 0.16169648774022533, 'fraction_numerical': 0.0145791915175613, 'mean_word_length': 3.415204678362573, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 20, 'https://': 10, 'lorem ipsum': 0, 'www.': 9, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 5, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6623900', 'n_tokens_mistral': 567, 'n_tokens_neox': 514, 'n_words': 113}