Code Monkey home page Code Monkey logo

etk's Introduction

ETK: Information Extraction Toolkit

ETK is a Python library for high precision information extraction from many document formats. It proivdes a flexible framework of composable extractors that enables you to combine a host of predefined extractors provided in ETK with custom extractors that you may need to develop for your application. It supports extraction from HTML pages, text documents, CSV and Excel files and JSON documents. ETK is open-source software, released under the MIT license.

MIT License travis ci

Documentation

Read the documentation here

Features

  • Extraction from HTML, text, CSV, Excel, JSON
  • High-precision predefined extractors for common entities (dates, phones, email, cities, ...)
  • Extraction of microdata, schema.org and RDFa markup
  • Integration with spaCy for text processing
  • Automatic identification and extraction of HTML tables containing data
  • Automatic identification and extraction of time series
  • Semi-automatic generation of Web wrappers
  • Scalable execution and management of extraction pipelines
  • Automatic provenance recording

Releases

Installation

Operating system:macOS / OS X, Linux, Windows
Python version:Python 3.6+

Install using pip

pip install etk

OR

You can also install ETK Manually. Clone or fork this repository, open a terminal window and in the directory where you downloaded ETK type the following commands

python3 -m venv etk2_env
source etk2_env/bin/activate
pip install -e .

Load the spacy modules

python -m spacy download en_core_web_sm
python -m spacy download en_core_web_lg (optional)

Note: If the above commands fail with s SSL error, run this:

python -m spacy download en_core_web_sm-2.0.0 --direct

To deactivate this virtual environment

deactivate

Run Tests

python -m unittest discover

Run ETK CLI

ETK needs to be installed as python package.

python -m etk <command> [options]

For example:

python -m etk regex_extractor "a.*c" "abcd"

Docker

Build image

docker build -t etk:test .

Run container

docker run -it etk:dev /bin/bash

Mount local volume for test

docker run -it -v $(pwd):/app/etk etk:dev /bin/bash

etk's People

Contributors

saggu avatar rqs avatar greatyyx avatar szeke avatar fatestigma avatar linqyd avatar dhvanan avatar lastmansleeping avatar muthurajendran avatar vinayraod avatar jiayuanding100 avatar lituta avatar anikajai avatar xkgoodbest avatar majidghgol avatar puuj avatar ljferrer avatar elmaestro08 avatar darkshadows123 avatar arunkumar-ra avatar jpegah avatar rongpenl avatar dkapoor avatar nfultz avatar filievski avatar mattprice09 avatar bhavyagulati avatar iameeth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.