Search SRILM-USER Archives

Match: Format: Sort by:
Search:

Re: ngram-count and float counts

From: Andreas Stolcke <stolcke at ADDRESS HIDDEN>
Date: Mon, 23 Aug 2004 07:47:28 PDT

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 ADDRESS HIDDEN>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
>

Click here to go to the SRILM home page.