Giter Site home page Giter Site logo

rosequ / rts18 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 18.5 MB

TREC-RTS18 code

License: Apache License 2.0

Python 1.01% Java 38.94% CSS 1.18% HTML 2.08% JavaScript 13.38% Batchfile 1.42% Objective-C 37.11% C 0.30% Shell 0.49% C++ 1.20% C# 2.60% QML 0.22% Ruby 0.06%

rts18's Introduction

TREC Real-Time Summarization Tools

Herein we detail the various tools to be used in the course of the TREC 2016 Real-Time Summarization track.

The track coordinators envision the interaction model outlined in rts-arch/trecrtstwitter.pdf

TREC participants write clients that interact with a broker run by the coordinators. This broker manages all communication with mobile assessors (i.e., humans with the mobile assessing application on their phone). The assessments rendered by the participants are then made available to the clients through a pull request.

Note that for the mobile assessment application and the broker, participants should not run their own!

Details for the Broker API can be found here[https://github.com/aroegies/trecrts-tools/tree/master/trecrts-server].

Broker Server (NOTE: Participants do not run this -- Track Coordinators do)

Requirements

  • Node.js v5.0.0+
  • npm v3.3.6+
  • MySQL Server v5.5+

Installation

  • Standard Node.js install procedure, run npm install from trecrts-server
    • You will need to supply a push_auths.js in trecrts-server/routes which exports the relevant gcm server details from the Google Developer console
  • MySQL setup is relatively straightforward
    • Create a trec_rts database
    • Load the template from trecrts-server/rts.db.template into the DB
    • Add appropriate group identifiers to the groups table
    • Add any new topics to the topics table and creating the corresponding judgements table and seen table for the topic based upon the judgements_template table and seen_template respectively
      • For example, create table judgements_MBFoo like judgements_template; and create table seen_MBFoo like seen_template;

Running the Broker

  • Standard Express.js invocation, npm start
    • As usual, you may supply a PORT argument beforehand to change the connecting port (e.g., PORT=10101 npm start)

Notes

  • The broker comes supplied with a web app, located at hostname:port/index.html, that connects to the broker to simulate the mobile assessor interface in the web browser. This may be more convenient for testing clients than deploying to phones.
    • Web app assessments are functionally annonymous

Mobile Assessment App (NOTE: Participants do not run this -- Track Coordinators do)

Requirements

Cordova v5.2+ Android device (currently, iOS soon)

Installation

Standard Cordova installation procedure:

Notes

  • If you want to use the mobile app with your own server you will need to edit the index.js file to point to the appropriate GCM service and the broker API host/port.

Participant Clients

trecrts-clients/ contains several simple client implementations to provide simple examples of how a RTS system might work. These examples have been structured to facilitate plug-and-play and so should not require many dependencies (e.g., complex machine learning packages).

A more meaningful example can be found in the Anserini[https://github.com/lintool/Anserini] project.

rts18's People

Contributors

salman1993 avatar aroegies avatar rosequ avatar lintool avatar

Watchers

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