<HTML>
<HEAD>
<link type="text/css" href="../css/main_styles.css" rel="stylesheet"></HEAD>
<BODY>
<TITLE>mqc_checkSentencesSpelling</TITLE>
<H1>mqc_checkSentencesSpelling</H1><H4>Synopsis</H4><PRE><FONT COLOR = blue>Defun: mqc_checkSentencesSpelling(
       List, $sentences,
       Boolean ( $needTips?, false ),
       String ( $user_dictionary, "" ),
       Boolean ( $specified_dic_only?, false ),
       Boolean ( $ignoreUppercase?, false ),
       Boolean ( $ignoreMixedDigits?, false ),
       Boolean ( $ignoreInternetAndFileAddresses?, false ) )
@{...} List;

</FONT></PRE><PRE STYLE=\"text-align : left;\" CLASS=\"Code\">

<B>Description:</B>
Spell check the sentences specified in the given list.
    The implementation of this function is based on Microsoft Word spell check,
    hence Microsoft Word is required. If the function detects Microsoft Word is
    note installed, it will return { "No-Word" }.

<B>Input:</B>
    ( List )    sentences      -   List of sentences to be checked.
                                   Each item in sentence_list is a string.
                                   For example:
                                   {
                                      "This is sentence 1",
                                      "This is sentence 2",
                                      ...
                                   }
    ( Boolean ) needTips?      -   (Optional Argument)
                                   TRUE,  tips will be contained in the return list.
                                   FALSE, no tips in the return list.
                                   Default is FALSE
    ( String )  user_dictionary-   (Optional Argument)
                                   File specification of the dictionary.
                                   It is one word per line in the file.
                                   For example, if 'prt' is to be ignored,
                                   and is defined in a dictionary file,
                                   all 'prt' found in the objects will be ignored.
                                   Default is "", means no user dictionary
    ( Boolean )  specified_dic_only?
                               -   (Optional Argument)
                                   Indicates whether or not to use custom dictionary exclusively.
                                   True  - Only use the custom dictionary, and
                                           Ignore the default MS word dictionaries.
                                   False - Use the custom dictionary plus the MS word
                                           dictionary when performing spell check.
                                   Default is True.
        ( Boolean ) ignoreUppercase? -  (Optional Argument) Check upper case words or not.
                                        TRUE  - Do not check upper case words.
                                        FALSE - Check upper and lower case words.
    ( Boolean )  ignoreMixedDigits?
                                      - (Optional Argument) Check words which has digit or not.
                                        TRUE  - Do not check words which has digit.
                                        FALSE - Check words which has digit.
    ( Boolean )  ignoreInternetAndFileAddresses?
                                      - (Optional Argument) Check file path and internet string.
                                        TRUE  - Do not check file path and internet string.
                                        FALSE - check file path and internet string.

<B>Input Arguments:</B>
sentences - List of sentences to be checked
needTips? - (Optional Argument)Tips will be contained in the return list or not
user_dictionary - (Optional Argument)File specification of the dictionary
specified_dic_only? - (Optional Argument)Indicates whether or not to use custom dictionary exclusively
ignoreUppercase? - (Optional Argument)Check upper case words or not
ignoreMixedDigits? - (Optional Argument)Check words which has digit or not
ignoreInternetAndFileAddresses? - (Optional Argument)Check file path and internet string

<B>Returns:</B>
All the error words and their tips.
Format:
                   {
                       {
                            { "error_word_1_in_sentences_1", "tip1", "tip2", ... },
                            { "error_word_2_in_sentences_1", "tip1", "tip2", ... },
                            ...
                            { "error_word_n_in_sentences_1", "tip1", "tip2", ... }
                       },
                       {
                            { "error_word_1_in_sentences_2", "tip1", "tip2", ... },
                            { "error_word_2_in_sentences_2", "tip1", "tip2", ... },
                            ...
                            { "error_word_n_in_sentences_2", "tip1", "tip2", ... }
                       },
                       ...
                       {
                            { "error_word_1_in_sentences_n", "tip1", "tip2", ... },
                            { "error_word_2_in_sentences_n", "tip1", "tip2", ... },
                            ...
                            { "error_word_n_in_sentences_n", "tip1", "tip2", ... }
                       }
                }
for example, if the input sentence_list is:
    {
       "Thiss iss a sentence",
       "That is a sentence",
       "Theye are ai"
    }
    then the return list is
    {
      {
        {"Thiss","This","Thus","Theses","Thins"},
        {"iss","is","sis","miss","its","hiss","kiss"}
      },
      {}, -> null list mean the corresponding input words list does not contain any error word.
      {
        {"Theye","They","These","There","Thee","Theme"},
        {"ai","air","aim","ail","aid","a"}
      }
    }

<B>See Also:</B>
</PRE></FONT></PRE>
<p class=EndLine>&nbsp;</p>
<p class=blank>&nbsp;</p>
</BODY>
</HTML>
