The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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