That was my concern Matt. Thanks for the explanation. Basically I've been passed a packed grammar for Spanish --> English translation (possibly one you built for Chris M. While back) and wondered if I could package it into a language pack. It seems that without the accompanying parameters we've discussed its usefulness is questionable.
On Tuesday, April 5, 2016, Matt Post <p...@cs.jhu.edu> wrote: > Hi Lewis, > > I would suggest taking another language pack and just copying that over. > You can delete the language model and grammars from it, and then edit the > joshua.config to do the following: > > - Remove the language model lines: > > feature-function = StateMinimizingLanguageModel ... > feature-function = LanguageModel ... > > - Modify the ^tm lines to point to your new grammar. You will want to keep > the glue grammar. Also, the tm specification should match the type of > grammar you learned (set to "thrax" if it was a hiero grammar, or to > "phrase" or "moses" if a phrase or moses one). > > That said, what are you doing this for? It's unlikely to work very well > without a language model, and without tuned parameters. > > matt > > > On Apr 5, 2016, at 12:54 AM, Lewis John Mcgibbney < > lewis.mcgibb...@gmail.com > <javascript:_e(%7B%7D,'cvml','lewis.mcgibb...@gmail.com');>> wrote: > > Hi Folks, > Does anyone know if it is possible to bundle a language pack without input > for the mandatory arguments as documented at [0]? > Say for example I was passed a packed grammar which was built from a > pipeline execution however no accompanying configuration file, the tuned > configuration file, etc. was provided as well. > Any help is appreciated. > Thanks > Lewis > > [0] http://joshua-decoder.org/6.0/bundle.html > > -- > *Lewis* > > > -- *Lewis*