Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Side by Side Diff: third_party/hunspell_new/src/hunspell/phonet.hxx

Issue 1135173004: Rename third_party/hunspell_new back to third_party/hunspell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /* phonetic.c - generic replacement aglogithms for phonetic transformation
2 Copyright (C) 2000 Bjoern Jacke
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 version 2.1 as published by the Free Software Foundation;
7
8 This library is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 Lesser General Public License for more details.
12
13 You should have received a copy of the GNU Lesser General Public
14 License along with this library; If not, see
15 <http://www.gnu.org/licenses/>.
16
17 Changelog:
18
19 2000-01-05 Bjoern Jacke <bjoern at j3e.de>
20 Initial Release insprired by the article about phonetic
21 transformations out of c't 25/1999
22
23 2007-07-26 Bjoern Jacke <bjoern at j3e.de>
24 Released under MPL/GPL/LGPL tri-license for Hunspell
25
26 2007-08-23 Laszlo Nemeth <nemeth at OOo>
27 Porting from Aspell to Hunspell using C-like structs
28 */
29
30 #ifndef __PHONETHXX__
31 #define __PHONETHXX__
32
33 #define HASHSIZE 256
34 #define MAXPHONETLEN 256
35 #define MAXPHONETUTF8LEN (MAXPHONETLEN * 4)
36
37 #include "hunvisapi.h"
38
39 struct phonetable {
40 char utf8;
41 cs_info * lang;
42 int num;
43 char * * rules;
44 int hash[HASHSIZE];
45 };
46
47 LIBHUNSPELL_DLL_EXPORTED void init_phonet_hash(phonetable & parms);
48
49 LIBHUNSPELL_DLL_EXPORTED int phonet (const char * inword, char * target,
50 int len, phonetable & phone);
51
52 #endif
OLDNEW
« no previous file with comments | « third_party/hunspell_new/src/hunspell/license.myspell ('k') | third_party/hunspell_new/src/hunspell/phonet.cxx » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698