NAME
PMLTQ::Command::webtreebank - GET actions on treebanks on the web
VERSION
version 1.5.0
SYNOPSIS
pmltq webtreebank <subcommand>
DESCRIPTION
OPTIONS
subcommands
- list
-
Command with this option returns a list of treebank names (ids).
There in specific option --info-fields with default value "name" that determines which fields should be printed. For example --info-fields="name,title" returns one treebank perl line with tab separated fields name and title.
- single --treebank_id="<tbid>"
-
Command returns yaml formated string for treebank with name or id <tbid>. This config options are merged with default and current configs. So it can be used for generating configuration files from treebank's options saved on web.
PARAMS
- api_url
-
Url to pmltq service
EXAMPLES
- Creates and executes simple queries on all treebanks on web
-
for tb in `./script/pmltq webtreebank list`; do echo "$tb"; ./script/pmltq webtreebank single --treebank_id=$tb | ./script/pmltq webverify -c --; sleep 60; done
AUTHORS
Petr Pajas <pajas@ufal.mff.cuni.cz>
Jan Štěpánek <stepanek@ufal.mff.cuni.cz>
Michal Sedlák <sedlak@ufal.mff.cuni.cz>
Matyáš Kopp <matyas.kopp@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by Institute of Formal and Applied Linguistics (http://ufal.mff.cuni.cz).
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.