Git Product home page Git Product logo

vlawe-boswe's Introduction

Code for VLAWE and BOSWE

Code for computing VLAWE [Ionescu et al., NAACL 2019] and BOSWE [Butnaru et al., KES 2017] representations.

1. License agreement

Copyright (C) 2019 Radu Tudor Ionescu, Andrei M. Butnaru

This package contains free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program (see COPYING.txt package file). If not, see http://www.gnu.org/licenses/.

2. Citation

Please cite the corresponding works [1,2] if you use this software (or a modified version of it) in any scientific work:

[1] Radu Tudor Ionescu, Andrei M. Butnaru. Vector of Locally-Aggregated Word Embeddings (VLAWE): A Novel Document-level Representation. In Proceedings of NAACL, 2019.

[2] Andrei M. Butnaru, Radu Tudor Ionescu. From Image to Text Classification: A Novel Approach based on Clustering Word Embeddings. In Proceedings of KES, 2017.

Bibtex:

@inproceedings{ Ionescu-NAACL-2019,
	author = {{Radu Tudor} Ionescu and Andrei Butnaru},
	title = "{Vector of Locally-Aggregated Word Embeddings (VLAWE): A Novel Document-level Representation}",
	booktitle = {Proceedings of NAACL},
	year = {2019},
}

@inproceedings{ Butnaru-KES-2017,
	author = {Andrei Butnaru and {Radu Tudor} Ionescu},
	title = "{From Image to Text Classification: A Novel Approach based on Clustering Word Embeddings}",
	booktitle = {Proceedings of KES},
	year = {2017},
	pages = {1784--1793},
}

3. Usage

This MATLAB code can be used to reproduce the results from the works [1,2] from above. Before running the code, you need to install the following dependencies:

After installing the above frameworks, proceed as following:

  1. Extract the GloVe word vectors from each text document and save the results in the "code/data" subfolder. The output for each text document should be written in a different .txt file. The output file should contain comma separated values with one word vector per line.
  2. Run the following script in MATLAB:
>> runAll

4. Feedback and suggestions

Send an e-mail to: raducu[dot]ionescu{at}gmail[dot].com

vlawe-boswe's People

Contributors

raduionescu avatar

Stargazers

kobako avatar Henry Tseng avatar kedaya avatar libotao avatar Bin Wang avatar  avatar Kelvin Lockwood avatar Yiran Wang avatar jerad fields avatar Tiberiu Ichim avatar

Watchers

 avatar Suryatapa Roy avatar paper2code - bot avatar

Forkers

butnaruandrei

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.