Skip to content

Instantly share code, notes, and snippets.

View twelvearrays's full-sized avatar

Matthew Schulz twelvearrays

View GitHub Profile
@adamsmith
adamsmith / apple_voice_memo_handler.py
Last active March 22, 2024 22:16
Automated Apple Notes transcription to Markdown file
import os
import datetime
import json
import pathlib
import secrets
import sqlite3
import subprocess
import time
# Description: This code continuously polls for new Apple Voice Memos. When a new one is found, it is transcribed using
@georgwiese
georgwiese / universal_sentence_encoder_featurizer.py
Last active September 6, 2022 15:37
Universal Sentence Encoder Featurizer
""" Enhancing Intent Classification with the Universal Sentence Encoder:
https://medium.com/scalableminds/enhancing-intent-classification-with-the-universal-sentence-encoder-ecbcd7a3005c
"""
from rasa_nlu.featurizers import Featurizer
import tensorflow_hub as hub
import tensorflow as tf