Pydelphin and Penman

The only examples I have of using Penman are with delphin select command applied to a test suite and then piped into delphin convert --indent (which I think is related to penman?)

What is the simplest way to demo something somewhat visually appealing to people using dmrs pydelphin objects? Preferably without test suites.

The dmrs-penman and eds-penman are just codecs for serializing DMRS and EDS, respectively, into the PENMAN format. You can use the delphin convert command to do this from the command line. The delphin select command just selects data from test suites, so presumably you were selecting MRSs from a test suite and piping them through the convert command. You can also use the output from ACE. It helps if you use the ace codec as the --from option so it ignores non-MRS parts of ACE’s output:

$ ace -g ~/delphin/erg-2018.dat <<< "the cat meowed." \
  | delphin convert --from ace --to dmrs-penman
NOTE: 1 readings, added 618 / 36 edges to chart (19 fully instantiated, 19 actives used, 9 passives used)	RAM: 1257k
NOTE: parsed 1 / 1 sentences, avg 1257k, time 0.01091s
(e3 / _meow_v_1
    :lnk "<8:15>"
    :cvarsort e
    :sf prop
    :tense past
    :mood indicative
    :prog -
    :perf -
    :ARG1-NEQ (x2 / _cat_n_1
                  :lnk "<4:7>"
                  :cvarsort x
                  :pers 3
                  :num sg
                  :ind +
                  :RSTR-H-of (q1 / _the_q
                                 :lnk "<0:3>")))

If that’s too much information, try using the --no-properties and --no-lnk options:

$ ace -g ../erg-2018.dat <<< "the cat meowed." \
  | delphin convert --from ace --to dmrs-penman --no-properties --no-lnk
NOTE: 1 readings, added 618 / 36 edges to chart (19 fully instantiated, 19 actives used, 9 passives used)	RAM: 1257k
NOTE: parsed 1 / 1 sentences, avg 1257k, time 0.00725s
(e3 / _meow_v_1
    :cvarsort e
    :ARG1-NEQ (x2 / _cat_n_1
                  :cvarsort x
                  :RSTR-H-of (q1 / _the_q)))