GithubHelp home page GithubHelp logo

aiucd / aiucd2020 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rodighiero/aiucd2020

0.0 1.0 0.0 44.62 MB

Cartography of AIUCD 2020 available at

Home Page: https://rodighiero.github.io/AIUCD2020/

License: GNU General Public License v3.0

JavaScript 91.14% HTML 3.95% CSS 4.91%

aiucd2020's Introduction

Lexical Network

This visualization represents a map of individuals starting from their documents. It is based on the idea that authors can be described using their documents and that the vocabulary that authors share is an efficient way to draw a space. Individuals that make use of the same terms are situated nearby, beyond any social distance. The result is a continuo lexical space composed of individuals and terms.

The project is available at this URL https://rodighiero.github.io/LexicalNetwork/

To run the visualization on your local host

Clone the repository, which is built with JavaScript and Node. Then install the needed libraries by typing: npm install

The project can be tested on the local host by using npm run start and opening this URL in your browser. The project can also be built typing npm run build

Currently the project hosts two datasets, one of MIT thesis presenting the cartography of advisors, and one associated to the Digital Humanities Conference 2019. Both of them can be imported from the data folder typing:
node import-DH2019 or node import-MIT

The import sores in the same folder a file called docs.json that contains the documents in this way:

  {
    "id":
    "title":
    “body”: 
    “authors”: []]
  }

The docs.json is then loaded and parsed using analysis.js, that collects texts by author and runs text analysis to compute the lexical distance. To run the analysis type:
node analysis

The analysis produced the authors.json, which is an array of objects composed in this form:

{
    "id":  
    "docs":  
    [ 
    "tokens": {
        “token”: value,
    }
},

Furthermore the analysis creates also the network used for rendering, which is composed of nodes.js and links.js

aiucd2020's People

Contributors

rodighiero avatar

Watchers

 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.