ufal / perl-pmltq

Query engine and query language for trees in PML format
3 stars 2 forks source link

Metadata in the conversion config #14

Closed m1ch4ls closed 8 years ago

m1ch4ls commented 9 years ago

This is related to #12 and #11

I was thinking about treebank metadata and conversion workflow. Right now when I convert the treebank to pmltq I then have to go to administration and set all metadata about that treebank. Sounds simple for one - but really sucks for 20, especially when metadata are mostly the same or could be automatically generated. I can think of three options I like:


---
data_dir: /pmltq/data/dir/
resources: /pmltq/resources/

# metadata
title: Awesome treebank
description: "...."
homepage: "https://ufal.mff.cuni.cz/"
documentation:
 - title: PDT 2.0 Manual 
   url: http://ufal.mff.cuni.cz/pdt2.0/doc/pdt-guide/en/html/ch05.html
public: true
anonymous: false

...

I will expand this issue a little bit later

matyaskopp commented 8 years ago
description: 'DESCRIPTION'
isFeatured: false
isFree: false
isPublic: false
web_api:
  dbserver: 'euler'
  password: 'PASSWORD'
  url: 'https://lindat.mff.cuni.cz/services/pmltq/'
  user: 'USERNAME'
languages:
  - got
tags:
  - PDT
test_query:
  result_dir: query_results
  queries:
    - filename: 01.svg
      query: 'a-node [];'
    - filename: 02.txt
      query: 'a-node [] >> count()'

added three commands:

pull request