File size: 7,457 Bytes
12bfd03
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# 
# Feature(POS) to Internal State mapping
#
[unigram rewrite]
# ่ชญใฟ,็™บ้Ÿณใ‚’ใจใ‚Šใฎใžใ„ใฆ, ๅ“่ฉž1,2,3,4,ๆดป็”จๅฝข,ๆดป็”จๅž‹,ๅŽŸๅฝข,ใ‚ˆใฟ ใ‚’ไฝฟใ†
*,*,*,*,*,*,*,*  $1,$2,$3,$4,$5,$6,$7,$8
# ่ชญใฟใŒใชใ„ๅ ดๅˆใฏ็„ก่ฆ–
*,*,*,*,*,*,*    $1,$2,$3,$4,$5,$6,$7,*

[left rewrite]
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),*,*,*,*,*,(ใชใ„|็„กใ„)    $1,$2,$3,$4,$5,$6,็„กใ„
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),็ต‚ๅŠฉ่ฉž,*,*,*,*,(ใ‚ˆ|ใƒจ)   $1,$2,$3,$4,$5,$6,ใ‚ˆ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),็ต‚ๅŠฉ่ฉž,*,*,*,*,(ใช|ใชใ|ใชใ‚|ใƒŠ)  $1,$2,$3,$4,$5,$6,ใช
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),็ต‚ๅŠฉ่ฉž,*,*,*,*,(ใญ|ใญใ‡|ใญใˆ|ใญใ‚ง|ใญใ‚จ|ใญใฃ|ใญใƒƒ|ใƒ)  $1,$2,$3,$4,$5,$6,ใญ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใฆ|ใกใ‚ƒ|ใกใ‚ƒใ‚)   $1,$2,$3,$4,$5,$6,ใฆ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใกใ‚ƒใ‚|ใกใ‚ƒ)      $1,$2,$3,$4,$5,$6,ใกใ‚ƒ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใง|ใ˜ใ‚ƒ)          $1,$2,$3,$4,$5,$6,ใง
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใ‘ใฉ|ใ‘ใ‚Œใฉ)      $1,$2,$3,$4,$5,$6,ใ‘ใ‚Œใฉ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),*,*,*,*,*,*                         $1,$2,$3,$4,$5,$6,$7
่จ˜ๅท,(ๅฅ็‚น|ๆ‹ฌๅผง้–‰|ๆ‹ฌๅผง้–‹),*,*,*,*,*   $1,$2,$3,$4,$5,$6,BOS/EOS
BOS/EOS,*,*,*,*,*,*                   $1,$2,$3,$4,$5,$6,BOS/EOS
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,(่กŒใ†|่กŒใชใ†)       $1,$2,$3,$4,$5,$6,่กŒใ†
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,(ใ„ใ†|่จ€ใ†|ไบ‘ใ†)    $1,$2,$3,$4,$5,$6,่จ€ใ†
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,(ใ„ใ|่กŒใ)         $1,$2,$3,$4,$5,$6,่กŒใ
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,ใ™ใ‚‹                $1,$2,$3,$4,$5,$6,ใ™ใ‚‹
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,*                   $1,$2,$3,$4,$5,$6,*
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ‚ใ‚‹|ใŠใ‚‹|ใ‹ใ‹ใ‚‹|ใใ‚‹|ใชใ‚‹|ใพใ„ใ‚‹|ใพใ‚ใ‚‹|ใ‚„ใ‚‹|ๅ›žใ‚‹|็ต‚ใ‚ใ‚‹|ๅˆ‡ใ‚‹|ๅ‚ใ‚‹|ใ„ใ‚‰ใฃใ—ใ‚ƒใ‚‹|ใ‚‰ใฃใ—ใ‚ƒใ‚‹|ใชใ•ใ‚‹|ใ‚‹|ใ‚‚ใ‚‰ใ†|ใ—ใพใ†|็ถšใ|ใ„ใ|ใ‚†ใ|่กŒใ|ใ|ใใ‚Œใ‚‹|ใŠใ|ใ™ใ‚‹)  $1,$2,$3,$4,$5,$6,$7
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ๆฅใ‚‹|ใใ‚‹)          $1,$2,$3,$4,$5,$6,ๆฅใ‚‹
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใฌใ|ๆŠœใ)          $1,$2,$3,$4,$5,$6,ๆŠœใ
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(้ ‚ใ|ใ„ใŸใ ใ)      $1,$2,$3,$4,$5,$6,้ ‚ใ
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ„ใŸใ™|่‡ดใ™)        $1,$2,$3,$4,$5,$6,่‡ดใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ ใ™|ๅ‡บใ™)          $1,$2,$3,$4,$5,$6,ๅ‡บใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใคใใ™|ๅฐฝใใ™|ๅฐฝใ™) $1,$2,$3,$4,$5,$6,ๅฐฝใใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(็›ดใ™|ใชใŠใ™)        $1,$2,$3,$4,$5,$6,็›ดใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(่พผใ‚€|ใ“ใ‚€)          $1,$2,$3,$4,$5,$6,่พผใ‚€
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใใ ใ•ใ‚‹|ไธ‹ใ•ใ‚‹)    $1,$2,$3,$4,$5,$6,ไธ‹ใ•ใ‚‹
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ๅˆใ†|ใ‚ใ†)          $1,$2,$3,$4,$5,$6,ๅˆใ†
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,*                    $1,$2,$3,$4,$5,$6,*
ๅฝขๅฎน่ฉž,*,*,*,*,*,(ใชใ„|็„กใ„|ใ„ใ„|ใ‚‰ใ—ใ„)   $1,$2,$3,$4,$5,$6,็„กใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,(่‡ญใ„|ใใ•ใ„)          $1,$2,$3,$4,$5,$6,่‡ญใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,(ๆฌฒใ—ใ„|ใปใ—ใ„)        $1,$2,$3,$4,$5,$6,ๆฌฒใ—ใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,(ใฃใŸใ‚‰ใ—ใ„|ใŸใ‚‰ใ—ใ„|ใฃใฝใ„|ใฝใ„) $1,$2,$3,$4,$5,$6,ใŸใ‚‰ใ—ใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,*                                 $1,$2,$3,$4,$5,$6,*
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(้›ฃใ„|ใŒใŸใ„|ใฅใ‚‰ใ„|ใซใใ„|ใ‚„ใ™ใ„)  $1,$2,$3,$4,$5,$6,้›ฃใ„
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ‚ˆใ„|่‰ฏใ„)                         $1,$2,$3,$4,$5,$6,่‰ฏใ„
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ๆฌฒใ—ใ„|ใปใ—ใ„)                     $1,$2,$3,$4,$5,$6,ๆฌฒใ—ใ„
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ˜ใพใ†|ใ˜ใ‚ƒใ†|ใงใ|ใฉใ|ใงใ‚‹|ใฉใ‚‹) $1,$2,$3,$4,$5,$6,ใงใ‚‹
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใกใพใ†|ใกใ‚ƒใ†|ใฆใ|ใจใ|ใฆใ‚‹|ใจใ‚‹) $1,$2,$3,$4,$5,$6,ใฆใ‚‹
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,*                                   $1,$2,$3,$4,$5,$6,*
ๆŽฅ็ถš่ฉž,*,*,*,*,*,(ๅŠใณ|ใŠใ‚ˆใณ|ใ‚ใ‚‹ใ„ใฏ|ๆˆ–ใ„ใฏ|ๆˆ–ใฏ|ใพใŸใฏ|ๅˆใฏ|ใชใ„ใ—|ใชใ‚‰ใณใซ|ไธฆใณใซ|ใ‚‚ใ—ใใฏ|่‹ฅใ—ใใฏ)   $1,$2,$3,$4,$5,$6,ใŠใ‚ˆใณ
*,*,*,*,*,*,*    $1,$2,$3,$4,$5,$6,*

