GithubHelp home page GithubHelp logo

Comments (1)

malcolmseyd avatar malcolmseyd commented on August 17, 2024

Done, see VikeLabs/lecshare-api@7b5a377 and VikeLabs/lecshare-api@824ec8b

Amazon's JSON file had a lot of unneeded data so I decided to make the output format different. I accomplished this by unmarshalling to an intermediate struct and then copying the values that I wanted to another struct. The new graphql output looks like this:

{
  "transcripts": [
    "we generate a new schedule during the following. First we go into the schedule view, which is the current view, and we generate a new schedule done on the button below. Here we select our time. Period or time? Interval. We hit generating you schedule. But first, we must select and resolve these issues. Conflicts we have was down below here We slept, Lisa, to fill in the position where the system is unable to automatically find a worker. Once the conflicts have been resolved, no conflicts found we can hit, generate schedule. And then yes, we want to generate the schedule. And then after this, we're done."
  ],
  "words": [
    {
      "word": "we",
      "type": "pronunciation",
      "starttime": "1.46",
      "endtime": "1.59"
    },
    {
      "word": "generate",
      "type": "pronunciation",
      "starttime": "1.59",
      "endtime": "1.9"
    },
    {
      "word": "a",
      "type": "pronunciation",
      "starttime": "1.91",
      "endtime": "1.98"
    }
  ]
}

Speaking of which, AWS Transcribe counts punctuation as words but have no start/end time so they can be null. Frontend people should look out for this:

{
  "word": ",",
  "type": "punctuation",
  "starttime": null,
  "endtime": null
}

from lecshare.

Related Issues (20)

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.