modaresi16

Automatic Author Profiler for PAN2016

https://github.com/pan-webis-de/modaresi16

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Automatic Author Profiler for PAN2016

Basic Info
  • Host: GitHub
  • Owner: pan-webis-de
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 164 KB
Statistics
  • Stars: 7
  • Watchers: 7
  • Forks: 3
  • Open Issues: 0
  • Releases: 0
Created almost 10 years ago · Last pushed about 3 years ago
Metadata Files
Readme License Citation

README.md

Magic

license

Author profiling deals with the study of various profile dimensions of an author such as age and gender. This is the implementation of our methodology proposed for the task of cross-genre author profiling at PAN 2016. We address gender and age prediction as a classification task and approach this problem by extracting stylistic and lexical features for training a logistic regression model.

Highlights

  • First place for gender detection in English at PAN 2016
  • Second place in terms of joint accuracy in English at PAN 2016
  • First place in Spanish at PAN 2016

Dependencies

How to setup the project:

bash cd magic make build

Corpora

It it assumed that two corpora (PAN14 and PAN16) are placed in the corpora folder. See here to get the corpora. The following folder structure is expected: magic │ README.md │ ... │ └───magic ├───corpora ├───cpan14-author-profiling-training-corpus-2014-04-16 ├───pan14-author-profiling-training-corpus-english-blogs-2014-04-16 ├───pan14-author-profiling-training-corpus-english-reviews-2014-04-16 ├───pan14-author-profiling-training-corpus-english-socialmedia-2014-04-16 ├───pan14-author-profiling-training-corpus-english-twitter-2014-04-16 ├───pan14-author-profiling-training-corpus-spanish-blogs-2014-04-16 ├───pan14-author-profiling-training-corpus-spanish-socialmedia-2014-04-16 ├───pan14-author-profiling-training-corpus-spanish-twitter-2014-04-16 ├───pan16-author-profiling-training-corpus-2016-02-29 ├───pan16-author-profiling-training-corpus-dutch-2016-02-29 ├───pan16-author-profiling-training-corpus-english-2016-02-29 ├───pan16-author-profiling-training-corpus-spanish-2016-02-29 If you want to use another folder structure, you have to modify the file pan.py in the parsers module.

Evaluation

bash make run After running the container use the following command to perform evaluations: bash python evaluate.py \ --train_corpus=pan2016/english/twitter/gender \ --test_corpus=pan2014/english/blogs/gender \ --profiler=english-gender-profiler Take a look at evaluate.py. Using different annotations you can run various evaluation settings. Runnig the above command will perform a 10-fold cross validation on the training set and evaluate the profiler on the test set.

Citation

I you want to cite us in your work, please use the following bibtex entry: bash @INPROCEEDINGS{modbeckcon:2016, AUTHOR = {Pashutan Modaresi and Matthias Liebeck and Stefan Conrad}, BOOKTITLE = {Working Notes Papers of the CLEF 2016 Evaluation Labs}, ISSN = {1613-0073}, MONTH = sep, PUBLISHER = {CLEF and CEUR-WS.org}, SERIES = {CEUR Workshop Proceedings}, TITLE = {{Exploring the Effects of Cross-Genre Machine Learning for Author Profiling in PAN 2016}}, YEAR = {2016} }

Owner

  • Name: PAN Shared Task Series
  • Login: pan-webis-de
  • Kind: organization
  • Email: pan@webis.de

Technologies for the Digital Text Forensics

Citation (CITATION.cff)

@INPROCEEDINGS{modbeckcon:2016,
        AUTHOR             = {Pashutan Modaresi and Matthias Liebeck and Stefan Conrad},
        BOOKTITLE          = {Working Notes Papers of the CLEF 2016 Evaluation Labs},
        ISSN               = {1613-0073},
        MONTH              = sep,
        PUBLISHER          = {CLEF and CEUR-WS.org},
        SERIES             = {CEUR Workshop Proceedings},
        TITLE              = {{Exploring the Effects of Cross-Genre Machine Learning for Author Profiling in PAN 2016}},
        YEAR               = {2016}
}

GitHub Events

Total
Last Year