folia_mimore.xml 4.11 KB
<?xml version="1.0" encoding="UTF-8" ?>
<mtas>

	<!-- START MTAS INDEX CONFIGURATION -->
	<index>
		<!-- START GENERAL SETTINGS MTAS INDEX PROCESS -->
		<payload index="false" />
		<offset index="false" />
		<realoffset index="false" />
		<parent index="true" />
		<!-- END GENERAL SETTINGS MTAS INDEX PROCESS -->
	</index>
	<!-- END MTAS INDEX CONFIGURATION -->


	<!-- START CONFIGURATION MTAS FOLIA PARSER -->
	<parser name="mtas.analysis.parser.MtasFoliaParser">

		<!-- START GENERAL SETTINGS MTAS FOLIA PARSER -->
		<autorepair value="false" />
		<makeunique value="true" />
    <!-- END GENERAL SETTINGS MTAS FOLIA PARSER -->

		<!-- START REFERENCES -->
		<references>
			<reference name="wref" ref="id" />
		</references>
		<!-- END REFERENCES -->

		<!-- START MAPPINGS -->
		<mappings>

			<!-- START WORDS -->
			<mapping type="word" name="w">
			</mapping>
			<!-- END WORDS -->

			<!-- START WORD ANNOTATIONS -->
			<mapping type="wordAnnotation" name="t">
				<token type="string" offset="false">
					<pre>
						<item type="name" />
					</pre>
					<post>
						<item type="text" />
					</post>
				</token>
				<token type="string" offset="false" realoffset="false" parent="false">
					<pre>
						<item type="name" />
						<item type="string" value="_lc" />
					</pre>
					<post>
						<item type="text" filter="ascii,lowercase" />
					</post>
				</token>
				<condition>
					<item type="ancestor" number="0" />
					<item type="ancestorWord" number="1" />
					<item type="unknownAncestor" number="0" />
				</condition>
			</mapping>
			<mapping type="wordAnnotation" name="lemma">
				<token type="string" offset="false" realoffset="false" parent="false">
					<pre>
						<item type="name" />
					</pre>
					<post>
						<item type="attribute" name="class" />
					</post>
				</token>
				<condition>
					<item type="ancestor" number="0" />
					<item type="unknownAncestor" number="0" />
				</condition>
			</mapping>
			<mapping type="wordAnnotation" name="pos">
				<token type="string" offset="false" realoffset="false" parent="false">
					<pre>
						<item type="name" />
						<item type="attribute" name="set" prefix="." />
					</pre>
					<post>
						<item type="attribute" name="head" />
					</post>
					<payload>
						<item type="attribute" name="confidence" />
					</payload>
				</token>
				<condition>
					<item type="ancestor" number="0" />
					<item type="unknownAncestor" number="0" />
					<item type="attribute" name="class" />
				</condition>
			</mapping>
			<mapping type="wordAnnotation" name="feat">
				<token type="string" offset="false" realoffset="false" parent="false">
					<pre>
						<item type="name" />
						<item type="ancestorAttribute" name="set" prefix="." />
						<item type="attribute" name="subset" prefix="." />
					</pre>
					<post>
						<item type="attribute" name="class" />
					</post>
					<payload>
						<item type="ancestorAttribute" distance="0" name="confidence" />
					</payload>
				</token>
				<condition>
					<item type="ancestor" number="1" />
					<item type="unknownAncestor" number="0" />
					<item type="attribute" name="class" />
					<item type="attribute" name="subset" />
				</condition>
			</mapping>
			<!-- END WORD ANNOTATIONS -->

			<!-- START RELATIONS -->
			<mapping type="relation" name="entities">
			</mapping>
			<mapping type="relation" name="entity">
			</mapping>
			<!-- END RELATIONS -->

			<!-- START RELATION ANNOTATIONS -->
			<mapping type="relationAnnotation" name="t">
				<token type="string" offset="false" realoffset="false" parent="false">
					<pre>
						<item type="name" />
					</pre>
					<post>
						<item type="text" />
					</post>
				</token>
			</mapping>
			<!-- END RELATION ANNOTATIONS -->

			<!-- START GROUPS -->
			<mapping type="group" name="s">
				<token type="string" offset="false">
					<pre>
						<item type="name" />
					</pre>
					<post>
						<item type="attribute" name="class" />
					</post>
				</token>
			</mapping>
			<!-- END GROUPS -->

			<!-- START GROUP ANNOTATIONS -->
			<!-- END GROUP ANNOTATIONS -->

		</mappings>
		<!-- END MAPPINGS -->

	</parser>
	<!-- END CONFIGURATION MTAS FOLIA PARSER -->


</mtas>