[ Skip to the content ]

Institute of Formal and Applied Linguistics Wiki


[ Back to the navigation ]

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
user:zeman:interset:how-to-use [2008/03/13 17:45]
zeman Caching.
user:zeman:interset:how-to-use [2008/03/13 17:46]
zeman Oprava.
Line 34: Line 34:
  
 There is also the driver testing script, ''bin/driver-test.pl''. The distribution may contain some sample conversion scripts as well; however, these depend much more on the file format than on the tagset drivers, and thus you'll probably need to write your own anyway. There is also the driver testing script, ''bin/driver-test.pl''. The distribution may contain some sample conversion scripts as well; however, these depend much more on the file format than on the tagset drivers, and thus you'll probably need to write your own anyway.
 +
  
  
Line 86: Line 87:
             my $features = tagset::cs::pdt::decode($tag0);             my $features = tagset::cs::pdt::decode($tag0);
             $tag1 = tagset::en::penn::encode($features);             $tag1 = tagset::en::penn::encode($features);
 +            $cache{$tag0} = $tag1;
         }         }
         s/<_tag_to_convert_>/<t>$tag1/;         s/<_tag_to_convert_>/<t>$tag1/;

[ Back to the navigation ] [ Back to the content ]