Giter VIP home page Giter VIP logo

sag's Introduction

SAG

This is the source code of SAG, which is used to extract the video tags from time-sync comments by a semantic associate graph (SAG). This program can be run by mingw32-g++ compiler (Code::Blocks IDE 16.01) under Windows. We provide sample data with 239 time-sync comments for debugging.

Input File

sentence_vector: The folder contains the sentence vector of time-sync comments. The suffix of the file in sentence_vector should be ".txt". In the sample data, the "sample.txt" contains 2*239 lines. Each time-sync comment in sample data contains two lines. The first line contains the timestamp and a time-sync comment. And the second line contains the 200-dimensional sentence vector. In this paper,

word_segmentation: The folder contains the participle results of time-sync comments with part of speech. The suffix of the file in sentence_vector should be ".txt". The file name in “word_segmentation” must be same in "sentence_vector". In the sample data, the "sample.txt" contains 239 lines. Each time-sync comment in sample data contains one line: Chinese word segmentation results (including part of speech).

idf2.txt: The word IDF scores.

Output File

result: The folder contains the results of video tag extraction.

program

dialogue.cpp: The model with dialogue-based cluster algorithm.

topic_center.cpp: The model with topic center-based cluster algorithm.

A detailed explanation of the programs can be found in the program annotation.

Notice

This program only supports running under the Windows operating system. The full data set for the experiment could not be published due to copyright reasons. You can email [email protected] to request part of the data.

sag's People

Contributors

sdq11111 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.