pdjlzs / SarcasmDetection

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#SarcasmDetection

This is the code for the paper :

Meishan Zhang, Yue Zhang, Guohong Fu. Tweet Sarcasm Detection Using Deep Neural Network. In Proceedings of the COLING 2016. 2016.12. ##HOW TO COMPILE THIS PROJECT IN WINDOWS

  • Step 0: Open cmd, and change directory to project directory. Use this command
    cd /your/project/path/SarcasmDetection.
  • Step 1: Create a new directory in SarcasmDetection. For example, use this command mkdir build
  • Step 2: Change your directory. Use this command cd build.
  • Step 3: Build project. Use this command
    cmake .. -DEIGEN3_INCLUDE_DIR=/your/eign/path -DN3L_INCLUDE_DIR=/your/LibN3L-2.0/path.
  • Step 4: Then you can double click "SarcasmDetection.sln" to open this project.
  • Step 5: Now you can compile this project by Visual Studio.
  • Step 6: If you want to run this project.Please open project properties and add this argument.
    -train /your/training/corpus -dev /your/development/corpus -test /your/test/corpus -option /your/option/file -l

##NOTE
Make sure you have eigen ,LibN3L-2.0, cmake and visual studio 2013 version (or newer).

About


Languages

Language:C++ 98.4%Language:CMake 0.9%Language:Shell 0.7%