Skip to content

Instantly share code, notes, and snippets.

View hudsonsferreira's full-sized avatar
:octocat:
Working from home

Hudson Ferreira hudsonsferreira

:octocat:
Working from home
View GitHub Profile
@hudsonsferreira
hudsonsferreira / eisparser.py
Created September 13, 2012 19:14 — forked from waldofe/eisparser.py
A tool to parse eis pattern content from xml documents.
from os.path import join, basename, dirname
from nltk.util import clean_html
from nltk.corpus.reader import PlaintextCorpusReader
from os import system
import re
class EisParser(object):
def __init__(self, path):
self._name = basename(path)