Skip to content

Instantly share code, notes, and snippets.

View popigg's full-sized avatar
🏠
Working from home

Pablo Gomez Guerrero popigg

🏠
Working from home
View GitHub Profile
@popigg
popigg / aubioHelper.swift
Last active March 15, 2022 06:44
aubio MFCC extractor swift
import Foundation
import aubio
class AubioHelper {
private let audioCapacity = 24000
private let hop_size: uint_t = 1024
private let win_size: uint_t = 4096
private let buf_size: uint_t = 4096
private let n_filters: uint_t = 40
import string
from nltk.metrics import *
import enchant
KEYWORD = 'agua'
NAMES = []
LEV_DISTANCE = 2
def permutations(start_word):
const {actionssdk} = require('actions-on-google');
const express = require('express');
const bodyParser = require('body-parser');
const rp = require('request-promise');
// get this url from publish section in luis.ai
const LUIS_URL = '<YOUR LUIS URL>';
const app = actionssdk({debug: true});
{
"actions": [
{
"description": "Default Welcome Intent",
"name": "MAIN",
"fulfillment": {
"conversationName": "myWebhook"
},
"intent": {
"name": "actions.intent.MAIN"
Verifying that +popigg is my blockchain ID. https://onename.com/popigg