[ 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
Last revision Both sides next revision
user:dusek:tahaky [2013/06/11 11:01]
dusek
user:dusek:tahaky [2014/04/08 09:44]
dusek
Line 2: Line 2:
 ==== Vim ==== ==== Vim ====
  
-Úprava jmen v BibTeXu ze ZVo +Úprava jmen v BibTeXu ze Zotera
-  g/file =/d+
   1,$s/{\([a-z-]\+\)_[a-z:-]\+_\([0-9]\{4\}\),/{\u\1-\2,/   1,$s/{\([a-z-]\+\)_[a-z:-]\+_\([0-9]\{4\}\),/{\u\1-\2,/
 +
 +Zkrácení autorů
 +  g/\(author\|editor\)/s/, \([A-ZÁČĎĚÉÍŇŘŠŤŮÚÝŽ]\)[a-záčďěéíňřšťůúýžäöüß]*\(\([- ][A-ZÁČĎĚÉÍŇŘŠŤŮÚÝŽ]\)[a-záčďěéíňřšťůúýžäöüß]*\)\?\( and\|}\)/, \1.\3\4/g
 +
 +Vyházení zbytečností
 +  g/(abstract\|url\|urldate\|language\|keywords\|file\|shorttitle\|month\|lccn) =/d
 +
 +Oprava divných závorek, které ničí syntax highlighting
 +  1,$s/({\([^({]*\))}/{(\1)}/g
  
 ==== Treex ==== ==== Treex ====
Line 23: Line 31:
  
   treex --qsub "-hard -l mem_free=3g -l act_mem_free=3g" -p -j 30 Util::SetGlobal language=en selector=autom Util::Eval anode='$anode->wild->{orig_afun} = $anode->afun;' W2A::EN::SetAfun Util::Eval anode='print $anode->get_address, " ", $anode->wild->{orig_afun}, " " , $anode->afun, "\n" if ($anode->wild->{orig_afun} ne $anode->afun);' -- pcedt-formemes2a/*.treex.gz | tee log3.txt   treex --qsub "-hard -l mem_free=3g -l act_mem_free=3g" -p -j 30 Util::SetGlobal language=en selector=autom Util::Eval anode='$anode->wild->{orig_afun} = $anode->afun;' W2A::EN::SetAfun Util::Eval anode='print $anode->get_address, " ", $anode->wild->{orig_afun}, " " , $anode->afun, "\n" if ($anode->wild->{orig_afun} ne $anode->afun);' -- pcedt-formemes2a/*.treex.gz | tee log3.txt
 +
 +=== Cachování ===
 +
 +  * Cachování -- treex --cache --survive, pak use_cache=1 u bloků, které mají být záchytné body: tj. typicky 1. blok a ten před tím, který měním
      
-==== Hledání ====+ 
 +==== PML-TQ ====
  
 === Prependované nominální atributy === === Prependované nominální atributy ===
Line 36: Line 49:
  
   t-node [ gram/sempos = 'v', 1+x a/aux.rf a-node [ m/tag ~ '^V', afun != 'AuxV' ], a/lex.rf a-node [] ];   t-node [ gram/sempos = 'v', 1+x a/aux.rf a-node [ m/tag ~ '^V', afun != 'AuxV' ], a/lex.rf a-node [] ];
-   
-==== Treex ==== 
- 
-  * Cachování -- treex --cache --survive, pak use_cache=1 u bloků, které mají být záchytné body: tj. typicky 1. blok a ten před tím, který měním 

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