[developers] Fwd: Exporting profile
Alexandre Rademaker
arademaker at gmail.com
Wed Jul 8 20:48:29 CEST 2020
I forgot to copy the list.
Best,
Alexandre
> From: Alexandre Rademaker <arademaker at gmail.com>
> Subject: Exporting profile
> Date: 8 July 2020 15:47:22 GMT-3
> To: Stephan Oepen <oe at ifi.uio.no>
>
>
> Hi Stephan,
>
> I was able to export the profile with:
>
> $ ./redwoods --binary --terg --home /home/user/tmp/ --target /tmp --export mrs,eds --active all treebank
>
> (The name of my profile is `treebank` and it is located in /home/user/tmp. I discovered the parameter `home` and the possibility to specify the last version of ERG with `terg`).
>
> That is nice, the parsing of profile files is not so trivial task and doesn’t make sense to not use the code already available. I wonder if the output format is document. For each item in the profile, I got a .gz file like that:
>
> [1] (1 of 3) {1} [ the text of the sentence ]
> ^L
> [1:0] (active)
>
> [the mrs text representation]
>
> [the eds text representation]
>
> ^L
> [1:1] (inactive)
>
> [the mrs...]
>
> [the eds...]
>
> ^L
> [1:2] (inactive)
>
> [the mrs...]
>
> [the eds...]
>
>
> I would also like to understand what is the minimal Lisp code to export a profile using the functions from the tsdb and lkb packages. Given that, I would not depend on the scripts. I would be able to start a lisp REPL and do it interactively. I was expecting to be able to learn it with the `source` parameter, but I didn’t get any result.
>
> Why do I need the grammar to export the profile? Sorry, maybe the answer to this question is a long one, an article or wiki page! ;-) I remember that I have already read somewhere that some formats need the grammar or the SEM-I interface, right?
>
>
> Best,
> Alexandre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20200708/322d8b5e/attachment.html>
More information about the developers
mailing list