<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Using_ZGen</id>
	<title>Using ZGen - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.apertium.org/w/index.php?action=history&amp;feed=atom&amp;title=Using_ZGen"/>
	<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Using_ZGen&amp;action=history"/>
	<updated>2026-06-05T20:48:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://wiki.apertium.org/w/index.php?title=Using_ZGen&amp;diff=60651&amp;oldid=prev</id>
		<title>Bujol: Created page with &quot; == &#039;&#039;&#039;Requirements&#039;&#039;&#039; == - gcc 4.5 (or above)  - boost 1.57 (or above)  - cmake 2.8.10   == &#039;&#039;&#039;Input format&#039;&#039;&#039; ==  The best way to do is to have your input for both training ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.apertium.org/w/index.php?title=Using_ZGen&amp;diff=60651&amp;oldid=prev"/>
		<updated>2016-12-04T22:24:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; == &amp;#039;&amp;#039;&amp;#039;Requirements&amp;#039;&amp;#039;&amp;#039; == - gcc 4.5 (or above)  - boost 1.57 (or above)  - cmake 2.8.10   == &amp;#039;&amp;#039;&amp;#039;Input format&amp;#039;&amp;#039;&amp;#039; ==  The best way to do is to have your input for both training ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Requirements&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
- gcc 4.5 (or above)&lt;br /&gt;
&lt;br /&gt;
- boost 1.57 (or above)&lt;br /&gt;
&lt;br /&gt;
- cmake 2.8.10&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Input format&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
The best way to do is to have your input for both training and using in the (partial) Dependency Tree structure, which has four entries. If some fields are empty, the _ (underscore) is used.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[forms] [postag] [head] [deprel]&lt;br /&gt;
&lt;br /&gt;
e.g. &lt;br /&gt;
&lt;br /&gt;
__Ms.Haag__ NP 1 _&lt;br /&gt;
__Elianti__ NP 1 _&lt;br /&gt;
plays VBZ -1 _&lt;br /&gt;
. . 1 _&lt;br /&gt;
&lt;br /&gt;
Please note that noun phrases should have __ prefix and __suffix&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If your file isn&amp;#039;t in the correct format, you&amp;#039;ll have to write a small script to translate it.&lt;br /&gt;
&lt;br /&gt;
When it comes to field [head], the tree is 0-indexed, with -1 as the head. So we&amp;#039;ll have:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the _ 1 _&lt;br /&gt;
boy _ 2 _&lt;br /&gt;
went _ -1 _&lt;br /&gt;
home _ 2 _&lt;br /&gt;
&lt;br /&gt;
-1                went&lt;br /&gt;
                      |&lt;br /&gt;
         |-----------------------|&lt;br /&gt;
         |                          |&lt;br /&gt;
2      boy                   home&lt;br /&gt;
         |&lt;br /&gt;
1      the&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Which means that &amp;#039;went&amp;#039; is the head, &amp;#039;the&amp;#039; is a son of 1 (&amp;#039;boy&amp;#039;), &amp;#039;boy&amp;#039; and &amp;#039;home&amp;#039; are children of 2 (&amp;#039;went&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
== &amp;#039;&amp;#039;&amp;#039;Configuring&amp;#039;&amp;#039;&amp;#039; ==&lt;br /&gt;
&lt;br /&gt;
First use makefile:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Bujol</name></author>
		
	</entry>
</feed>