<jupyter_start><jupyter_text>Logica Example: Hello WorldCopy this and other examples to your drive to modify and save them as your own CoLabs.To run Logica in CoLab you need to install the Python package and authoriseGoogle Cloud SDK with your project id.If you do not have a project yet you can [create it here](https://console.cloud.google.com/projectcreate).<jupyter_code>!pip install logica
from logica import colab_logica
from google.colab import auth
auth.authenticate_user()
colab_logica.SetProject('YOUR_PROJECT_ID')
%%logica Greet
Greet(greeting: "Hello world!")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.07154742096505824, 'fraction_numerical': 0.0, 'mean_word_length': 6.525, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, '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}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '18227', 'license': 'Apache-2.0', 'n_tokens_mistral': 187, 'n_tokens_neox': 181, 'n_words': 68, 'path': 'examples/Logica_example_Hello_World.ipynb', 'repo_name': 'CyberFlameGO/logica', 'size': '601'}