GithubHelp home page GithubHelp logo

yijingyidong / demo_inpe_covid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from botsdobem/demo_inpe_covid

0.0 0.0 0.0 919 KB

This repo contains code and corpora for the twitter robot-journalists @DaMataNews, @DaMataReporter and @CoronaReporter described at the INLG 2020 paper entitled "DaMata: A Robot-Journalist Covering the Brazilian Amazon Deforestation" and at the ENIAC 2020 paper entitled "Towards Fully Automated News Reporting in Brazilian Portuguese".

Home Page: https://twitter.com/DaMataReporter

License: MIT License

Python 63.44% Jupyter Notebook 36.56%

demo_inpe_covid's Introduction

This repository contains code and corpora for the twitter robot-journalists @DaMataNews, @DaMataReporter and @CoronaReporter. This work was described in the following articles:

DaMata: A Robot-Journalist Covering the Brazilian Amazon Deforestation

INLG 2020 - 13th International Conference on Natural Language Generation
URL: https://www.aclweb.org/anthology/2020.inlg-1.15

Towards Fully Automated News Reporting in Brazilian Portuguese

ENIAC 2020 - XVII Encontro Nacional de Inteligência Artificial e Computacional
DOI: https://doi.org/10.5753/eniac.2020.12158

Requirements

Dependencies to run the code may be installed by the following command:

pip install -r requirements.txt

Database

Non-linguistic data about COVID-19 in Brazil and Deforestation in the Legal Amazon area extracted from the web and stored in a private MongoDB database, accessed by the MongoEngine ORM framework. So in order to run the code, make sure to set up a MongoDB database and update the login info on the db/model.py file. Source data for COVID-19 can be retrieved from Worldometers website and data for Amazon deforestation can be retrieved from INPE Terrabrasilis platform.

Paths

In the paths.py file, you will see the path for several important files, such as the structuring, lexicalization, references grammas as well as the lexicon and the Twitter API login info. In this file, make sure to add the proper files and keys before run the code.

Execution

Once all the dependencies are solved, the robot-journalist can be tested on the Jupyter files covid19.ipynb and deter.ipynb. To be executed on a production environmente, the publisher.py files for COVID-19 and Deforestation can be executed.

demo_inpe_covid's People

Contributors

andrerosalrt avatar pequi-atomico avatar thiagocf05 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.