Blame view

tools/lia_ltbox/lia_phon/script/lia_lex2phon 578 Bytes
e6be5137b   Jean-François Rey   reinitialized pro...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  #!/bin/csh
  
  
  # Phonetise un lexique de mots
  
  #  default value for LIA_PHON_LEX
  if ( ! $?LIA_PHON_LEX ) then
   set LIA_PHON_LEX = lex10k
  endif
  
  $LIA_PHON_REP/bin/lia_word2pos -lextag $LIA_PHON_REP/data/lm3classe.arpa.sirlex \
  	-lexgraf $LIA_PHON_REP/data/$LIA_PHON_LEX.sirlex \
  	-pmc $LIA_PHON_REP/data/$LIA_PHON_LEX -ztrm | \
  $LIA_PHON_REP/bin/lia_retik -r $LIA_PHON_REP/data/regles_retik_hors_context | \
  $LIA_PHON_REP/bin/lia_phonetise -l | \
  $LIA_PHON_REP/bin/lia_pprocess -r $LIA_PHON_REP/data/rule_phon.pro | \
  $LIA_PHON_REP/bin/lia_nett_phon |  grep -v "ZTRM->EXCEPTION"