• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdespell2
 

tdespell2

  • tdespell2
  • plugins
  • ispell
sp_spell.h
1/* enchant
2 * Copyright (C) 2003 Dom Lachowicz
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * In addition, as a special exception, Dom Lachowicz
15 * gives permission to link the code of this program with
16 * non-LGPL Spelling Provider libraries (eg: a MSFT Office
17 * spell checker backend) and distribute linked combinations including
18 * the two. You must obey the GNU Lesser General Public License in all
19 * respects for all of the code used other than said providers. If you modify
20 * this file, you may extend this exception to your version of the
21 * file, but you are not obligated to do so. If you do not wish to
22 * do so, delete this exception statement from your version.*
23 * You should have received a copy of the GNU Lesser General Public
24 * License along with this library; if not, write to the
25 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
26 * Boston, MA 02110-1301, USA.
27 */
28
29#ifndef SPELL_H
30#define SPELL_H
31
32/*
33 TODO stuff we need to do for this spell module:
34
35 eliminate all the stderr fprintfs
36 rip out the support for ICHAR_IS_CHAR
37*/
38
39#ifdef __cplusplus
40extern "C"
41{
42#endif
43
44typedef struct _sp_suggestions {
45 int count;
46 short *score;
47 unsigned short **word;
48} sp_suggestions;
49
50int SpellCheckInit(char *hashname);
51void SpellCheckCleanup(void);
52int SpellCheckNWord16(const unsigned short *word16, int length);
53int SpellCheckSuggestNWord16(const unsigned short *word16, int length, sp_suggestions *sg);
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* SPELL_H */

tdespell2

Skip menu "tdespell2"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

tdespell2

Skip menu "tdespell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdespell2 by doxygen 1.9.4
This website is maintained by Timothy Pearson.