Skip to content

Instantly share code, notes, and snippets.

View nathanshartmann's full-sized avatar

Nathan Siegle Hartmann nathanshartmann

View GitHub Profile
@erickrf
erickrf / openwordnetpt.py
Last active October 23, 2018 20:53
Functions to access the OpenWordnetPT graph
# -*- coding: utf-8 -*-
'''
Functions to read the OpenWordnetPT from RDF files and provide
access to it.
'''
import rdflib
from six.moves import cPickle