Skip to content

Instantly share code, notes, and snippets.

View sauljabin's full-sized avatar
🪐
looking at the sky

Saúl Piña sauljabin

🪐
looking at the sky
  • LittleHorse Enterprises LLC
  • Quito, Ecuador
View GitHub Profile
@briandk
briandk / install-texlive-without-docs.py
Created July 20, 2016 20:55
Instal a full latex texlive on Ubuntu Xenial without any of the docs
import subprocess
get_line_by_line_texlive_dependencies = subprocess.run(
[
"apt-cache",
"depends",
"texlive-full"
],
universal_newlines=True,
stdout=subprocess.PIPE
@johnmiedema
johnmiedema / RecognizeNamesOpenNLPNameFinder
Last active August 9, 2018 08:42
Recognize names using OpenNLP NameFinder
package demoNameFind;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import opennlp.tools.namefind.NameFinderME;
import opennlp.tools.namefind.TokenNameFinderModel;
import opennlp.tools.tokenize.Tokenizer;
import opennlp.tools.tokenize.TokenizerME;
# coding=UTF-8
from __future__ import division
import nltk
import re
import requests
# Add your freebase key here
# If you don't have one, register at https://code.google.com/apis/console
FREEBASE_KEY = ""