[ 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
Previous revision
Next revision Both sides next revision
user:zeman:interset:to-do [2014/06/10 23:00]
zeman Martinovy návrhy.
user:zeman:interset:to-do [2014/06/16 15:52]
zeman Stránka s přehledem rysů byla aktualizována.
Line 8: Line 8:
     * Přejmenovat prep na adp?     * Přejmenovat prep na adp?
     * Úplně rozpustit subpos?     * Úplně rozpustit subpos?
-    * Dokumentace nových rysů: nountype, adjtype, verbtype, conjtype. 
     * Nemohli bychom zrušit rys synpos?     * Nemohli bychom zrušit rys synpos?
     * Nová hodnota prn v prontype.     * Nová hodnota prn v prontype.
     * Sloučeny rysy tense a subtense.     * Sloučeny rysy tense a subtense.
     * Co s číslovkami?     * Co s číslovkami?
-  * Zkontrolovatjaký kód ještě nebyl přenesen ze staré verze (zejména ''tagset::common''do nové. +  * Doplnit soubor Changes. Zjistitzda by se nemohl jmenovat Changes.txt (jde o to, aby ho nadále našel plugin do Distzilly NextRelease). 
-    * Testy ovladačů. +  * Zakomponovat ''driver-test.pl en::penn'' do instalačního testu ''test.t''
-    * Obecné funkce pro přístup k ovladačům, např. Lingua::Interset::decode('en::penn')+  Dodělat dokumentaci POD tak, aby všechny funkce, které má uživatel k dispozici, byly zdokumentovány.
-      Částečně už jsou zprovozněné, ale zatím k těm skutečným (novým, starých driverů se to netýká) přistupují staticky, bez vytvoření objektu třídy Tagset. To by se mělo nějak upravit kvůli přístupu ke zděděným metodám apod. Taky kvůli tomu, že cílové funkce jsou metody a očekávají parametr $self, takže u encode() a decode() teď dojde k posunu na zásobníku! Možná by měla přibýt obecná funkce, která vytvoří objekt driver pro daný tagset a vrátí ho. U starých driverů by měla vrátit nějaký obálkový objekt. +
-      * Bude možné tyto funkce vyexportovat do hlavního jmenného prostoru? +
-  * Vyrobit dočasnou obálku na staré ovladače, aby je mohl nový Interset využívat, než je všechny přepíšpřímo pro něj.+
   * Přenést všechny ovladače, které vznikly v Treexu a do SVN Intersetu se zatím nedostaly.   * Přenést všechny ovladače, které vznikly v Treexu a do SVN Intersetu se zatím nedostaly.
-  * Funkce typu ''is_noun()'', ''is_pronoun()'' atd. +  * Oprášit pravidelné kopírování wiki stránek Intersetu do repozitáře SVN (resp. Redmine). Nyní je tam zastaralá kopie.
-  * Přenést celý projekt Interset i s historií ze serveru ''svn'' na Redmine.+
   * Uspořádat seminář a brainstorming pro zájemce o Interset.   * Uspořádat seminář a brainstorming pro zájemce o Interset.
     * Do té doby prozkoumat Martinovy návrhy a udělat si na ně názor.     * Do té doby prozkoumat Martinovy návrhy a udělat si na ně názor.
   * Sepsat manuál pro nové autory ovladačů.   * Sepsat manuál pro nové autory ovladačů.
-  * Vlastní zveřejnění na CPANu: 
-    * Zdeněk doporučuje Distzillu, která hodně usnadní výrobu balíčku k publikaci. 
-    * Zdeněk má v Treexu nějaký skript, který promítne číslo revize SVN do čísla verze na CPAN. 
   * Jak prezentovat Interset neperlovému světu? Např. tabulky pro decode(). Jde o to, aby lidé mohli Interset snadno použít i v Pythonu, Javě, C a jinde.   * Jak prezentovat Interset neperlovému světu? Např. tabulky pro decode(). Jde o to, aby lidé mohli Interset snadno použít i v Pythonu, Javě, C a jinde.
     * Sem patří i Tagzplorer!     * Sem patří i Tagzplorer!
Line 34: Line 26:
 ===== Infrastructure ===== ===== Infrastructure =====
  
-  * Clean up ''tagset::common'' w.r.t. the various algorithms of enforcing permitted values. 
   * Query feature value: a shared function detects array and if it is array, searches it for a given value.    * Query feature value: a shared function detects array and if it is array, searches it for a given value.
   * New test in driver-test.pl: does a driver decode into arrays? If so, what features are affected? If not, is it capable of encoding arrays (i.e. does it call the function that gets rid of arrays)?   * New test in driver-test.pl: does a driver decode into arrays? If so, what features are affected? If not, is it capable of encoding arrays (i.e. does it call the function that gets rid of arrays)?
-  * New test in driver-test.pl: how many tags / what proportion of the tagset are decoded using the ''other'' feature? Enumerate them. Maybe, tags that set the ''other'' feature should not be considered when building the list of possible feature structures? (Sometimes it happens that a feature-value combination is permitted only in an ''other'' tag. Although the set of set/unset features could be used as an additional clue leading to this tag, such tags are often marginal stuff that one does not want to use as default.) 
-    * A workaround. Simulate decoding from foreign tagsets. 1. Decode all tags of tagset A. 2. Clear the features ''tagset'' and ''other'' in all feature structures. 3. Now force the tags to defaults (some obscure categories are lost and the tags have to adapt themselves to the fallback categories). 4. Encode all tags again. 5. Check the resulting tags. It is OK if a tag was transformed into another correct tag. However, if a tag was rendered incorrect, it should be discarded from the set of tags that define the correct feature-value combinations. 
   * Extend the ''print_permitted_fs.pl'' tool so that it can search all available drivers. If it is called that way, it prints the name of the driver in front of every feature structure generated by that driver. Print to STDOUT (now it prints to STDERR). Let the user query and filter the feature structure directly: '$_->{mood} eq "ind" && $_->{other} =~ m/^X/'. Grepping the textual output is less powerful.   * Extend the ''print_permitted_fs.pl'' tool so that it can search all available drivers. If it is called that way, it prints the name of the driver in front of every feature structure generated by that driver. Print to STDOUT (now it prints to STDERR). Let the user query and filter the feature structure directly: '$_->{mood} eq "ind" && $_->{other} =~ m/^X/'. Grepping the textual output is less powerful.
   * Enable checking out the latest development version directly from the Subversion repository.   * Enable checking out the latest development version directly from the Subversion repository.

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