Skip to content

Instantly share code, notes, and snippets.

@makyo
Last active August 29, 2015 14:01
Show Gist options
  • Save makyo/513557e0cda785ac8e30 to your computer and use it in GitHub Desktop.
Save makyo/513557e0cda785ac8e30 to your computer and use it in GitHub Desktop.

Wordcount metrics:

find directorywithlogfiles/ -type f -exec cat {} \; | sed -re 's/[ "!?.,()]+/\n/g' | sed -re 's/(\n\n|\r)//g' | sort | uniq -ic | sort -rn > all.freq

This will give wordcount frequencies; but will leave names intact - you will need to delete those to ensure anonymity.

Other interesting metrics:

  • Breakdown of pairings - M/M, M/F, etc. in percentages
  • Interesting interactions, kinks, fetishes, interests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment