ngram-count and float counts

Andreas Stolcke stolcke at speech.sri.com
Mon Aug 23 07:47:28 PDT 2004


The only discounting methods that support fractional counts are 

-cdiscount*
-wbdiscount*

(You can look in include/Discount.h and see which classes do NOT have 
a member function

    virtual Boolean estimate(NgramCounts<FloatCount> &counts, unsigned order)
        { return false; };
)


--Andreas

In message <Pine.LNX.4.60.0408231421100.20065 at hermes-1.csi.cam.ac.uk>you wrote:
> I'm trying to create a back-off file using ngram-count and a count file that 
> has float "counts" derived from another model but get the error message:
> 
> error in discount estimator for order 1
> 
> The -float-counts option says that it only supports certain types of 
> discounting but doesn't say which. Could this be the problem? Otherwise, what
>  
> sort of data problems could cause this message, does anyone know?
> 
> Thanks,
> 
> Dan
> 




More information about the SRILM-User mailing list