Skip to content

Instantly share code, notes, and snippets.

@MatthewVita
Created June 2, 2019 19:55
Show Gist options
  • Save MatthewVita/341f8c9a3552f3db9352917b810a20b0 to your computer and use it in GitHub Desktop.
Save MatthewVita/341f8c9a3552f3db9352917b810a20b0 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<xmi:XMI xmlns:xmi="http://www.omg.org/XMI" xmlns:assertion="http:///org/apache/ctakes/typesystem/type/temporary/assertion.ecore" xmlns:cas="http:///uima/cas.ecore" xmlns:libsvm="http:///org/apache/ctakes/smokingstatus/type/libsvm.ecore" xmlns:ne="http:///org/cleartk/type/ne.ecore" xmlns:refsem="http:///org/apache/ctakes/typesystem/type/refsem.ecore" xmlns:relation="http:///org/apache/ctakes/typesystem/type/relation.ecore" xmlns:structured="http:///org/apache/ctakes/typesystem/type/structured.ecore" xmlns:syntax="http:///org/apache/ctakes/typesystem/type/syntax.ecore" xmlns:tcas="http:///uima/tcas.ecore" xmlns:textsem="http:///org/apache/ctakes/typesystem/type/textsem.ecore" xmlns:textspan="http:///org/apache/ctakes/typesystem/type/textspan.ecore" xmlns:type="http:///de/tudarmstadt/ukp/dkpro/core/api/metadata/type.ecore" xmlns:type10="http:///org/cleartk/srl/type.ecore" xmlns:type11="http:///org/cleartk/syntax/constituent/type.ecore" xmlns:type12="http:///org/cleartk/syntax/dependency/type.ecore" xmlns:type13="http:///org/cleartk/timeml/type.ecore" xmlns:type14="http:///org/cleartk/token/type.ecore" xmlns:type15="http:///org/cleartk/util/type.ecore" xmlns:type16="http:///org/cleartk/ne/type.ecore" xmlns:type2="http:///org/apache/ctakes/constituency/parser/uima/type.ecore" xmlns:type3="http:///org/apache/ctakes/coreference/type.ecore" xmlns:type4="http:///org/apache/ctakes/drugner/type.ecore" xmlns:type5="http:///org/apache/ctakes/padtermspotter/type.ecore" xmlns:type6="http:///org/apache/ctakes/sideeffect/type.ecore" xmlns:type7="http:///org/apache/ctakes/smokingstatus/i2b2/type.ecore" xmlns:type8="http:///org/apache/ctakes/smokingstatus/type.ecore" xmlns:type9="http:///org/cleartk/score/type.ecore" xmlns:types="http:///org/apache/ctakes/assertion/medfacts/types.ecore" xmlns:types2="http:///org/apache/ctakes/assertion/zoner/types.ecore" xmlns:util="http:///org/apache/ctakes/typesystem/type/util.ecore" xmi:version="2.0">
<cas:NULL xmi:id="0" />
<cas:Sofa xmi:id="1" sofaNum="1" sofaID="_InitialView" mimeType="text" sofaString="pipeline=Default&amp;severe+bipolar+i+disorder=" />
<tcas:DocumentAnnotation xmi:id="8" sofa="1" begin="0" end="43" language="x-unspecified" />
<textspan:Segment xmi:id="13" sofa="1" begin="0" end="43" id="SIMPLE_SEGMENT" preferredText="SIMPLE_SEGMENT" />
<textspan:Sentence xmi:id="20" sofa="1" begin="0" end="43" sentenceNumber="0" />
<syntax:WordToken xmi:id="26" sofa="1" begin="0" end="8" tokenNumber="0" partOfSpeech="NN" capitalization="0" numPosition="0" />
<syntax:WordToken xmi:id="46" sofa="1" begin="9" end="16" tokenNumber="2" partOfSpeech="JJ" capitalization="1" numPosition="0" />
<syntax:WordToken xmi:id="66" sofa="1" begin="17" end="23" tokenNumber="4" partOfSpeech="JJ" capitalization="0" numPosition="0" />
<syntax:WordToken xmi:id="86" sofa="1" begin="24" end="31" tokenNumber="6" partOfSpeech="JJ" capitalization="0" numPosition="0" />
<syntax:WordToken xmi:id="106" sofa="1" begin="32" end="33" tokenNumber="8" partOfSpeech="NN" capitalization="0" numPosition="0" />
<syntax:WordToken xmi:id="126" sofa="1" begin="34" end="42" tokenNumber="10" partOfSpeech="NN" capitalization="0" numPosition="0" />
<syntax:SymbolToken xmi:id="38" sofa="1" begin="8" end="9" tokenNumber="1" partOfSpeech="SYM" />
<syntax:SymbolToken xmi:id="58" sofa="1" begin="16" end="17" tokenNumber="3" partOfSpeech="CC" />
<syntax:SymbolToken xmi:id="78" sofa="1" begin="23" end="24" tokenNumber="5" partOfSpeech="SYM" />
<syntax:SymbolToken xmi:id="98" sofa="1" begin="31" end="32" tokenNumber="7" partOfSpeech="SYM" />
<syntax:SymbolToken xmi:id="118" sofa="1" begin="33" end="34" tokenNumber="9" partOfSpeech="SYM" />
<syntax:SymbolToken xmi:id="138" sofa="1" begin="42" end="43" tokenNumber="11" partOfSpeech="SYM" />
<textsem:RomanNumeralAnnotation xmi:id="146" sofa="1" begin="32" end="33" id="0" typeID="0" discoveryTechnique="0" confidence="0.0" polarity="0" uncertainty="0" conditional="false" generic="false" historyOf="0" />
<syntax:Chunk xmi:id="164" sofa="1" begin="0" end="8" chunkType="NP" />
<syntax:Chunk xmi:id="169" sofa="1" begin="8" end="9" chunkType="VP" />
<syntax:Chunk xmi:id="174" sofa="1" begin="9" end="23" chunkType="NP" />
<syntax:Chunk xmi:id="179" sofa="1" begin="23" end="24" chunkType="O" />
<syntax:Chunk xmi:id="184" sofa="1" begin="24" end="31" chunkType="NP" />
<syntax:Chunk xmi:id="189" sofa="1" begin="31" end="32" chunkType="O" />
<syntax:Chunk xmi:id="194" sofa="1" begin="32" end="33" chunkType="NP" />
<syntax:Chunk xmi:id="199" sofa="1" begin="33" end="34" chunkType="O" />
<syntax:Chunk xmi:id="204" sofa="1" begin="34" end="42" chunkType="NP" />
<textsem:DiseaseDisorderMention xmi:id="222" sofa="1" begin="34" end="42" id="0" ontologyConceptArr="209" typeID="2" discoveryTechnique="1" confidence="0.0" polarity="1" uncertainty="0" conditional="false" generic="false" subject="patient" historyOf="0" />
<textsem:SignSymptomMention xmi:id="266" sofa="1" begin="17" end="23" id="0" ontologyConceptArr="253" typeID="3" discoveryTechnique="1" confidence="0.0" polarity="1" uncertainty="0" conditional="false" generic="false" subject="patient" historyOf="0" />
<syntax:ConllDependencyNode xmi:id="296" sofa="1" begin="0" end="43" id="0" />
<syntax:ConllDependencyNode xmi:id="310" sofa="1" begin="0" end="8" id="1" form="pipeline" lemma="pipeline" cpostag="NN" postag="NN" feats="_" head="394" deprel="nsubj" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="324" sofa="1" begin="8" end="9" id="2" form="=" lemma="=" cpostag="SYM" postag="SYM" feats="_" head="394" deprel="punct" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="338" sofa="1" begin="9" end="16" id="3" form="Default" lemma="default" cpostag="JJ" postag="JJ" feats="_" head="394" deprel="amod" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="352" sofa="1" begin="16" end="17" id="4" form="&amp;" lemma="&amp;" cpostag="CC" postag="CC" feats="_" head="338" deprel="cc" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="366" sofa="1" begin="17" end="23" id="5" form="severe" lemma="severe" cpostag="JJ" postag="JJ" feats="_" head="394" deprel="amod" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="380" sofa="1" begin="23" end="24" id="6" form="+" lemma="+" cpostag="SYM" postag="SYM" feats="_" head="394" deprel="punct" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="394" sofa="1" begin="24" end="31" id="7" form="bipolar" lemma="bipolar" cpostag="JJ" postag="JJ" feats="_" head="296" deprel="root" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="408" sofa="1" begin="31" end="32" id="8" form="+" lemma="+" cpostag="SYM" postag="SYM" feats="_" head="394" deprel="punct" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="422" sofa="1" begin="32" end="33" id="9" form="i" lemma="i" cpostag="NN" postag="NN" feats="_" head="450" deprel="nn" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="436" sofa="1" begin="33" end="34" id="10" form="+" lemma="+" cpostag="SYM" postag="SYM" feats="_" head="450" deprel="punct" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="450" sofa="1" begin="34" end="42" id="11" form="disorder" lemma="disorder" cpostag="NN" postag="NN" feats="_" head="394" deprel="appos" pdeprel="_" />
<syntax:ConllDependencyNode xmi:id="464" sofa="1" begin="42" end="43" id="12" form="=" lemma="=" cpostag="SYM" postag="SYM" feats="_" head="394" deprel="punct" pdeprel="_" />
<structured:DocumentID xmi:id="478" documentID="UnknownDocument6" />
<refsem:UmlsConcept xmi:id="253" codingScheme="SNOMEDCT_US" code="446431000124107" score="0.0" disambiguated="false" cui="C1519275" tui="T033" preferredText="Grade 3 Severe Adverse Event" />
<refsem:UmlsConcept xmi:id="209" codingScheme="SNOMEDCT_US" code="64572001" score="0.0" disambiguated="false" cui="C0012634" tui="T047" preferredText="Disease" />
<cas:View sofa="1" members="8 13 20 26 46 66 86 106 126 38 58 78 98 118 138 146 164 169 174 179 184 189 194 199 204 222 266 296 310 324 338 352 366 380 394 408 422 436 450 464 478" />
</xmi:XMI>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment