1 /************************************************************************************************* 2 * Interface of mecab features 3 * Copyright (C) 2003-2006 Mikio Hirabayashi 4 * This file is part of Estraier, a personal full-text search system. 5 * Estraier is free software; you can redistribute it and/or modify it under the terms of the GNU 6 * General Public License as published by the Free Software Foundation; either version 2 of the 7 * License, or any later version. 8 * Estraier is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; 9 * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 10 * See the GNU General Public License for more details. 11 * You should have received a copy of the GNU General Public License along with Estraier; 12 * if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, 13 * MA 02111-1307 USA. 14 *************************************************************************************************/ 15 16 17 #ifndef _ESTMECAB_H /* duplication check */ 18 #define _ESTMECAB_H 19 20 21 22 /************************************************************************************************* 23 * functions 24 *************************************************************************************************/ 25 26 27 /* Break a Japanese text into words and register them to a document handle, using Mecab. 28 `doc' specifies a document handle. 29 `text' specifies a text whose encoding is EUC-JP. 30 `mode' specifies detailed behavior. */ 31 extern void (*estdocaddtextmecab)(ODDOC *doc, const char *text, int mode); 32 33 34 35 #endif /* duplication check */ 36 37 38 /* END OF FILE */ 39