Git Product home page Git Product logo

chafa618 / pln-uba2018 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pln-famaf/pln-uba2018

0.0 1.0 0.0 11 KB

Repositorio para la realización de los Trabajos Prácticos de la materia Procesamiento de Lenguaje Natural, dictada en febrero de 2018 en el marco del Programa de Profesores Visitantes del Departamento de Computación de la UBA.

Home Page: https://cs.famaf.unc.edu.ar/wiki/materias/pln/uba2018

Python 100.00%

pln-uba2018's Introduction

Procesamiento de Lenguaje Natural - UBA 2018

Instalación

  1. Se necesita el siguiente software:

    • Git
    • Pip
    • Python 3.4 o posterior
    • TkInter
    • Virtualenv

    En un sistema basado en Debian (como Ubuntu), se puede hacer:

    sudo apt-get install git python-pip python3 python3-tk virtualenv
    
  2. Crear y activar un nuevo virtualenv. Recomiendo usar virtualenvwrapper. Se puede instalar así:

    sudo pip install virtualenvwrapper
    

    Y luego agregando la siguiente línea al final del archivo .bashrc:

    [[ -s "/usr/local/bin/virtualenvwrapper.sh" ]] && source "/usr/local/bin/virtualenvwrapper.sh"
    

    Para crear y activar nuestro virtualenv:

    mkvirtualenv --system-site-packages --python=/usr/bin/python3 pln
    
  3. Bajar el código:

    git clone https://github.com/PLN-FaMAF/PLN-UBA2018.git
    
  4. Instalarlo:

    cd PLN-UBA2018
    pip install -r requirements.txt
    

Ejecución

  1. Activar el entorno virtual con:

    workon pln
    
  2. Correr el script que uno quiera. Por ejemplo:

    python languagemodeling/scripts/train.py -h
    

Testing

Correr nose:

nosetests

Chequear Estilo de Código

Correr flake8 sobre el paquete o módulo que se desea chequear. Por ejemplo:

flake8 languagemodeling

pln-uba2018's People

Contributors

francolq 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.