https://github.com/nicolay-r/attitude-extraction-with-frames
Source code for LREC'2020 paper [rejected paper]
https://github.com/nicolay-r/attitude-extraction-with-frames
frames relation-extraction sentiment-analysis
Last synced: 8 months ago
JSON representation
Source code for LREC'2020 paper [rejected paper]
- Host: GitHub
- URL: https://github.com/nicolay-r/attitude-extraction-with-frames
- Owner: nicolay-r
- License: mit
- Created: 2019-12-02T21:18:04.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T09:42:07.000Z (over 5 years ago)
- Last Synced: 2025-06-15T11:55:18.542Z (about 1 year ago)
- Topics: frames, relation-extraction, sentiment-analysis
- Language: Python
- Homepage:
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# attitude-extraction-with-frames

> **UPD 17'th Decembed, 2020**: Fixed bug in results [evaluation code](https://github.com/nicolay-r/attitude-extraction-with-frames/issues/1)
the latter may cause effect with 1.0 prec/recall values for such documents that lacks of neutral attitudes in output labeling.
> Description to be updated.
# Contents
* [Dependencies](#dependencies)
* [Installation](#installation)
* [Experiments Reproduction](#how-to-run-experiments)
## Dependencies
List of the toolset dependencies are as follows:
* Python 2.7
* [AREkit](https://github.com/nicolay-r/AREkit) -- a toolset for sentiment attitudes extraction task
(checkout [Installation](#installation) section for details);
## Installation
Includes three steps:
* Clone this repository:
```
git clone https://github.com/nicolay-r/attitude-extraction-with-frames
```
* install [AREkit](https://github.com/nicolay-r/AREkit)
as a dependency in `core` directory:
```
cd attitude-extraction-with-frames
git clone -b 0.19.3-lrec-rejected-rc https://github.com/nicolay-r/AREkit core
```
* install data dependencies:
```
cd data
./install.sh
```
## How to Reproduce Experiments
* Select the experiment type:
* `classic` -- is an application of
[RuSentRel](https://github.com/nicolay-r/RuSentRel)
only for training.
* `rusentrel_ds` -- is an application of [RuSentRel](https://github.com/nicolay-r/RuSentRel) and [RuAttitudes](https://github.com/nicolay-r/RuAttitudes)
datasets for training.
```
# experiment type #1
cd rusentrel/classic/ctx
# experiment type #2
cd rusentrel/rusentrel_ds/ctx
```
* Run one of the following experiment:
```
python bilstm.py
python cnn.py
python lstm.py
python pcnn.py
```