spaCy/website/public/images/displacy-compact.svg

124 lines
6.9 KiB
XML
Raw Permalink Normal View History

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="0" class="displacy" viewBox="0 -30 1050 287" width="1050" height="287" style="max-width: none; height: 287px; color: #eee; background: #09a3d5; font-family: Source Sans Pro">
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="50">This</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="50">DET</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="150">is</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="150">VERB</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="250">a</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="250">DET</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="350">sentence</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="350">NOUN</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="450">in</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="450">ADP</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="550">compact</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="550">ADJ</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="650">mode</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="650">NOUN</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="750">with</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="750">ADP</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="850">custom</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="850">NOUN</tspan>
</text>
<text class="displacy-token" fill="currentColor" text-anchor="middle" y="197.0">
<tspan class="displacy-word" fill="currentColor" x="950">styles.</tspan>
<tspan class="displacy-tag" dy="2em" fill="currentColor" x="950">NOUN</tspan>
</text>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-0" stroke-width="2px" d="M70,152.0 70,102.0 140.0,102.0 140.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-0" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">nsubj</textPath>
</text>
<path class="displacy-arrowhead" d="M70,154.0 L64,144.0 76,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-1" stroke-width="2px" d="M270,152.0 270,102.0 340.0,102.0 340.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-1" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">det</textPath>
</text>
<path class="displacy-arrowhead" d="M270,154.0 L264,144.0 276,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-2" stroke-width="2px" d="M170,152.0 170,52.0 345.0,52.0 345.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-2" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">attr</textPath>
</text>
<path class="displacy-arrowhead" d="M345.0,154.0 L351.0,144.0 339.0,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-3" stroke-width="2px" d="M370,152.0 370,102.0 440.0,102.0 440.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-3" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">prep</textPath>
</text>
<path class="displacy-arrowhead" d="M440.0,154.0 L446.0,144.0 434.0,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-4" stroke-width="2px" d="M570,152.0 570,102.0 640.0,102.0 640.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-4" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">amod</textPath>
</text>
<path class="displacy-arrowhead" d="M570,154.0 L564,144.0 576,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-5" stroke-width="2px" d="M470,152.0 470,52.0 645.0,52.0 645.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-5" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">pobj</textPath>
</text>
<path class="displacy-arrowhead" d="M645.0,154.0 L651.0,144.0 639.0,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-6" stroke-width="2px" d="M370,152.0 370,2.0 750.0,2.0 750.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-6" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">prep</textPath>
</text>
<path class="displacy-arrowhead" d="M750.0,154.0 L756.0,144.0 744.0,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-7" stroke-width="2px" d="M870,152.0 870,102.0 940.0,102.0 940.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-7" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">compound</textPath>
</text>
<path class="displacy-arrowhead" d="M870,154.0 L864,144.0 876,144.0" fill="currentColor"/>
</g>
<g class="displacy-arrow">
<path class="displacy-arc" id="arrow-0-8" stroke-width="2px" d="M770,152.0 770,52.0 945.0,52.0 945.0,152.0" fill="none" stroke="currentColor"/>
<text dy="1.25em" style="font-size: 0.8em">
<textPath xlink:href="#arrow-0-8" class="displacy-label" startOffset="50%" fill="currentColor" text-anchor="middle">pobj</textPath>
</text>
<path class="displacy-arrowhead" d="M945.0,154.0 L951.0,144.0 939.0,144.0" fill="currentColor"/>
</g>
</svg>