Skip to content

marionbartl/NeuTralRewriter

 
 

Repository files navigation

NeuTralRewritter

  1. Given data we need to extract a stratified subset with pronouns To do so run: python createtestset.py -i [INPUTFILE] -o [OUTPUTFILE] -t [COUNTOFPRONOUNS] where [INPUTFULE] is the data file containing all your data, [OUTPUTFILE] is where you want to keep the extracted sentences and [COUNTOFPRONOUNS] is the total amount of pronouns that you would like to have.

Make sure the INPTUFILE contains tokenized sentences.

About

Neutral rewriter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 54.5%
  • Perl 42.2%
  • Shell 3.3%