Skip to content

Instantly share code, notes, and snippets.

@louismullie
Created February 5, 2012 23:11
Show Gist options
  • Save louismullie/1748343 to your computer and use it in GitHub Desktop.
Save louismullie/1748343 to your computer and use it in GitHub Desktop.
Treat XML Output Example
<?xml version="1.0" encoding="us-ascii" standalone="no" ?>
<treat>
<sentence id='70222715664980' language='eng' tag_set='penn' dependencies=''> <word id='70222715690540' stem='Happi' tag='NN' tag_opt='' tag_set='penn' category='noun' dependencies=''>Happiness</word>
<word id='70222715689240' stem='is' tag='VBZ' tag_opt='' tag_set='penn' category='verb' dependencies=''>is</word>
<word id='70222715688060' stem='not' tag='RB' tag_opt='' tag_set='penn' category='adverb' dependencies=''>not</word>
<word id='70222715686880' stem='an' tag='DT' tag_opt='' tag_set='penn' category='determiner' dependencies=''>an</word>
<word id='70222715685640' stem='ideal' tag='NN' tag_opt='' tag_set='penn' category='noun' dependencies=''>ideal</word>
<word id='70222715684460' stem='of' tag='IN' tag_opt='' tag_set='penn' category='preposition' dependencies=''>of</word>
<word id='70222715683260' stem='reason' tag='NN' tag_opt='' tag_set='penn' category='noun' dependencies=''>reason</word>
<punctuation id='70222715698440' tag=',' tag_opt='' tag_set='penn' dependencies=''>,</punctuation>
<word id='70222715697320' stem='but' tag='CC' tag_opt='' tag_set='penn' category='conjunction' dependencies=''>but</word>
<word id='70222715696120' stem='of' tag='IN' tag_opt='' tag_set='penn' category='preposition' dependencies=''>of</word>
<word id='70222715694960' stem='imagin' tag='NN' tag_opt='' tag_set='penn' category='noun' dependencies=''>imagination</word>
<punctuation id='70222715693860' tag='.' tag_opt='' tag_set='penn' dependencies=''>.</punctuation>
</sentence>
</treat>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment