Changeset 19760ef for app/src


Ignore:
Timestamp:
05/15/08 21:55:02 (16 years ago)
Author:
obrebski <obrebski@…>
Branches:
master, help
Children:
b012e2a
Parents:
6ac84d8
git-author:
obrebski <obrebski@…> (05/15/08 21:55:02)
git-committer:
obrebski <obrebski@…> (05/15/08 21:55:02)
Message:

uzupelnione configi
oprawiona obsluga opcji weight w gue
tre znajduje swoja biblioteke (nie znajdywal wczesniej)

git-svn-id: svn://atos.wmid.amu.edu.pl/utt@51 e293616e-ec6a-49c2-aa92-f4a8b91c5d16

Location:
app/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • app/src/dgp/tre.rb

    radb4c8d r19760ef  
    11#!/usr/bin/ruby -I /usr/local/lib/utt -I $HOME/.local/lib/utt 
    22 
     3$: << "#{ENV['HOME']}/.local/lib/utt" 
     4$: << "/usr/local/lib/utt" 
     5 
    36require 'getoptlong' 
     7require 'seg.rb' 
    48 
    59opts = GetoptLong.new( 
     
    6064  end 
    6165end 
    62  
    63 #require File.expand_path(File.dirname(__FILE__) + "../lib/utt/seg.rb") 
    64 require 'seg.rb' 
    6566 
    6667$dgpsep=';' 
  • app/src/gue/cmdline_guess.ggo

    r8d3e6ab r19760ef  
    88option "dictionary"             d       "File with dictionary information" string typestr="filename" default="gue.bin" no 
    99option "per-info"               v       "Display performance information" flag off 
    10 option "weights"                w       "Print weights" flag off hidden 
     10option "weights"                w       "Print weights" flag off 
    1111option "no-uppercase"           -       "Do not process form containing uppercase letters" flag off 
    1212 
  • app/src/gue/common_guess.cc

    r6ac84d8 r19760ef  
    88char dictionary[255]; 
    99bool per_info=false; 
    10 bool weights=true; 
     10bool weights=false; 
    1111 
    1212void process_guess_options(gengetopt_args_info* args) 
     
    5656 
    5757  if(args->weights_given) 
    58     weights=false; 
     58    weights=true; 
    5959 
    6060} 
Note: See TracChangeset for help on using the changeset viewer.