yrs --> hours
On 28 August 2013 09:27, Hieu Hoang <[email protected]> wrote: > line contains the string that is specified in the [feature] section for > the feature. eg. > KENLM lazyken=0 name=LM0 factor=0 path=../interpolated-binlm.1 order=3 > the line variable should be passed to the FeatureFunction base class > during construction. > > you can then parse it for your feature-specific variables. Best to do this > by > 1. call ReadParameters() in your constructor > 2. Implement > SetParameter(const std::string& key, const std::string& value) > > see class PhraseBoundaryState for a good example, or the irstlm or srilm > in about 2 yrs after i've cleaned them up... > > > > On 27 August 2013 19:22, Lane Schwartz <[email protected]> wrote: > >> I'm doing some LM tinkering, and I noticed that there's a new parameter >> in FeatureFunction and its descendents. >> >> What is the following parameter represent? >> >> "const std::string &line" >> >> Thanks, >> Lane >> >> >> _______________________________________________ >> Moses-support mailing list >> [email protected] >> http://mailman.mit.edu/mailman/listinfo/moses-support >> >> > > > -- > Hieu Hoang > Research Associate > University of Edinburgh > http://www.hoang.co.uk/hieu > > -- Hieu Hoang Research Associate University of Edinburgh http://www.hoang.co.uk/hieu
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
