Giter Site home page Giter Site logo

inca's Introduction

INCA AIMS

INCA aims to provide a bundle of scraping and analysis functionalities for social scientists. The main goals are to facilitate

  1. Data collection from websites and social media.
  2. Basic processing, such as tokenizing, lemmatizing, POS-tagging, NER
  3. Some analyses such as machine learning or time series analysis

INCA USAGE

INCA is currently under heavy development. We cannot guarantee that it works as expected.

For those brave enough:

Direct pip-install, because it's easy (not for development)

pip install git+https://github.com/uvacw/inca.git

Starting INCA using Docker containers

This is the most basic setup for inca in self-built container, without linking it to Elasticsearch.

  1. Starting Elasticsearch for data storage
docker run -it \
  -p 9200:9200 \
  -p 9300:9300 \
  -e "discovery.type=single-node" \
  --name=inca-elastic \
  docker.elastic.co/elasticsearch/elasticsearch:6.8.5
  1. Building the INCA container ...
cd path/to/folder/inca
docker build -t inca .
  1. Run the container
# first time
docker run --name test-inca -it inca python
# thereafter
docker start test-inca
docker attach test-inca

Starting INCA directly on your machine ('bare metal')

Please have a look at the documentation in the inca/doc/ folder.

... and/or use the following to quickly install inca:

  • Make sure you have the Java Runtime environment, because Elasticsearch (see next step) cannot be installed without. On Ubuntu, you can just do sudo apt-get install default-jre.
  • Install Elasticsearch 6. You can find instructions here: https://www.elastic.co/guide/en/elasticsearch/reference/current/install-elasticsearch.html
  • Make sure you have the python3-dev package and the python3-tk package installed (sudo apt-get install python3-dev python3-tk) as well as a c compiler (sudo apt-get install g++).
  • Make sure you have pip3 (sudo apt install python3-pip) and setuptools installed (sudo pip3 install setuptools)
  • Then:
pip3 install git+https://github.com/uvacw/inca.git
  • If you want to use pattern for preprocessing, also do:
sudo apt-get install libmysqlclient-dev
sudo pip3 install pattern

inca's People

Contributors

bobvdvelde avatar damian0604 avatar annekroon avatar feloe avatar mariekevh avatar tamarafelicity avatar lisadk93 avatar theoaraujo avatar dirtyjackeen avatar pmitra01 avatar boromir674 avatar chamoetal avatar arno12 avatar nickma101 avatar sebascole avatar jaerli avatar laurasav avatar jelleboumans avatar noellelebe avatar dependabot[bot] avatar

Watchers

James Cloos 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.