[right rewrite]
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),*,*,*,*,*,(ใชใ„|็„กใ„)    $1,$2,$3,$4,$5,$6,็„กใ„
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),็ต‚ๅŠฉ่ฉž,*,*,*,*,(ใ‚ˆ|ใƒจ)   $1,$2,$3,$4,$5,$6,ใ‚ˆ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),็ต‚ๅŠฉ่ฉž,*,*,*,*,(ใช|ใชใ|ใชใ‚|ใƒŠ)  $1,$2,$3,$4,$5,$6,ใช
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),็ต‚ๅŠฉ่ฉž,*,*,*,*,(ใญ|ใญใ‡|ใญใˆ|ใญใ‚ง|ใญใ‚จ|ใญใฃ|ใญใƒƒ|ใƒ)  $1,$2,$3,$4,$5,$6,ใญ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใฆ|ใกใ‚ƒ|ใกใ‚ƒใ‚)   $1,$2,$3,$4,$5,$6,ใฆ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใกใ‚ƒใ‚|ใกใ‚ƒ)      $1,$2,$3,$4,$5,$6,ใกใ‚ƒ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใง|ใ˜ใ‚ƒ)          $1,$2,$3,$4,$5,$6,ใง
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),ๆŽฅ็ถšๅŠฉ่ฉž,*,*,*,*,(ใ‘ใฉ|ใ‘ใ‚Œใฉ)      $1,$2,$3,$4,$5,$6,ใ‘ใ‚Œใฉ
(ๅŠฉ่ฉž|ๅŠฉๅ‹•่ฉž),*,*,*,*,*,*                         $1,$2,$3,$4,$5,$6,$7
่จ˜ๅท,(ๅฅ็‚น|ๆ‹ฌๅผง้–‰|ๆ‹ฌๅผง้–‹),*,*,*,*,*   $1,$2,$3,$4,$5,$6,BOS/EOS
BOS/EOS,*,*,*,*,*,*                   $1,$2,$3,$4,$5,$6,BOS/EOS
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,(่กŒใ†|่กŒใชใ†)       $1,$2,$3,$4,$5,$6,่กŒใ†
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,(ใ„ใ†|่จ€ใ†|ไบ‘ใ†)    $1,$2,$3,$4,$5,$6,่จ€ใ†
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,(ใ„ใ|่กŒใ)         $1,$2,$3,$4,$5,$6,่กŒใ
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,ใ™ใ‚‹                $1,$2,$3,$4,$5,$6,ใ™ใ‚‹
ๅ‹•่ฉž,่‡ช็ซ‹,*,*,*,*,*                   $1,$2,$3,$4,$5,$6,*
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ‚ใ‚‹|ใŠใ‚‹|ใ‹ใ‹ใ‚‹|ใใ‚‹|ใชใ‚‹|ใพใ„ใ‚‹|ใพใ‚ใ‚‹|ใ‚„ใ‚‹|ๅ›žใ‚‹|็ต‚ใ‚ใ‚‹|ๅˆ‡ใ‚‹|ๅ‚ใ‚‹|ใ„ใ‚‰ใฃใ—ใ‚ƒใ‚‹|ใ‚‰ใฃใ—ใ‚ƒใ‚‹|ใชใ•ใ‚‹|ใ‚‹|ใ‚‚ใ‚‰ใ†|ใ—ใพใ†|็ถšใ|ใ„ใ|ใ‚†ใ|่กŒใ|ใ|ใใ‚Œใ‚‹|ใŠใ|ใ™ใ‚‹)  $1,$2,$3,$4,$5,$6,$7
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ๆฅใ‚‹|ใใ‚‹)          $1,$2,$3,$4,$5,$6,ๆฅใ‚‹
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใฌใ|ๆŠœใ)          $1,$2,$3,$4,$5,$6,ๆŠœใ
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(้ ‚ใ|ใ„ใŸใ ใ)      $1,$2,$3,$4,$5,$6,้ ‚ใ
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ„ใŸใ™|่‡ดใ™)        $1,$2,$3,$4,$5,$6,่‡ดใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ ใ™|ๅ‡บใ™)          $1,$2,$3,$4,$5,$6,ๅ‡บใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใคใใ™|ๅฐฝใใ™|ๅฐฝใ™) $1,$2,$3,$4,$5,$6,ๅฐฝใใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(็›ดใ™|ใชใŠใ™)        $1,$2,$3,$4,$5,$6,็›ดใ™
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(่พผใ‚€|ใ“ใ‚€)          $1,$2,$3,$4,$5,$6,่พผใ‚€
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใใ ใ•ใ‚‹|ไธ‹ใ•ใ‚‹)    $1,$2,$3,$4,$5,$6,ไธ‹ใ•ใ‚‹
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ๅˆใ†|ใ‚ใ†)          $1,$2,$3,$4,$5,$6,ๅˆใ†
ๅ‹•่ฉž,้ž่‡ช็ซ‹,*,*,*,*,*                    $1,$2,$3,$4,$5,$6,*
ๅฝขๅฎน่ฉž,*,*,*,*,*,(ใชใ„|็„กใ„|ใ„ใ„|ใ‚‰ใ—ใ„)   $1,$2,$3,$4,$5,$6,็„กใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,(่‡ญใ„|ใใ•ใ„)          $1,$2,$3,$4,$5,$6,่‡ญใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,(ๆฌฒใ—ใ„|ใปใ—ใ„)        $1,$2,$3,$4,$5,$6,ๆฌฒใ—ใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,(ใฃใŸใ‚‰ใ—ใ„|ใŸใ‚‰ใ—ใ„|ใฃใฝใ„|ใฝใ„) $1,$2,$3,$4,$5,$6,ใŸใ‚‰ใ—ใ„
ๅฝขๅฎน่ฉž,ๆŽฅๅฐพ,*,*,*,*,*                                 $1,$2,$3,$4,$5,$6,*
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(้›ฃใ„|ใŒใŸใ„|ใฅใ‚‰ใ„|ใซใใ„|ใ‚„ใ™ใ„)  $1,$2,$3,$4,$5,$6,้›ฃใ„
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ‚ˆใ„|่‰ฏใ„)                         $1,$2,$3,$4,$5,$6,่‰ฏใ„
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ๆฌฒใ—ใ„|ใปใ—ใ„)                     $1,$2,$3,$4,$5,$6,ๆฌฒใ—ใ„
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใ˜ใพใ†|ใ˜ใ‚ƒใ†|ใงใ|ใฉใ|ใงใ‚‹|ใฉใ‚‹) $1,$2,$3,$4,$5,$6,ใงใ‚‹
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,(ใกใพใ†|ใกใ‚ƒใ†|ใฆใ|ใจใ|ใฆใ‚‹|ใจใ‚‹) $1,$2,$3,$4,$5,$6,ใฆใ‚‹
ๅฝขๅฎน่ฉž,้ž่‡ช็ซ‹,*,*,*,*,*                                   $1,$2,$3,$4,$5,$6,*
ๆŽฅ็ถš่ฉž,*,*,*,*,*,(ๅŠใณ|ใŠใ‚ˆใณ|ใ‚ใ‚‹ใ„ใฏ|ๆˆ–ใ„ใฏ|ๆˆ–ใฏ|ใพใŸใฏ|ๅˆใฏ|ใชใ„ใ—|ใชใ‚‰ใณใซ|ไธฆใณใซ|ใ‚‚ใ—ใใฏ|่‹ฅใ—ใใฏ)   $1,$2,$3,$4,$5,$6,ใŠใ‚ˆใณ
*,*,*,*,*,*,*    $1,$2,$3,$4,$5,$6,*