Code Monkey home page Code Monkey logo

Comments (3)

hrishikeshrt avatar hrishikeshrt commented on September 13, 2024

Currently data.json is of the form,


{
    'data': [
        {
            'key': 'text-used-to-refer-to-the-file', 
            'name': 'name displayed in the corpus list',
            'audio_url': 'url that will be used as is (can still be relative',
            'word_alignment': 'path to the file containing word alignment',
            'sentence_alignment': 'path to the file containing sentence alignment, unused'
        }, ...

    ]
}

There's scope for adding corpus details such as name, description etc in the top-level, (currently the name is "deduced" in the flask file as the parent directory name of the data.json (which is a bit clumsy).

Adding new data is basically equivalent to adding a new directory at the top level (besides others such as ramayana, meghaduta, and a data.json file inside them.

I'll put this tentative information in a README later.

The entire process can be definitely made smoother, such as,

  • Specifying a data directory which will contain corpora (instead of taking "parent directory of the server directory"
  • Corpus name / Description (tweaking front-end for this display)
  • Perhaps a way to go to "next" or "previous" corpus

from audio_alignment.

hrishikeshrt avatar hrishikeshrt commented on September 13, 2024

PR #4 handles this for the most part

from audio_alignment.

avinashvarna avatar avinashvarna commented on September 13, 2024

Closed via PR #4

from audio_alignment.

Related Issues (8)

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.