NAME
tmx2cwb - encodes a pair of languages from a TMX file as a CWB corpus
SYNOPSIS
tmx2cwb <-from=PT> <-to=EN> <-corpora=/corpora>
<-registry=/usr/share/cwb/registry>
<-toksource> <-toktarget>
[file.tmx]
DESCRIPTION
This program encodes a pair of languages extracted from a TMX file as a CWB corpus. Optionally it can tokenize the text (using basic tokenizing rules).
Accepted options are:
-from
=item-to
-
These two parameters are useful when more than two languages are available. They let the user to choose what languages to be encoded. When only two languages are present, they are used by default. If you want to force an order on those two languages, it is enough to specify one of the two options.
-corpora
-
Path to the directory where the corpus should be encoded. Defaults to the
/corpora
folder. -registry
-
Path to the CWB registry folder. The tool tries to guess it using the
cwb-config
command or the environment variableCORPUS_REGISTRY
. If not, you will need to specify it. -toksource
=item-toktarget
-
These two options can be used to make the tool to tokenize the source and/or the target language. Note that the used rules are good for Portuguese, acceptable for Spanish, English, French and Italian, and should be quite bad for other languages.
-v
-
Verbose mode
-h
-
Prints basic help information.
SEE ALSO
XML::TMX::CWB(3)
AUTHOR
Alberto Manuel Brandão Simões, <ambs@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2010 by Alberto Manuel Brandão Simões