~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty-proposed

« back to all changes in this revision

Viewing changes to mymorph.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*************************************************************************************************
 
2
 * Morphological analyzers for Hyper Estraier
 
3
 *                                                      Copyright (C) 2004-2006 Mikio Hirabayashi
 
4
 * This file is part of Hyper Estraier.
 
5
 * Hyper Estraier is free software; you can redistribute it and/or modify it under the terms of
 
6
 * the GNU Lesser General Public License as published by the Free Software Foundation; either
 
7
 * version 2.1 of the License or any later version.  Hyper Estraier is distributed in the hope
 
8
 * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public
 
10
 * License for more details.
 
11
 * You should have received a copy of the GNU Lesser General Public License along with Hyper
 
12
 * Estraier; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
 
13
 * Boston, MA 02111-1307 USA.
 
14
 *************************************************************************************************/
 
15
 
 
16
 
 
17
#ifndef _MYMORPH_H                       /* duplication check */
 
18
#define _MYMORPH_H
 
19
 
 
20
 
 
21
#include <estraier.h>
 
22
#include <cabin.h>
 
23
 
 
24
 
 
25
 
 
26
/*************************************************************************************************
 
27
 * pseudo API
 
28
 *************************************************************************************************/
 
29
 
 
30
 
 
31
/* Extract keywords of a document object using morphological analyzers.
 
32
   `doc' specifies a document object.
 
33
   `max' specifies the maximum number of keywords to be extracted.
 
34
   The return value is a new map object of keywords and their scores in decimal string.  Because
 
35
   the object of the return value is opened with the function `cbmapopen', it should be closed
 
36
   with the function `cbmapclose' if it is no longer in use. */
 
37
CBMAP *est_morph_etch_doc(ESTDOC *doc, int max);
 
38
 
 
39
 
 
40
 
 
41
#endif                                   /* duplication check */