1 (* Wrapper around Perl Net::Google::Spelling class.
2 * Copyright (C) 2003 Merjis Ltd.
3 * $Id: pl_Net_Google_Spelling.ml,v 1.1 2003-10-14 16:05:22 rich Exp $
8 class net_google_spelling sv =
13 string_of_sv (call_method sv "key" [])
15 call_method_void sv "key" [sv_of_string v]
16 method phrase phrases =
17 string_of_sv (call_method sv "phrase" (List.map sv_of_string phrases))
19 string_of_sv (call_method sv "suggest" [])