1 (** Wrapper around Perl [Net::Google::Spelling] class.
3 * Copyright (C) 2003 Merjis Ltd.
5 * $Id: pl_Net_Google_Spelling.ml,v 1.3 2003-10-16 13:41:07 rich Exp $
10 let _ = eval "use Net::Google::Spelling"
12 class net_google_spelling sv =
17 string_of_sv (call_method sv "key" [])
19 call_method_void sv "key" [sv_of_string v]
20 method phrase phrases =
21 string_of_sv (call_method sv "phrase" (List.map sv_of_string phrases))
23 string_of_sv (call_method sv "suggest" [])