Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
kosloot committed Nov 21, 2024
1 parent b87cc27 commit 3be9b20
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions src/TICCL-LDcalc.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -799,8 +799,8 @@ map<bitType,set<UnicodeString>> fill_hashmap( istream& is,
int main( int argc, char **argv ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:t:" );
opts.set_long_options( "diac:,hist:,nohld,artifrq:,LD:,hash:,clean:,alph:,"
opts.add_short_options( "vVho:t:" );
opts.add_long_options( "diac:,hist:,nohld,artifrq:,LD:,hash:,clean:,alph:,"
"index:,help,version,threads:,follow:,low:,high:" );
opts.init( argc, argv );
}
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-anahash.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ extract_foci( const map<UnicodeString,bitType>& freq_list,
int main( int argc, const char *argv[] ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:" );
opts.set_long_options( "alph:,background:,artifrq:,clip:,help,version,ngrams,list,separator:" );
opts.add_short_options( "vVho:" );
opts.add_long_options( "alph:,background:,artifrq:,clip:,help,version,ngrams,list,separator:" );
opts.init( argc, argv );
}
catch( TiCC::OptionError& e ){
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-chain.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ void usage( const string& name ){
int main( int argc, char **argv ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:" );
opts.set_long_options( "caseless,alph:,nounk" );
opts.add_short_options( "vVho:" );
opts.add_long_options( "caseless,alph:,nounk" );
opts.init( argc, argv );
}
catch( TiCC::OptionError& e ){
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-chainclean.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ vector<UnicodeString> sort( const vector<UnicodeString>& in,
int main( int argc, char **argv ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:" );
opts.set_long_options( "lexicon:,artifrq:,follow:,low:,caseless:" );
opts.add_short_options( "vVho:" );
opts.add_long_options( "lexicon:,artifrq:,follow:,low:,caseless:" );
opts.init( argc, argv );
}
catch( TiCC::OptionError& e ){
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-indexer.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ size_t init( vector<experiment>& exps,
int main( int argc, char **argv ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:t:" );
opts.set_long_options( "charconf:,hash:,low:,high:,help,version,"
opts.add_short_options( "vVho:t:" );
opts.add_long_options( "charconf:,hash:,low:,high:,help,version,"
"foci:,threads:,confstats:,follow:" );
opts.init( argc, argv );
}
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-indexerNT.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,8 @@ void output_confusions( ostream& csf,
int main( int argc, char **argv ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:t:" );
opts.set_long_options( "charconf:,hash:,low:,high:,foci:,help,"
opts.add_short_options( "vVho:t:" );
opts.add_long_options( "charconf:,hash:,low:,high:,foci:,help,"
"version,threads:,confstats:,follow:" );
opts.init( argc, argv );
}
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-lexstat.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ void usage( const string& name ){
int main( int argc, const char *argv[] ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:" );
opts.set_long_options( "LD:,clip:,diac,all,separator:,help,verbose,version" );
opts.add_short_options( "vVho:" );
opts.add_long_options( "LD:,clip:,diac,all,separator:,help,verbose,version" );
opts.init( argc, argv );
}
catch( TiCC::OptionError& e ){
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-rank.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -776,8 +776,8 @@ struct wid {
int main( int argc, char **argv ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:t:" );
opts.set_long_options( "alph:,debugfile:,skipcols:,charconf:,charconfreq:,"
opts.add_short_options( "vVho:t:" );
opts.add_long_options( "alph:,debugfile:,skipcols:,charconf:,charconfreq:,"
"artifrq:,"
"subtractartifrqfeature1:,subtractartifrqfeature2:,"
"wordvec:,clip:,numvec:,threads:,verbose,follow:,"
Expand Down
4 changes: 2 additions & 2 deletions src/TICCL-unk.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -877,8 +877,8 @@ void usage( const string& name ){
int main( int argc, const char *argv[] ){
TiCC::CL_Options opts;
try {
opts.set_short_options( "vVho:" );
opts.set_long_options( "acro,alph:,corpus:,background:,artifrq:,filter:,help,version,hemp:" );
opts.add_short_options( "vVho:" );
opts.add_long_options( "acro,alph:,corpus:,background:,artifrq:,filter:,help,version,hemp:" );
opts.parse_args( argc, argv );
}
catch( TiCC::OptionError& e ){
Expand Down

0 comments on commit 3be9b20

Please sign in to comment.