Package nzilbb.labbcat.util


package nzilbb.labbcat.util
Command line utilities.

In particular, the CommandLine utility is the main class for nzilbb.labbcat.jar, so is easy to invoke from the command line for performing ad-hoc API requests: e.g.

java -jar nzilbb.labbcat.jar --indent --labbcaturl=… getLayer orthography

… might print:

{
     "title": "LaBB-CAT",
     "version": "20200212.1030",
     "code": 0,
     "errors": [],
     "messages": [],
     "model": {
         "id": "orthography",
         "parentId": "transcript",
         "description": "Standard Orthography",
         "alignment": 0,
         "peers": false,
         "peersOverlap": false,
         "parentIncludes": false,
         "saturated": false,
         "type": "string",
         "validLabels": {},
         "category": null
     }
 }