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