File: kanren.man

package info (click to toggle)
freewnn 1.1.1~a021%2Bcvs20130302-4
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 18,932 kB
  • ctags: 8,674
  • sloc: ansic: 97,647; sh: 8,551; makefile: 6,491; cpp: 88
file content (131 lines) | stat: -rw-r--r-- 4,310 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
.\"
.\"   $Id: kanren.man,v 1.3 2001/06/14 18:08:33 ura Exp $
.\"
.\"
.\" FreeWnn is a network-extensible Kana-to-Kanji conversion system.
.\" This file is part of FreeWnn.
.\" 
.\" Copyright Kyoto University Research Institute for Mathematical Sciences
.\"                 1987, 1988, 1989, 1990, 1991, 1992
.\" Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999
.\" Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992
.\" Copyright FreeWnn Project 1999, 2000
.\" 
.\" Maintainer:  FreeWnn Project   <freewnn@tomo.gr.jp>
.\" 
.\" This program is free software; you can redistribute it and/or modify
.\" it under the terms of the GNU General Public License as published by
.\" the Free Software Foundation; either version 2 of the License, or
.\" (at your option) any later version.
.\" 
.\" This program is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\" GNU General Public License for more details.
.\" 
.\" You should have received a copy of the GNU General Public License
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
.\"
.TH JS_KANREN 3  "20 September 1991"
.SH ̾
.sv 1
.nf
.ta 0.1i 2i
js_kanren()	ϢʸѴԤ
.fi
.SH 
.sv 1
.nf
.ta 0.1i 3i
#include "jslib.h"

int
js_kanren(env,yomi,hinsi,fzk,vec,vec1,vec2,rb)
struct wnn_env *env;		/* Ķ */
w_char *yomi;			/* ɤ */
int hinsi;			/* ʻֹ */
w_char *fzk;			/* °ʸ */
int vec;			/* ³٥ */
int vec1;			/* ³٥ */
int vec2;			/* ³٥ */
struct wnn_ret_buf *rb;		/* Ѵ̤֤ꥢؤΥݥ */
.fi
.SH ǽ
.HP 0
.IP
ɤ yomi ϢʸѴ֤

hinsi, fzk ϡyomi ʸʸʻֹ桢°ʸꤹ롣

ʻֹ桢°ʸꤷϡyomi Ƭʸʸ³
Ǥ뾮ʸ(ʸޤʸȤʤ)ȤѴ롣

ʸ³Ǥ䤬̵ϡʸƬˤʤΤ֤
ʤϡʸƬˤʤʤ(ˡꤷʻʳ
ʻ줬ʤƤϤʤΡȤСhinsi ̾ꤷȤ
:ˤϡ줬ʸȤʤ)֤

Τɤθ䤬Ф줿ϡrb->buf->sbn->status ֤롣
.nf
.ta 0.3i 2.5i
	    WNN_CONNECT		ꤵ줿(ʻ졢°)³Ǥ
	    WNN_SENTOU		ʸƬ
	    WNN_NOT_CONNECT	ʸƬˤʤʤ³Ǥʤ
	    WNN_GIJI		ʸȤѴ
.fi

ʸ°줬̵ϡNULL ꤹ롣

ξʸȤʸȤѴϡhinsi ˡ
.nf
.ta 0.3i 2.5i
	    WNN_BUN_SENTOU	(ʸƬˤʤ)
	    WNN_ALL_HINSI	(Ƥξʸ)
.fi
ꤹ롣

vecvec1 ϡѴΤνü٥ȥꤹ롣
ξʸü٥ȥꤹ롣ξϡyomi κǸʸ
ʸޤ᤿ΤʸȤʤ롣
ξʸȤʸȤѴϡvec vec1 ˡ
.nf
.ta 0.3i 2.5i
	    WNN_VECT_KANREN (ϢʸѴνü٥ȥ)
	    WNN_VECT_KANTAN (ñʸѴνü٥ȥ)
	    WNN_VECT_KANZEN (Фνü٥ȥ)
	    WNN_VECT_BUNSETSU (ʸνü٥ȥ)
.fi
ꤹ롣

vec ˻ꤷü٥ȥϡvec1 ˻ꤷü٥ȥ⡢ɾ
ब⤯ʤ롣
̾vec ˤϸξʸü٥ȥvec1 ˤϡWNN_VECT_KANREN
ꤹ롣
vec1 ˻ꤹ٤ü٥ȥ뤬ʤϡWNN_VECT_NO ꤹ롣
ξ vec ΤߤѴ˻Ѥ롣

vec2 ϡϢʸѴʸǻѤ롣
̾vec2 ˤ WNN_VECT_BUNSETSU ꤹ롣


vec ³Ǥʸᤫvec1 ³Ǥʸᤫϡ
rb->buf->sbn->status_bkwd ֤롣
vec ³ǤϡWNN_CONNECT_BK vec1 ³Ǥϡ
WNN_NOT_CONNECT_BK ֤롣
ͤϡyomi ˻ꤷǸʸΤߤͭǤ롣

rb ˤϡѴ̤֤륨ꥢؤΥݥ(struct wnn_ret_buf *)
롣rb ϡ桼Ѱդ *rb = {0, NULL} ˽롣
rb->buf Ѵ̤ʸξ(struct wnn_dai_bunsetsu *)Ƭؤ
ݥ󥿤֤롣顢ʸʸξ󤬡äƤ롣

°ե뤬ɤ߹ޤƤʤϡ顼Ȥʤ롣
.SH ꥿Х塼
.sv 1
.nf
ェλˤϡʸ֤
۾ェλˤϡ-1 ֤
.fi