Skip to content

Train char-rnn with Glassdoor reviews and generate sentences

License

Notifications You must be signed in to change notification settings

fcakyon/glassdoor-review-textgenrnn

Repository files navigation

Introduction

This repo lets you train char-rnn with Glassdoor reviews of Aselsan, TAI, Turkcell and Turkish Airlines

Refer to demo notebook for sample usage.

Installation

First, make sure that you're using Python 3.

  1. Clone or download this repository.
  2. Run pip install -r requirements.txt inside this repo. Consider doing this inside of a Python virtual environment.

Usage

Download Glassdoor reviews of any company using glassdoor-review-scraper. Scraped reviews for Aselsan, TAI, Turkcell and Turkish Airlines are provided under data folder as companyname_reviews.csv.

  1. Edit train/generator parameters for desired company, nano aselsan_review_generator.py
  2. Train and generate reviews for desired company, python aselsan_review_generator.py
  3. Generated texts will be saved to textgenrnn_output_path