GithubHelp home page GithubHelp logo

cherrypiecoco / begin_anew Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sbma44/begin_anew

0.0 0.0 0.0 95 KB

scripts to help create the Affective Norms for English Words dataset from a PDF

Shell 17.97% Python 82.03%

begin_anew's Introduction

This collection of scripts is designed to facilitate the creation of a usable copy of the Affective norms for English words (ANEW) dataset.

ANEW is offered for free by its creators, but only to other researchers. They won't even give it to students.  I think this is pretty lame.

Fortunately, their 1999 paper on ANEW contains all the information necessary to generate the dataset, and it is widely and freely available as a PDF. These scripts automate the process of converting that PDF into a CSV file, which can be easily used by various automated tools.

It's likely that ANEW has been modified, expanded and improved since 1999.  It would be nice if its authors were more forthcoming with it.

=====

USAGE:

To generate CSV copies of the Affective Norms for English Words (ANEW) system, perform the following steps on a unix-like system:

1. Install XPDF Tools (http://www.foolabs.com/xpdf/), including the pdftotext command line tool. Make sure it's available in your path.

2. Obtain a copy of the following PDF:

  Bradley, M.M., & Lang, P.J. (1999). Affective norms for English words (ANEW): Instruction manual and affective ratings. Technical Report C-1, The Center for Research in Psychophysiology, University of Florida.

(the MD5 of my copy is 36d181722f555ad4ea033a1db069611a)

3. Place the PDF in the directory with README.txt.  Make sure it's named ANEW.pdf (capitalization matters).

4. From the same directory, run the file begin_anew.sh.  For example:

    prompt> sh begin_anew.sh
    
That's it!  New CSV files named female.csv, male.csv and all.csv should now be present in the working directory.

=====

NOTES ON USING ANEW:

What do I look like, a social scientist?  Well, I'm not.  But there are many papers that show how to use ANEW.  Here's one now!

http://www.springerlink.com/content/757723154j4w726k/fulltext.html

Good luck!

begin_anew's People

Contributors

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