Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
sample processed article for GenderTracker
{
"url": "http://mynewsapp.com/article/19928034",
"id": "19928034",
"body": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque vitae lorem quam, a luctus quam. Proin scelerisque cursus dolor, ut iaculis urna tempus vitae.",
"original_body": "<b>Lorem ipsum</b> dolor sit amet, consectetur adipiscing elit. Pellentesque vitae lorem quam, a luctus quam. Proin scelerisque cursus dolor, ut iaculis urna tempus vitae. ",
"title": "Lorem ipsum",
"byline": "By Cicero",
"pub_date": "1011-01-04T16:00:25Z",
"decompositions": {
"sentences": [
"Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
"Pellentesque vitae lorem quam, a luctus quam.",
"Proin scelerisque cursus dolor, ut iaculis urna tempus vitae."
],
"tokens": [
"Lorem",
"ipsum",
"dolor",
"sit",
"amet",
"consectetur",
"adipiscing",
"elit",
"Pellentesque",
"vitae",
"lorem",
"quam",
"a",
"luctus",
"quam",
"scelerisque",
"cursus",
"iaculis",
"urna",
"tempus",
"vitae",
]
},
"metrics": {
"byline_gender": {
"result": "Male",
"counts": {
"male": 1.0,
"female": 0.0
}
},
"pronouns": {
"result": "Unknown",
"counts": {
"male": 0,
"female": 0,
"neutral": 0
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment