Please visit the homepage for location and information on open hours


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
What projects are you working on
03-14-2022, 01:25 PM,
#18
RE: What projects are you working on
(03-13-2022, 06:44 PM)Claud Wrote: I've been "following," and I'll use the word loosely cause its not an indepth tutorial but it's a video on YouTube by kalle hallden about making a Google for Joe Rogan. https://youtu.be/UUnAcrzA0nA

Basically everything he's done in that video is my only point of reference as to how to build this project.

Also, your code example would work perfectly for hyperlinking to specific sentences, my only issue is writing the algorithm that would format the vtt file as such. Unless I can skip any conversion process all together and simply have the raw vtt files be searchable. I'm just unsure of how to get the same formatting that a JSON file can give, but to get that with vtt or txt. That's why the conversion seems important to me. But like I said, it's a little out of my wheelhouse which isn't very large in the first place lol

JSON, VTT, the database won't care: it's all text. Some database engines are JSON aware and allow for access to the contained structure, but that's typically slower than raw table access. But if you're storing a bunch of text files in a column, "WHERE transcription LIKE '%UFO%' " will still return all the rows that contain the search text regardless of what format it's in. You could just dump each video into the table with columns like ID, url, name, and transcription and get something super basic going. If you have a mixture of JSON and VTT files, you could even do two columns: fileType and fileContents. Then you just search the file contents and any further processing can reference the fileType so it knows what to expect.

There's a lot you can do with pre-processing the text to get word scores and rank by relevance, but that's the next tier up of development effort.
Reply


Messages In This Thread
What projects are you working on - by srthomas218 - 02-22-2021, 08:37 AM
RE: What projects are you working on - by fossum - 03-03-2021, 10:33 AM
RE: What projects are you working on - by moarMo - 04-08-2021, 12:27 PM
RE: What projects are you working on - by fossum - 04-08-2021, 02:25 PM
RE: What projects are you working on - by gegrez - 05-31-2021, 11:10 AM
RE: What projects are you working on - by gegrez - 05-31-2021, 01:45 PM
RE: What projects are you working on - by moarMo - 09-27-2021, 07:00 AM
RE: What projects are you working on - by shovel - 11-03-2021, 07:56 PM
RE: What projects are you working on - by Claud - 03-10-2022, 05:51 PM
RE: What projects are you working on - by Claud - 03-13-2022, 06:44 PM
RE: What projects are you working on - by ABearden - 03-14-2022, 01:25 PM
RE: What projects are you working on - by Claud - 03-14-2022, 06:55 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)