dta-cab-cachegen.perl - Cache generator for DTA::CAB analyzers


(Back to Top)


NAME

dta-cab-cachegen.perl - Cache generator for DTA::CAB analyzers

(Back to Top)


SYNOPSIS

 dta-cab-cachegen.perl [OPTIONS...] TYPE_LIST_FILE(s)...
 General Options:
  -help                           ##-- show short usage summary
  -man                            ##-- show longer help message
  -version                        ##-- show version & exit
 Analysis Options
  -config          RCFILE         ##-- load analyzer config file RCFILE (required)
  -input-encoding  ENCODING       ##-- override input encoding (default: UTF-8)
  #-output-encoding ENCODING       ##-- override output encoding (default: UTF-8) [OBSOLETE]
 Cache Selection Options
  -lts-dict   DICT_FILE           ##-- generate LTS cache file DICT_FILE
  -morph-dict DICT_FILE           ##-- generate morph cache file DICT_FILE
  -rw-dict    DICT_FILE           ##-- generate rewrite cache file DICT_FILE

(Back to Top)


DESCRIPTION

dta-cab-cachegen.perl is a quick and dirty hack to generate analysis cache files for DTA::CAB::Analyzer subclasses which support them.

NEW in v0.09: now uses DTA::CAB::Format for formatting output files, allowing for example direct generation of binary caches for faster loading.

(Back to Top)


OPTIONS AND ARGUMENTS

General Options

-help

Display a short help message and exit.

-man

Display a longer help message and exit.

-version

Display program and module version information and exit.

Analysis Options

-config RCFILE

Load analyzer config file RCFILE. Required.

-input-encoding ENCODING

Override input encoding (default: UTF-8).

-output-encoding ENCODING

Override output encoding (default: UTF-8).

Cache Selection Options

-lts-dict DICT_FILE

Generate LTS cache file DICT_FILE.

-morph-dict DICT_FILE

Generate morph cache file DICT_FILE.

-rw-dict DICT_FILE

Generate rewrite cache file DICT_FILE.

Arguments

All non-option arguments given on the command-line are expected to be filenames. These files are expected to contain lists of word types in moot 'rare' format (see mootfiles(5)). A cache entry will be generated for each word type which occurs at least once in one of the argument files.

(Back to Top)


ACKNOWLEDGEMENTS

Perl by Larry Wall.

(Back to Top)


AUTHOR

Bryan Jurish <moocow@bbaw.de>

(Back to Top)


COPYRIGHT AND LICENSE

Copyright (C) 2009 by Bryan Jurish

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.7 or, at your option, any later version of Perl 5 you may have available.

(Back to Top)


SEE ALSO

dta-cab-analyze.perl(1), dta-cab-convert.perl(1), dta-cab-cachegen.perl(1), dta-cab-xmlrpc-server.perl(1), dta-cab-xmlrpc-client.perl(1), DTA::CAB(3pm), perl(1), ...

(Back to Top)

 dta-cab-cachegen.perl - Cache generator for DTA::CAB analyzers