Vive la Petite Différence!

Exploiting Small Differences for Gender Attribution of Short Texts
  • Filip Graliński
  • Rafał Jaworski
  • Łukasz Borchmann
  • Piotr Wierzchoń
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9924)


This article describes a series of experiments on gender attribution of Polish texts. The research was conducted on the publicly available corpus called “He Said She Said”, consisting of a large number of short texts from the Polish version of Common Crawl. As opposed to other experiments on gender attribution, this research takes on a task of classifying relatively short texts, authored by many different people.

For the sake of this work, the original “He Said She Said” corpus was filtered in order to eliminate noise and apparent errors in the training data. In the next step, various machine learning algorithms were developed in order to achieve better classification accuracy.

Interestingly, the results of the experiments presented in this paper are fully reproducible, as all the source codes were deposited in the open platform allows for defining machine learning tasks to be tackled by multiple researchers and provides the researchers with easy access to each other’s results.


Gender attribution Text classification Corpus Common Crawl Research reproducibility 



Work supported by the Polish Ministry of Science and Higher Education under the National Programme for Development of the Humanities, grant 0286/NPRH4/H1a/83/2015: “50,000 słów. Indeks tematyczno-chronologizacyjny 1918–1939”.


  1. 1.
    Argamon, S., Koppel, M., Fine, J., Shimoni, A.R.: Gender, genre, and writing style in formal written texts. TEXT 23, 321–346 (2003)Google Scholar
  2. 2.
    Argamon, S., Koppel, M., Pennebaker, J.W., Schler, J.: Mining the blogosphere: age, gender and the varieties of self-expression. First Mon. 12(9) (2007).
  3. 3.
    Bartle, A., Zheng, J.: Gender Classification with Deep Learning (2015)Google Scholar
  4. 4.
    Buck, C., Heafield, K., van Ooyen, B.: N-gram counts and language models from the common crawl. In: Proceedings of the Language Resources and Evaluation Conference, Reykjavk, Icelandik, Iceland, May 2014Google Scholar
  5. 5.
    Graliński, F., Borchmann, L., Wierzchoń, P.: “He said she said” – male/female corpus of polish. In: Proceedings of the Language Resources and Evaluation Conference LREC 2016 (2016)Google Scholar
  6. 6.
    Heafield, K.: KenLM: faster and smaller language model queries. In: Proceedings of the EMNLP 2011 Sixth Workshop on Statistical Machine Translation, Edinburgh, Scotland, UK pp. 187–197, July 2011.
  7. 7.
    Kivinen, J., Warmuth, M.K.: Additive versus exponentiated gradient updates for linear prediction. In: Proceedings of the Twenty-seventh Annual ACM Symposium on Theory of Computing, STOC 1995, pp. 209–218. ACM, New York (1995).
  8. 8.
    Lakoff, R.: Language and woman’s place. Harper colophon books, Harper & Row (1975).
  9. 9.
    Langford, J., Li, L., Zhang, T.: Sparse online learning via truncated gradient. In: Advances in Neural Information Processing Systems, NIPS 2008, vol. 21, pp. 905–912 (2009)Google Scholar
  10. 10.
    Mukherjee, A., Liu, B.: Improving gender classification of blog authors. In: Proceedings of the 2010 Conference on Empirical Methods in Natural Language Processing, EMNLP 2010, pp. 207–217. Association for Computational Linguistics, Stroudsburg (2010).
  11. 11.
    Sarawgi, R., Gajulapalli, K., Choi, Y.: Gender attribution: tracing stylometric evidence beyond topic and genre. In: Proceedings of the Fifteenth Conference on Computational Natural Language Learning, CoNLL 2011, pp. 78–86. ACL, Stroudsburg (2011).
  12. 12.
    Schler, J., Koppel, M., Argamon, S., Pennebaker, J.: Effects of age and gender on blogging. In: Proceedings of AAAI Spring Symposium on Computational Approaches for Analyzing Weblogs, March 2006Google Scholar
  13. 13.
    Schmid, H.: Probabilistic part-of-speech tagging using decision trees. In: Proceedings of the International Conference on New Methods in Language Processing, vol. 12, pp. 44–49 (1994)Google Scholar
  14. 14.
    Yan, X., Yan, L.: Gender classification of weblog authors. In: Proceedings of the AAAI Spring Symposia on Computational Approaches, pp. 27–29 (2006)Google Scholar

Copyright information

© Springer International Publishing Switzerland 2016

Authors and Affiliations

  • Filip Graliński
    • 1
  • Rafał Jaworski
    • 1
  • Łukasz Borchmann
    • 1
  • Piotr Wierzchoń
    • 1
  1. 1.Adam Mickiewicz University in PoznańPoznańPoland

Personalised recommendations