[developers] QUERY REGARDING GRAMMAR COMPILATION

Woodley Packard sweaglesw at sweaglesw.org
Sat Oct 22 08:00:05 CEST 2016


Hi Naman,

The only thing I would add to what Mike already wrote is that (I believe) you should to compile GG using ace/config.parse.tdl for parsing and ace/config.generate.tdl for generating, to take maximum advantage of statistical models.

Regards,
Woodley Packard

> On Oct 21, 2016, at 10:54 PM, Michael Wayne Goodman <goodmami at uw.edu> wrote:
> 
> Hello Naman,
> 
> I'm adding the DELPH-IN developers list [1] since I'm not a developer for ACE nor GG, and others might have more information for you. I'd be happy to answer pyDelphin questions, however, and for that I encourage you to either file an issue [2] or ask on the developers list.
> 
> But I think I can solve your immediate problem.
> 
> In order to get GG's DAT file for ACE to use, you'll need to compile it (see [3]). The repository you are using appears outdated, as it doesn't have the relevant files for ACE. Try the one in the LOGON repository, instead: http://svn.emmtee.net/trunk/dfki/gg <http://svn.emmtee.net/trunk/dfki/gg>
> 
> Navigate to the gg directory and run the following:
> 
>     ace -g ace/config.tdl -G gg.dat
> 
> When the command terminates, you should be able to use the gg.dat file with ACE:
> 
>     echo "Das Haus ist kelin." | ace -g gg.dat
> 
> I hope that helps you get started.
> 
> [1] http://lists.delph-in.net/mailman/listinfo/developers <http://lists.delph-in.net/mailman/listinfo/developers>
> [2] https://github.com/delph-in/pydelphin/issues <https://github.com/delph-in/pydelphin/issues>
> [3] http://sweaglesw.org/linguistics/ace/download/ace-0.9/doc/options.wiki <http://sweaglesw.org/linguistics/ace/download/ace-0.9/doc/options.wiki>
> 
> 
> On Fri, Oct 21, 2016 at 10:09 PM Naman Deep Singh <nmndeep at gmail.com <mailto:nmndeep at gmail.com>> wrote:
> SIR, 
> I am  member of a team currently working on Machine translation and we are using ACE and py-Delphin.
> 
> I am trying to implement a German grammar with ACE but it's file composition is not same are ERG or JACY, this grammar is available at http://gg.opendfki.de/ <http://gg.opendfki.de/> on unpacking the archive a lot of .tdl files come up but as in ERG not .dat file comes up.
> Would you please look into my problem and help me to resolve the issue.
> 
> With Regards
> NAMAN DEEP SINGH

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20161021/bc3f75a2/attachment.html>


More information about the developers mailing list