Skip to content

Instantly share code, notes, and snippets.

View alelom's full-sized avatar

Alessio Lombardi alelom

View GitHub Profile
import spacy
from collections import Counter, defaultdict
import srsly
from datetime import datetime
import pandas as pd
counts = defaultdict(Counter)
nlp = spacy.load(SPACY_MODEL)
data = srsly.read_jsonl(DATA_FILE)
@alelom
alelom / test.ghx
Last active February 6, 2023 12:25
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Archive name="Root">
<!--Grasshopper archive-->
<!--Grasshopper and GH_IO.dll are copyrighted by Robert McNeel & Associates-->
<!--Archive generated by GH_IO.dll file utility library {0.2.0002}-->
<items count="1">
<item name="ArchiveVersion" type_name="gh_version" type_code="80">
<Major>0</Major>
<Minor>2</Minor>
<Revision>2</Revision>
2024-05-16T20:26:25.614485674Z ghost 20:26:25.61 INFO  ==>
2024-05-16T20:26:25.616222463Z ghost 20:26:25.61 INFO  ==> Welcome to the Bitnami ghost container
2024-05-16T20:26:25.619244003Z ghost 20:26:25.61 INFO  ==> Subscribe to project updates by watching https://github.com/bitnami/containers
2024-05-16T20:26:25.622782931Z ghost 20:26:25.62 INFO  ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
2024-05-16T20:26:25.625825039Z ghost 20:26:25.62 INFO  ==> Upgrade to Tanzu Application Catalog for production environments to access custom-configured and pre-packaged software components. Gain enhanced features, including Software Bill of Materials (SBOM), CVE scan result reports, and VEX documents. To learn more, visit https://bitnami.com/enterprise
2024-05-16T20:26:25.6344