q9uri commited on
Commit
bedc406
·
1 Parent(s): 940f5c7

add unidic-mecab-2.1.2

Browse files
.gitattributes CHANGED
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.csv filter=lfs diff=lfs merge=lfs -text
src/ja/unidic-mecab-2.1.2_src/AUTHORS ADDED
@@ -0,0 +1 @@
 
 
1
+ The UniDic Consortium
src/ja/unidic-mecab-2.1.2_src/BSD ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright (c) 2011-2013, The UniDic Consortium
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without
5
+ modification, are permitted provided that the following conditions are
6
+ met:
7
+
8
+ * Redistributions of source code must retain the above copyright
9
+ notice, this list of conditions and the following disclaimer.
10
+
11
+ * Redistributions in binary form must reproduce the above copyright
12
+ notice, this list of conditions and the following disclaimer in the
13
+ documentation and/or other materials provided with the
14
+ distribution.
15
+
16
+ * Neither the name of the UniDic Consortium nor the names of its
17
+ contributors may be used to endorse or promote products derived
18
+ from this software without specific prior written permission.
19
+
20
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
src/ja/unidic-mecab-2.1.2_src/COPYING ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ unidic-mecab is copyrighted free software by the UniDic Consortium,
2
+ and is released under any of the GPL (see the file GPL), the LGPL (see
3
+ the file LGPL), or the BSD License (see the file BSD).
4
+
src/ja/unidic-mecab-2.1.2_src/ChangeLog ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2013-01-26 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
2
+
3
+ * ver. 2.1.2 release
4
+ Customized lex.csv for kana and accent information added
5
+
6
+ 2012-12-12 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
7
+
8
+ * ver. 2.1.1 release
9
+ Adjusted to MeCab-0.994
10
+
11
+ 2011-02-27 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
12
+
13
+ * ver. 2.1.0 release
14
+ New release based on UniDic2
15
+
16
+ 2009-07-31 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
17
+
18
+ * ver. 1.3.12 release
19
+ Some minor changes
20
+
21
+ 2009-04-30 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
22
+
23
+ * ver. 1.3.11 release
24
+ New POS tag `Ascii-Art' added
25
+
26
+ 2008-07-15 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
27
+
28
+ * ver. 1.3.9 release
29
+ Bug fix
30
+
31
+ 2008-04-25 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
32
+
33
+ * ver. 1.3.8 release
34
+ Goshu information added
35
+
36
+ 2007-10-12 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
37
+
38
+ * ver. 1.3.5 release
39
+ The conjugation system changed: Kihon -> Syusi/Rentai
40
+
41
+ 2007-04-06 Yasuharu DEN <den@cogsci.L.chiba-u.ac.jp>
42
+
43
+ * ver. 1.3.0 release
src/ja/unidic-mecab-2.1.2_src/GPL ADDED
@@ -0,0 +1,340 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Library General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License
307
+ along with this program; if not, write to the Free Software
308
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
309
+
310
+
311
+ Also add information on how to contact you by electronic and paper mail.
312
+
313
+ If the program is interactive, make it output a short notice like this
314
+ when it starts in an interactive mode:
315
+
316
+ Gnomovision version 69, Copyright (C) year name of author
317
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
+ This is free software, and you are welcome to redistribute it
319
+ under certain conditions; type `show c' for details.
320
+
321
+ The hypothetical commands `show w' and `show c' should show the appropriate
322
+ parts of the General Public License. Of course, the commands you use may
323
+ be called something other than `show w' and `show c'; they could even be
324
+ mouse-clicks or menu items--whatever suits your program.
325
+
326
+ You should also get your employer (if you work as a programmer) or your
327
+ school, if any, to sign a "copyright disclaimer" for the program, if
328
+ necessary. Here is a sample; alter the names:
329
+
330
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
+
333
+ <signature of Ty Coon>, 1 April 1989
334
+ Ty Coon, President of Vice
335
+
336
+ This General Public License does not permit incorporating your program into
337
+ proprietary programs. If your program is a subroutine library, you may
338
+ consider it more useful to permit linking proprietary applications with the
339
+ library. If this is what you want to do, use the GNU Library General
340
+ Public License instead of this License.
src/ja/unidic-mecab-2.1.2_src/INSTALL ADDED
@@ -0,0 +1 @@
 
 
1
+ see unidic-mecab.pdf
src/ja/unidic-mecab-2.1.2_src/LGPL ADDED
@@ -0,0 +1,504 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 2.1, February 1999
3
+
4
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ [This is the first released version of the Lesser GPL. It also counts
10
+ as the successor of the GNU Library Public License, version 2, hence
11
+ the version number 2.1.]
12
+
13
+ Preamble
14
+
15
+ The licenses for most software are designed to take away your
16
+ freedom to share and change it. By contrast, the GNU General Public
17
+ Licenses are intended to guarantee your freedom to share and change
18
+ free software--to make sure the software is free for all its users.
19
+
20
+ This license, the Lesser General Public License, applies to some
21
+ specially designated software packages--typically libraries--of the
22
+ Free Software Foundation and other authors who decide to use it. You
23
+ can use it too, but we suggest you first think carefully about whether
24
+ this license or the ordinary General Public License is the better
25
+ strategy to use in any particular case, based on the explanations below.
26
+
27
+ When we speak of free software, we are referring to freedom of use,
28
+ not price. Our General Public Licenses are designed to make sure that
29
+ you have the freedom to distribute copies of free software (and charge
30
+ for this service if you wish); that you receive source code or can get
31
+ it if you want it; that you can change the software and use pieces of
32
+ it in new free programs; and that you are informed that you can do
33
+ these things.
34
+
35
+ To protect your rights, we need to make restrictions that forbid
36
+ distributors to deny you these rights or to ask you to surrender these
37
+ rights. These restrictions translate to certain responsibilities for
38
+ you if you distribute copies of the library or if you modify it.
39
+
40
+ For example, if you distribute copies of the library, whether gratis
41
+ or for a fee, you must give the recipients all the rights that we gave
42
+ you. You must make sure that they, too, receive or can get the source
43
+ code. If you link other code with the library, you must provide
44
+ complete object files to the recipients, so that they can relink them
45
+ with the library after making changes to the library and recompiling
46
+ it. And you must show them these terms so they know their rights.
47
+
48
+ We protect your rights with a two-step method: (1) we copyright the
49
+ library, and (2) we offer you this license, which gives you legal
50
+ permission to copy, distribute and/or modify the library.
51
+
52
+ To protect each distributor, we want to make it very clear that
53
+ there is no warranty for the free library. Also, if the library is
54
+ modified by someone else and passed on, the recipients should know
55
+ that what they have is not the original version, so that the original
56
+ author's reputation will not be affected by problems that might be
57
+ introduced by others.
58
+
59
+ Finally, software patents pose a constant threat to the existence of
60
+ any free program. We wish to make sure that a company cannot
61
+ effectively restrict the users of a free program by obtaining a
62
+ restrictive license from a patent holder. Therefore, we insist that
63
+ any patent license obtained for a version of the library must be
64
+ consistent with the full freedom of use specified in this license.
65
+
66
+ Most GNU software, including some libraries, is covered by the
67
+ ordinary GNU General Public License. This license, the GNU Lesser
68
+ General Public License, applies to certain designated libraries, and
69
+ is quite different from the ordinary General Public License. We use
70
+ this license for certain libraries in order to permit linking those
71
+ libraries into non-free programs.
72
+
73
+ When a program is linked with a library, whether statically or using
74
+ a shared library, the combination of the two is legally speaking a
75
+ combined work, a derivative of the original library. The ordinary
76
+ General Public License therefore permits such linking only if the
77
+ entire combination fits its criteria of freedom. The Lesser General
78
+ Public License permits more lax criteria for linking other code with
79
+ the library.
80
+
81
+ We call this license the "Lesser" General Public License because it
82
+ does Less to protect the user's freedom than the ordinary General
83
+ Public License. It also provides other free software developers Less
84
+ of an advantage over competing non-free programs. These disadvantages
85
+ are the reason we use the ordinary General Public License for many
86
+ libraries. However, the Lesser license provides advantages in certain
87
+ special circumstances.
88
+
89
+ For example, on rare occasions, there may be a special need to
90
+ encourage the widest possible use of a certain library, so that it becomes
91
+ a de-facto standard. To achieve this, non-free programs must be
92
+ allowed to use the library. A more frequent case is that a free
93
+ library does the same job as widely used non-free libraries. In this
94
+ case, there is little to gain by limiting the free library to free
95
+ software only, so we use the Lesser General Public License.
96
+
97
+ In other cases, permission to use a particular library in non-free
98
+ programs enables a greater number of people to use a large body of
99
+ free software. For example, permission to use the GNU C Library in
100
+ non-free programs enables many more people to use the whole GNU
101
+ operating system, as well as its variant, the GNU/Linux operating
102
+ system.
103
+
104
+ Although the Lesser General Public License is Less protective of the
105
+ users' freedom, it does ensure that the user of a program that is
106
+ linked with the Library has the freedom and the wherewithal to run
107
+ that program using a modified version of the Library.
108
+
109
+ The precise terms and conditions for copying, distribution and
110
+ modification follow. Pay close attention to the difference between a
111
+ "work based on the library" and a "work that uses the library". The
112
+ former contains code derived from the library, whereas the latter must
113
+ be combined with the library in order to run.
114
+
115
+ GNU LESSER GENERAL PUBLIC LICENSE
116
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117
+
118
+ 0. This License Agreement applies to any software library or other
119
+ program which contains a notice placed by the copyright holder or
120
+ other authorized party saying it may be distributed under the terms of
121
+ this Lesser General Public License (also called "this License").
122
+ Each licensee is addressed as "you".
123
+
124
+ A "library" means a collection of software functions and/or data
125
+ prepared so as to be conveniently linked with application programs
126
+ (which use some of those functions and data) to form executables.
127
+
128
+ The "Library", below, refers to any such software library or work
129
+ which has been distributed under these terms. A "work based on the
130
+ Library" means either the Library or any derivative work under
131
+ copyright law: that is to say, a work containing the Library or a
132
+ portion of it, either verbatim or with modifications and/or translated
133
+ straightforwardly into another language. (Hereinafter, translation is
134
+ included without limitation in the term "modification".)
135
+
136
+ "Source code" for a work means the preferred form of the work for
137
+ making modifications to it. For a library, complete source code means
138
+ all the source code for all modules it contains, plus any associated
139
+ interface definition files, plus the scripts used to control compilation
140
+ and installation of the library.
141
+
142
+ Activities other than copying, distribution and modification are not
143
+ covered by this License; they are outside its scope. The act of
144
+ running a program using the Library is not restricted, and output from
145
+ such a program is covered only if its contents constitute a work based
146
+ on the Library (independent of the use of the Library in a tool for
147
+ writing it). Whether that is true depends on what the Library does
148
+ and what the program that uses the Library does.
149
+
150
+ 1. You may copy and distribute verbatim copies of the Library's
151
+ complete source code as you receive it, in any medium, provided that
152
+ you conspicuously and appropriately publish on each copy an
153
+ appropriate copyright notice and disclaimer of warranty; keep intact
154
+ all the notices that refer to this License and to the absence of any
155
+ warranty; and distribute a copy of this License along with the
156
+ Library.
157
+
158
+ You may charge a fee for the physical act of transferring a copy,
159
+ and you may at your option offer warranty protection in exchange for a
160
+ fee.
161
+
162
+ 2. You may modify your copy or copies of the Library or any portion
163
+ of it, thus forming a work based on the Library, and copy and
164
+ distribute such modifications or work under the terms of Section 1
165
+ above, provided that you also meet all of these conditions:
166
+
167
+ a) The modified work must itself be a software library.
168
+
169
+ b) You must cause the files modified to carry prominent notices
170
+ stating that you changed the files and the date of any change.
171
+
172
+ c) You must cause the whole of the work to be licensed at no
173
+ charge to all third parties under the terms of this License.
174
+
175
+ d) If a facility in the modified Library refers to a function or a
176
+ table of data to be supplied by an application program that uses
177
+ the facility, other than as an argument passed when the facility
178
+ is invoked, then you must make a good faith effort to ensure that,
179
+ in the event an application does not supply such function or
180
+ table, the facility still operates, and performs whatever part of
181
+ its purpose remains meaningful.
182
+
183
+ (For example, a function in a library to compute square roots has
184
+ a purpose that is entirely well-defined independent of the
185
+ application. Therefore, Subsection 2d requires that any
186
+ application-supplied function or table used by this function must
187
+ be optional: if the application does not supply it, the square
188
+ root function must still compute square roots.)
189
+
190
+ These requirements apply to the modified work as a whole. If
191
+ identifiable sections of that work are not derived from the Library,
192
+ and can be reasonably considered independent and separate works in
193
+ themselves, then this License, and its terms, do not apply to those
194
+ sections when you distribute them as separate works. But when you
195
+ distribute the same sections as part of a whole which is a work based
196
+ on the Library, the distribution of the whole must be on the terms of
197
+ this License, whose permissions for other licensees extend to the
198
+ entire whole, and thus to each and every part regardless of who wrote
199
+ it.
200
+
201
+ Thus, it is not the intent of this section to claim rights or contest
202
+ your rights to work written entirely by you; rather, the intent is to
203
+ exercise the right to control the distribution of derivative or
204
+ collective works based on the Library.
205
+
206
+ In addition, mere aggregation of another work not based on the Library
207
+ with the Library (or with a work based on the Library) on a volume of
208
+ a storage or distribution medium does not bring the other work under
209
+ the scope of this License.
210
+
211
+ 3. You may opt to apply the terms of the ordinary GNU General Public
212
+ License instead of this License to a given copy of the Library. To do
213
+ this, you must alter all the notices that refer to this License, so
214
+ that they refer to the ordinary GNU General Public License, version 2,
215
+ instead of to this License. (If a newer version than version 2 of the
216
+ ordinary GNU General Public License has appeared, then you can specify
217
+ that version instead if you wish.) Do not make any other change in
218
+ these notices.
219
+
220
+ Once this change is made in a given copy, it is irreversible for
221
+ that copy, so the ordinary GNU General Public License applies to all
222
+ subsequent copies and derivative works made from that copy.
223
+
224
+ This option is useful when you wish to copy part of the code of
225
+ the Library into a program that is not a library.
226
+
227
+ 4. You may copy and distribute the Library (or a portion or
228
+ derivative of it, under Section 2) in object code or executable form
229
+ under the terms of Sections 1 and 2 above provided that you accompany
230
+ it with the complete corresponding machine-readable source code, which
231
+ must be distributed under the terms of Sections 1 and 2 above on a
232
+ medium customarily used for software interchange.
233
+
234
+ If distribution of object code is made by offering access to copy
235
+ from a designated place, then offering equivalent access to copy the
236
+ source code from the same place satisfies the requirement to
237
+ distribute the source code, even though third parties are not
238
+ compelled to copy the source along with the object code.
239
+
240
+ 5. A program that contains no derivative of any portion of the
241
+ Library, but is designed to work with the Library by being compiled or
242
+ linked with it, is called a "work that uses the Library". Such a
243
+ work, in isolation, is not a derivative work of the Library, and
244
+ therefore falls outside the scope of this License.
245
+
246
+ However, linking a "work that uses the Library" with the Library
247
+ creates an executable that is a derivative of the Library (because it
248
+ contains portions of the Library), rather than a "work that uses the
249
+ library". The executable is therefore covered by this License.
250
+ Section 6 states terms for distribution of such executables.
251
+
252
+ When a "work that uses the Library" uses material from a header file
253
+ that is part of the Library, the object code for the work may be a
254
+ derivative work of the Library even though the source code is not.
255
+ Whether this is true is especially significant if the work can be
256
+ linked without the Library, or if the work is itself a library. The
257
+ threshold for this to be true is not precisely defined by law.
258
+
259
+ If such an object file uses only numerical parameters, data
260
+ structure layouts and accessors, and small macros and small inline
261
+ functions (ten lines or less in length), then the use of the object
262
+ file is unrestricted, regardless of whether it is legally a derivative
263
+ work. (Executables containing this object code plus portions of the
264
+ Library will still fall under Section 6.)
265
+
266
+ Otherwise, if the work is a derivative of the Library, you may
267
+ distribute the object code for the work under the terms of Section 6.
268
+ Any executables containing that work also fall under Section 6,
269
+ whether or not they are linked directly with the Library itself.
270
+
271
+ 6. As an exception to the Sections above, you may also combine or
272
+ link a "work that uses the Library" with the Library to produce a
273
+ work containing portions of the Library, and distribute that work
274
+ under terms of your choice, provided that the terms permit
275
+ modification of the work for the customer's own use and reverse
276
+ engineering for debugging such modifications.
277
+
278
+ You must give prominent notice with each copy of the work that the
279
+ Library is used in it and that the Library and its use are covered by
280
+ this License. You must supply a copy of this License. If the work
281
+ during execution displays copyright notices, you must include the
282
+ copyright notice for the Library among them, as well as a reference
283
+ directing the user to the copy of this License. Also, you must do one
284
+ of these things:
285
+
286
+ a) Accompany the work with the complete corresponding
287
+ machine-readable source code for the Library including whatever
288
+ changes were used in the work (which must be distributed under
289
+ Sections 1 and 2 above); and, if the work is an executable linked
290
+ with the Library, with the complete machine-readable "work that
291
+ uses the Library", as object code and/or source code, so that the
292
+ user can modify the Library and then relink to produce a modified
293
+ executable containing the modified Library. (It is understood
294
+ that the user who changes the contents of definitions files in the
295
+ Library will not necessarily be able to recompile the application
296
+ to use the modified definitions.)
297
+
298
+ b) Use a suitable shared library mechanism for linking with the
299
+ Library. A suitable mechanism is one that (1) uses at run time a
300
+ copy of the library already present on the user's computer system,
301
+ rather than copying library functions into the executable, and (2)
302
+ will operate properly with a modified version of the library, if
303
+ the user installs one, as long as the modified version is
304
+ interface-compatible with the version that the work was made with.
305
+
306
+ c) Accompany the work with a written offer, valid for at
307
+ least three years, to give the same user the materials
308
+ specified in Subsection 6a, above, for a charge no more
309
+ than the cost of performing this distribution.
310
+
311
+ d) If distribution of the work is made by offering access to copy
312
+ from a designated place, offer equivalent access to copy the above
313
+ specified materials from the same place.
314
+
315
+ e) Verify that the user has already received a copy of these
316
+ materials or that you have already sent this user a copy.
317
+
318
+ For an executable, the required form of the "work that uses the
319
+ Library" must include any data and utility programs needed for
320
+ reproducing the executable from it. However, as a special exception,
321
+ the materials to be distributed need not include anything that is
322
+ normally distributed (in either source or binary form) with the major
323
+ components (compiler, kernel, and so on) of the operating system on
324
+ which the executable runs, unless that component itself accompanies
325
+ the executable.
326
+
327
+ It may happen that this requirement contradicts the license
328
+ restrictions of other proprietary libraries that do not normally
329
+ accompany the operating system. Such a contradiction means you cannot
330
+ use both them and the Library together in an executable that you
331
+ distribute.
332
+
333
+ 7. You may place library facilities that are a work based on the
334
+ Library side-by-side in a single library together with other library
335
+ facilities not covered by this License, and distribute such a combined
336
+ library, provided that the separate distribution of the work based on
337
+ the Library and of the other library facilities is otherwise
338
+ permitted, and provided that you do these two things:
339
+
340
+ a) Accompany the combined library with a copy of the same work
341
+ based on the Library, uncombined with any other library
342
+ facilities. This must be distributed under the terms of the
343
+ Sections above.
344
+
345
+ b) Give prominent notice with the combined library of the fact
346
+ that part of it is a work based on the Library, and explaining
347
+ where to find the accompanying uncombined form of the same work.
348
+
349
+ 8. You may not copy, modify, sublicense, link with, or distribute
350
+ the Library except as expressly provided under this License. Any
351
+ attempt otherwise to copy, modify, sublicense, link with, or
352
+ distribute the Library is void, and will automatically terminate your
353
+ rights under this License. However, parties who have received copies,
354
+ or rights, from you under this License will not have their licenses
355
+ terminated so long as such parties remain in full compliance.
356
+
357
+ 9. You are not required to accept this License, since you have not
358
+ signed it. However, nothing else grants you permission to modify or
359
+ distribute the Library or its derivative works. These actions are
360
+ prohibited by law if you do not accept this License. Therefore, by
361
+ modifying or distributing the Library (or any work based on the
362
+ Library), you indicate your acceptance of this License to do so, and
363
+ all its terms and conditions for copying, distributing or modifying
364
+ the Library or works based on it.
365
+
366
+ 10. Each time you redistribute the Library (or any work based on the
367
+ Library), the recipient automatically receives a license from the
368
+ original licensor to copy, distribute, link with or modify the Library
369
+ subject to these terms and conditions. You may not impose any further
370
+ restrictions on the recipients' exercise of the rights granted herein.
371
+ You are not responsible for enforcing compliance by third parties with
372
+ this License.
373
+
374
+ 11. If, as a consequence of a court judgment or allegation of patent
375
+ infringement or for any other reason (not limited to patent issues),
376
+ conditions are imposed on you (whether by court order, agreement or
377
+ otherwise) that contradict the conditions of this License, they do not
378
+ excuse you from the conditions of this License. If you cannot
379
+ distribute so as to satisfy simultaneously your obligations under this
380
+ License and any other pertinent obligations, then as a consequence you
381
+ may not distribute the Library at all. For example, if a patent
382
+ license would not permit royalty-free redistribution of the Library by
383
+ all those who receive copies directly or indirectly through you, then
384
+ the only way you could satisfy both it and this License would be to
385
+ refrain entirely from distribution of the Library.
386
+
387
+ If any portion of this section is held invalid or unenforceable under any
388
+ particular circumstance, the balance of the section is intended to apply,
389
+ and the section as a whole is intended to apply in other circumstances.
390
+
391
+ It is not the purpose of this section to induce you to infringe any
392
+ patents or other property right claims or to contest validity of any
393
+ such claims; this section has the sole purpose of protecting the
394
+ integrity of the free software distribution system which is
395
+ implemented by public license practices. Many people have made
396
+ generous contributions to the wide range of software distributed
397
+ through that system in reliance on consistent application of that
398
+ system; it is up to the author/donor to decide if he or she is willing
399
+ to distribute software through any other system and a licensee cannot
400
+ impose that choice.
401
+
402
+ This section is intended to make thoroughly clear what is believed to
403
+ be a consequence of the rest of this License.
404
+
405
+ 12. If the distribution and/or use of the Library is restricted in
406
+ certain countries either by patents or by copyrighted interfaces, the
407
+ original copyright holder who places the Library under this License may add
408
+ an explicit geographical distribution limitation excluding those countries,
409
+ so that distribution is permitted only in or among countries not thus
410
+ excluded. In such case, this License incorporates the limitation as if
411
+ written in the body of this License.
412
+
413
+ 13. The Free Software Foundation may publish revised and/or new
414
+ versions of the Lesser General Public License from time to time.
415
+ Such new versions will be similar in spirit to the present version,
416
+ but may differ in detail to address new problems or concerns.
417
+
418
+ Each version is given a distinguishing version number. If the Library
419
+ specifies a version number of this License which applies to it and
420
+ "any later version", you have the option of following the terms and
421
+ conditions either of that version or of any later version published by
422
+ the Free Software Foundation. If the Library does not specify a
423
+ license version number, you may choose any version ever published by
424
+ the Free Software Foundation.
425
+
426
+ 14. If you wish to incorporate parts of the Library into other free
427
+ programs whose distribution conditions are incompatible with these,
428
+ write to the author to ask for permission. For software which is
429
+ copyrighted by the Free Software Foundation, write to the Free
430
+ Software Foundation; we sometimes make exceptions for this. Our
431
+ decision will be guided by the two goals of preserving the free status
432
+ of all derivatives of our free software and of promoting the sharing
433
+ and reuse of software generally.
434
+
435
+ NO WARRANTY
436
+
437
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446
+
447
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456
+ DAMAGES.
457
+
458
+ END OF TERMS AND CONDITIONS
459
+
460
+ How to Apply These Terms to Your New Libraries
461
+
462
+ If you develop a new library, and you want it to be of the greatest
463
+ possible use to the public, we recommend making it free software that
464
+ everyone can redistribute and change. You can do so by permitting
465
+ redistribution under these terms (or, alternatively, under the terms of the
466
+ ordinary General Public License).
467
+
468
+ To apply these terms, attach the following notices to the library. It is
469
+ safest to attach them to the start of each source file to most effectively
470
+ convey the exclusion of warranty; and each file should have at least the
471
+ "copyright" line and a pointer to where the full notice is found.
472
+
473
+ <one line to give the library's name and a brief idea of what it does.>
474
+ Copyright (C) <year> <name of author>
475
+
476
+ This library is free software; you can redistribute it and/or
477
+ modify it under the terms of the GNU Lesser General Public
478
+ License as published by the Free Software Foundation; either
479
+ version 2 of the License, or (at your option) any later version.
480
+
481
+ This library is distributed in the hope that it will be useful,
482
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
483
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
484
+ Lesser General Public License for more details.
485
+
486
+ You should have received a copy of the GNU Lesser General Public
487
+ License along with this library; if not, write to the Free Software
488
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
489
+
490
+ Also add information on how to contact you by electronic and paper mail.
491
+
492
+ You should also get your employer (if you work as a programmer) or your
493
+ school, if any, to sign a "copyright disclaimer" for the library, if
494
+ necessary. Here is a sample; alter the names:
495
+
496
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
497
+ library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498
+
499
+ <signature of Ty Coon>, 1 April 1990
500
+ Ty Coon, President of Vice
501
+
502
+ That's all there is to it!
503
+
504
+
src/ja/unidic-mecab-2.1.2_src/Makefile.am ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ dicdir = @DIC_DIR@
2
+ dic_DATA = @MECAB_PRE_DATA@ @MECAB_SYS_DATA@ @MECAB_USER_DATA@
3
+ CLEANFILES = @MECAB_SYS_DATA@ @MECAB_USER_DATA@
4
+
5
+ @MECAB_SYS_DATA@: @MECAB_DIC@ @MECAB_DEF@
6
+ @MECAB_DICT_INDEX@ -d . -o . -f utf8 -t utf8
7
+
8
+ @MECAB_USER_DATA@: @USER_DIC@ @MODEL_FILE@
9
+ @MECAB_DICT_INDEX@ -d . -o . -f utf8 -t utf8 -m @MODEL_FILE@ -u $@ @USER_DIC@
src/ja/unidic-mecab-2.1.2_src/Makefile.bat ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @echo off
2
+ REM
3
+ REM Makefile.bat for UniDic-mecab-2.1.1
4
+ REM
5
+ @echo Makefile.bat for UniDic-mecab-2.1.1
6
+
7
+ mkdir ..\dic\unidic
8
+ if errorlevel 1 goto ERROREXIT
9
+
10
+ @echo mecab-dict-index...
11
+ ..\bin\mecab-dict-index -d . -o ..\dic\unidic -f utf8 -t utf8
12
+ if errorlevel 1 goto ERROREXIT
13
+
14
+ @echo installing...
15
+ copy dicrc ..\dic\unidic
16
+
17
+ @echo mecab dictionary compiled successfully.
18
+ goto LAST
19
+
20
+ :ERROREXIT
21
+ @echo cannot make mecab dictionary.
22
+ @echo installation halted.
23
+ pause
24
+
25
+ :LAST
26
+ @echo on
src/ja/unidic-mecab-2.1.2_src/Makefile.in ADDED
@@ -0,0 +1,471 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Makefile.in generated by automake 1.10.3 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6
+ # Inc.
7
+ # This Makefile.in is free software; the Free Software Foundation
8
+ # gives unlimited permission to copy and/or distribute it,
9
+ # with or without modifications, as long as this notice is preserved.
10
+
11
+ # This program is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
+ # PARTICULAR PURPOSE.
15
+
16
+ @SET_MAKE@
17
+
18
+ VPATH = @srcdir@
19
+ pkgdatadir = $(datadir)/@PACKAGE@
20
+ pkglibdir = $(libdir)/@PACKAGE@
21
+ pkgincludedir = $(includedir)/@PACKAGE@
22
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23
+ install_sh_DATA = $(install_sh) -c -m 644
24
+ install_sh_PROGRAM = $(install_sh) -c
25
+ install_sh_SCRIPT = $(install_sh) -c
26
+ INSTALL_HEADER = $(INSTALL_DATA)
27
+ transform = $(program_transform_name)
28
+ NORMAL_INSTALL = :
29
+ PRE_INSTALL = :
30
+ POST_INSTALL = :
31
+ NORMAL_UNINSTALL = :
32
+ PRE_UNINSTALL = :
33
+ POST_UNINSTALL = :
34
+ subdir = .
35
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
36
+ $(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
37
+ ChangeLog INSTALL NEWS install-sh missing
38
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
39
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
40
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
41
+ $(ACLOCAL_M4)
42
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
43
+ configure.lineno config.status.lineno
44
+ mkinstalldirs = $(install_sh) -d
45
+ CONFIG_CLEAN_FILES =
46
+ SOURCES =
47
+ DIST_SOURCES =
48
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
49
+ am__vpath_adj = case $$p in \
50
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
51
+ *) f=$$p;; \
52
+ esac;
53
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
54
+ am__installdirs = "$(DESTDIR)$(dicdir)"
55
+ dicDATA_INSTALL = $(INSTALL_DATA)
56
+ DATA = $(dic_DATA)
57
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
58
+ distdir = $(PACKAGE)-$(VERSION)
59
+ top_distdir = $(distdir)
60
+ am__remove_distdir = \
61
+ { test ! -d $(distdir) \
62
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
63
+ && rm -fr $(distdir); }; }
64
+ DIST_ARCHIVES = $(distdir).tar.gz
65
+ GZIP_ENV = --best
66
+ distuninstallcheck_listfiles = find . -type f -print
67
+ distcleancheck_listfiles = find . -type f -print
68
+ ACLOCAL = @ACLOCAL@
69
+ AMTAR = @AMTAR@
70
+ AUTOCONF = @AUTOCONF@
71
+ AUTOHEADER = @AUTOHEADER@
72
+ AUTOMAKE = @AUTOMAKE@
73
+ AWK = @AWK@
74
+ CYGPATH_W = @CYGPATH_W@
75
+ DEFS = @DEFS@
76
+ DIC_DIR = @DIC_DIR@
77
+ ECHO_C = @ECHO_C@
78
+ ECHO_N = @ECHO_N@
79
+ ECHO_T = @ECHO_T@
80
+ INSTALL = @INSTALL@
81
+ INSTALL_DATA = @INSTALL_DATA@
82
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
83
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
84
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
85
+ LIBOBJS = @LIBOBJS@
86
+ LIBS = @LIBS@
87
+ LN_S = @LN_S@
88
+ LTLIBOBJS = @LTLIBOBJS@
89
+ MAKEINFO = @MAKEINFO@
90
+ MECAB_CONFIG = @MECAB_CONFIG@
91
+ MECAB_DEF = @MECAB_DEF@
92
+ MECAB_DIC = @MECAB_DIC@
93
+ MECAB_DICT_INDEX = @MECAB_DICT_INDEX@
94
+ MECAB_MECABRC = @MECAB_MECABRC@
95
+ MECAB_PRE_DATA = @MECAB_PRE_DATA@
96
+ MECAB_SYS_DATA = @MECAB_SYS_DATA@
97
+ MECAB_USER_DATA = @MECAB_USER_DATA@
98
+ MKDIR_P = @MKDIR_P@
99
+ MODEL_FILE = @MODEL_FILE@
100
+ PACKAGE = @PACKAGE@
101
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
102
+ PACKAGE_NAME = @PACKAGE_NAME@
103
+ PACKAGE_STRING = @PACKAGE_STRING@
104
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
105
+ PACKAGE_URL = @PACKAGE_URL@
106
+ PACKAGE_VERSION = @PACKAGE_VERSION@
107
+ PATH_SEPARATOR = @PATH_SEPARATOR@
108
+ SET_MAKE = @SET_MAKE@
109
+ SHELL = @SHELL@
110
+ STRIP = @STRIP@
111
+ USER_DIC = @USER_DIC@
112
+ VERSION = @VERSION@
113
+ abs_builddir = @abs_builddir@
114
+ abs_srcdir = @abs_srcdir@
115
+ abs_top_builddir = @abs_top_builddir@
116
+ abs_top_srcdir = @abs_top_srcdir@
117
+ am__leading_dot = @am__leading_dot@
118
+ am__tar = @am__tar@
119
+ am__untar = @am__untar@
120
+ bindir = @bindir@
121
+ build_alias = @build_alias@
122
+ builddir = @builddir@
123
+ datadir = @datadir@
124
+ datarootdir = @datarootdir@
125
+ docdir = @docdir@
126
+ dvidir = @dvidir@
127
+ exec_prefix = @exec_prefix@
128
+ host_alias = @host_alias@
129
+ htmldir = @htmldir@
130
+ includedir = @includedir@
131
+ infodir = @infodir@
132
+ install_sh = @install_sh@
133
+ libdir = @libdir@
134
+ libexecdir = @libexecdir@
135
+ localedir = @localedir@
136
+ localstatedir = @localstatedir@
137
+ mandir = @mandir@
138
+ mkdir_p = @mkdir_p@
139
+ oldincludedir = @oldincludedir@
140
+ pdfdir = @pdfdir@
141
+ prefix = @prefix@
142
+ program_transform_name = @program_transform_name@
143
+ psdir = @psdir@
144
+ sbindir = @sbindir@
145
+ sharedstatedir = @sharedstatedir@
146
+ srcdir = @srcdir@
147
+ sysconfdir = @sysconfdir@
148
+ target_alias = @target_alias@
149
+ top_build_prefix = @top_build_prefix@
150
+ top_builddir = @top_builddir@
151
+ top_srcdir = @top_srcdir@
152
+ dicdir = @DIC_DIR@
153
+ dic_DATA = @MECAB_PRE_DATA@ @MECAB_SYS_DATA@ @MECAB_USER_DATA@
154
+ CLEANFILES = @MECAB_SYS_DATA@ @MECAB_USER_DATA@
155
+ all: all-am
156
+
157
+ .SUFFIXES:
158
+ am--refresh:
159
+ @:
160
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
161
+ @for dep in $?; do \
162
+ case '$(am__configure_deps)' in \
163
+ *$$dep*) \
164
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
165
+ cd $(srcdir) && $(AUTOMAKE) --gnu \
166
+ && exit 0; \
167
+ exit 1;; \
168
+ esac; \
169
+ done; \
170
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
171
+ cd $(top_srcdir) && \
172
+ $(AUTOMAKE) --gnu Makefile
173
+ .PRECIOUS: Makefile
174
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
175
+ @case '$?' in \
176
+ *config.status*) \
177
+ echo ' $(SHELL) ./config.status'; \
178
+ $(SHELL) ./config.status;; \
179
+ *) \
180
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
181
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
182
+ esac;
183
+
184
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
185
+ $(SHELL) ./config.status --recheck
186
+
187
+ $(top_srcdir)/configure: $(am__configure_deps)
188
+ cd $(srcdir) && $(AUTOCONF)
189
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
190
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
191
+ install-dicDATA: $(dic_DATA)
192
+ @$(NORMAL_INSTALL)
193
+ test -z "$(dicdir)" || $(MKDIR_P) "$(DESTDIR)$(dicdir)"
194
+ @list='$(dic_DATA)'; for p in $$list; do \
195
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
196
+ f=$(am__strip_dir) \
197
+ echo " $(dicDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(dicdir)/$$f'"; \
198
+ $(dicDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(dicdir)/$$f"; \
199
+ done
200
+
201
+ uninstall-dicDATA:
202
+ @$(NORMAL_UNINSTALL)
203
+ @list='$(dic_DATA)'; for p in $$list; do \
204
+ f=$(am__strip_dir) \
205
+ echo " rm -f '$(DESTDIR)$(dicdir)/$$f'"; \
206
+ rm -f "$(DESTDIR)$(dicdir)/$$f"; \
207
+ done
208
+ tags: TAGS
209
+ TAGS:
210
+
211
+ ctags: CTAGS
212
+ CTAGS:
213
+
214
+
215
+ distdir: $(DISTFILES)
216
+ $(am__remove_distdir)
217
+ test -d $(distdir) || mkdir $(distdir)
218
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
219
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
220
+ list='$(DISTFILES)'; \
221
+ dist_files=`for file in $$list; do echo $$file; done | \
222
+ sed -e "s|^$$srcdirstrip/||;t" \
223
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
224
+ case $$dist_files in \
225
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
226
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
227
+ sort -u` ;; \
228
+ esac; \
229
+ for file in $$dist_files; do \
230
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
231
+ if test -d $$d/$$file; then \
232
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
233
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
234
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
235
+ fi; \
236
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
237
+ else \
238
+ test -f $(distdir)/$$file \
239
+ || cp -p $$d/$$file $(distdir)/$$file \
240
+ || exit 1; \
241
+ fi; \
242
+ done
243
+ -find "$(distdir)" -type d ! -perm -755 \
244
+ -exec chmod u+rwx,go+rx {} \; -o \
245
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
246
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
247
+ ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
248
+ || chmod -R a+r $(distdir)
249
+ dist-gzip: distdir
250
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
251
+ $(am__remove_distdir)
252
+
253
+ dist-bzip2: distdir
254
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
255
+ $(am__remove_distdir)
256
+
257
+ dist-lzma: distdir
258
+ tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
259
+ $(am__remove_distdir)
260
+
261
+ dist-tarZ: distdir
262
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
263
+ $(am__remove_distdir)
264
+
265
+ dist-shar: distdir
266
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
267
+ $(am__remove_distdir)
268
+
269
+ dist-zip: distdir
270
+ -rm -f $(distdir).zip
271
+ zip -rq $(distdir).zip $(distdir)
272
+ $(am__remove_distdir)
273
+
274
+ dist dist-all: distdir
275
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
276
+ $(am__remove_distdir)
277
+
278
+ # This target untars the dist file and tries a VPATH configuration. Then
279
+ # it guarantees that the distribution is self-contained by making another
280
+ # tarfile.
281
+ distcheck: dist
282
+ case '$(DIST_ARCHIVES)' in \
283
+ *.tar.gz*) \
284
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
285
+ *.tar.bz2*) \
286
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
287
+ *.tar.lzma*) \
288
+ unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
289
+ *.tar.Z*) \
290
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
291
+ *.shar.gz*) \
292
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
293
+ *.zip*) \
294
+ unzip $(distdir).zip ;;\
295
+ esac
296
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
297
+ mkdir $(distdir)/_build
298
+ mkdir $(distdir)/_inst
299
+ chmod a-w $(distdir)
300
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
301
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
302
+ && cd $(distdir)/_build \
303
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
304
+ $(DISTCHECK_CONFIGURE_FLAGS) \
305
+ && $(MAKE) $(AM_MAKEFLAGS) \
306
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
307
+ && $(MAKE) $(AM_MAKEFLAGS) check \
308
+ && $(MAKE) $(AM_MAKEFLAGS) install \
309
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
310
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
311
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
312
+ distuninstallcheck \
313
+ && chmod -R a-w "$$dc_install_base" \
314
+ && ({ \
315
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
316
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
317
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
318
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
319
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
320
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
321
+ && rm -rf "$$dc_destdir" \
322
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
323
+ && rm -rf $(DIST_ARCHIVES) \
324
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
325
+ $(am__remove_distdir)
326
+ @(echo "$(distdir) archives ready for distribution: "; \
327
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
328
+ sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
329
+ distuninstallcheck:
330
+ @cd $(distuninstallcheck_dir) \
331
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
332
+ || { echo "ERROR: files left after uninstall:" ; \
333
+ if test -n "$(DESTDIR)"; then \
334
+ echo " (check DESTDIR support)"; \
335
+ fi ; \
336
+ $(distuninstallcheck_listfiles) ; \
337
+ exit 1; } >&2
338
+ distcleancheck: distclean
339
+ @if test '$(srcdir)' = . ; then \
340
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
341
+ exit 1 ; \
342
+ fi
343
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
344
+ || { echo "ERROR: files left in build directory after distclean:" ; \
345
+ $(distcleancheck_listfiles) ; \
346
+ exit 1; } >&2
347
+ check-am: all-am
348
+ check: check-am
349
+ all-am: Makefile $(DATA)
350
+ installdirs:
351
+ for dir in "$(DESTDIR)$(dicdir)"; do \
352
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
353
+ done
354
+ install: install-am
355
+ install-exec: install-exec-am
356
+ install-data: install-data-am
357
+ uninstall: uninstall-am
358
+
359
+ install-am: all-am
360
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
361
+
362
+ installcheck: installcheck-am
363
+ install-strip:
364
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
365
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
366
+ `test -z '$(STRIP)' || \
367
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
368
+ mostlyclean-generic:
369
+
370
+ clean-generic:
371
+ -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
372
+
373
+ distclean-generic:
374
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
375
+
376
+ maintainer-clean-generic:
377
+ @echo "This command is intended for maintainers to use"
378
+ @echo "it deletes files that may require special tools to rebuild."
379
+ clean: clean-am
380
+
381
+ clean-am: clean-generic mostlyclean-am
382
+
383
+ distclean: distclean-am
384
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
385
+ -rm -f Makefile
386
+ distclean-am: clean-am distclean-generic
387
+
388
+ dvi: dvi-am
389
+
390
+ dvi-am:
391
+
392
+ html: html-am
393
+
394
+ html-am:
395
+
396
+ info: info-am
397
+
398
+ info-am:
399
+
400
+ install-data-am: install-dicDATA
401
+
402
+ install-dvi: install-dvi-am
403
+
404
+ install-dvi-am:
405
+
406
+ install-exec-am:
407
+
408
+ install-html: install-html-am
409
+
410
+ install-html-am:
411
+
412
+ install-info: install-info-am
413
+
414
+ install-info-am:
415
+
416
+ install-man:
417
+
418
+ install-pdf: install-pdf-am
419
+
420
+ install-pdf-am:
421
+
422
+ install-ps: install-ps-am
423
+
424
+ install-ps-am:
425
+
426
+ installcheck-am:
427
+
428
+ maintainer-clean: maintainer-clean-am
429
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
430
+ -rm -rf $(top_srcdir)/autom4te.cache
431
+ -rm -f Makefile
432
+ maintainer-clean-am: distclean-am maintainer-clean-generic
433
+
434
+ mostlyclean: mostlyclean-am
435
+
436
+ mostlyclean-am: mostlyclean-generic
437
+
438
+ pdf: pdf-am
439
+
440
+ pdf-am:
441
+
442
+ ps: ps-am
443
+
444
+ ps-am:
445
+
446
+ uninstall-am: uninstall-dicDATA
447
+
448
+ .MAKE: install-am install-strip
449
+
450
+ .PHONY: all all-am am--refresh check check-am clean clean-generic dist \
451
+ dist-all dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ \
452
+ dist-zip distcheck distclean distclean-generic distcleancheck \
453
+ distdir distuninstallcheck dvi dvi-am html html-am info \
454
+ info-am install install-am install-data install-data-am \
455
+ install-dicDATA install-dvi install-dvi-am install-exec \
456
+ install-exec-am install-html install-html-am install-info \
457
+ install-info-am install-man install-pdf install-pdf-am \
458
+ install-ps install-ps-am install-strip installcheck \
459
+ installcheck-am installdirs maintainer-clean \
460
+ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
461
+ pdf-am ps ps-am uninstall uninstall-am uninstall-dicDATA
462
+
463
+
464
+ @MECAB_SYS_DATA@: @MECAB_DIC@ @MECAB_DEF@
465
+ @MECAB_DICT_INDEX@ -d . -o . -f utf8 -t utf8
466
+
467
+ @MECAB_USER_DATA@: @USER_DIC@ @MODEL_FILE@
468
+ @MECAB_DICT_INDEX@ -d . -o . -f utf8 -t utf8 -m @MODEL_FILE@ -u $@ @USER_DIC@
469
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
470
+ # Otherwise a system limit (for SysV at least) may be exceeded.
471
+ .NOEXPORT:
src/ja/unidic-mecab-2.1.2_src/NEWS ADDED
File without changes
src/ja/unidic-mecab-2.1.2_src/README ADDED
File without changes
src/ja/unidic-mecab-2.1.2_src/aclocal.m4 ADDED
@@ -0,0 +1,554 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # generated automatically by aclocal 1.10.3 -*- Autoconf -*-
2
+
3
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
+ # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
5
+ # This file is free software; the Free Software Foundation
6
+ # gives unlimited permission to copy and/or distribute it,
7
+ # with or without modifications, as long as this notice is preserved.
8
+
9
+ # This program is distributed in the hope that it will be useful,
10
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
+ # PARTICULAR PURPOSE.
13
+
14
+ m4_ifndef([AC_AUTOCONF_VERSION],
15
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
+ m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.69],,
17
+ [m4_warning([this file was generated for autoconf 2.69.
18
+ You have another version of autoconf. It may work, but is not guaranteed to.
19
+ If you have problems, you may need to regenerate the build system entirely.
20
+ To do so, use the procedure documented by the package, typically `autoreconf'.])])
21
+
22
+ # Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
23
+ #
24
+ # This file is free software; the Free Software Foundation
25
+ # gives unlimited permission to copy and/or distribute it,
26
+ # with or without modifications, as long as this notice is preserved.
27
+
28
+ # AM_AUTOMAKE_VERSION(VERSION)
29
+ # ----------------------------
30
+ # Automake X.Y traces this macro to ensure aclocal.m4 has been
31
+ # generated from the m4 files accompanying Automake X.Y.
32
+ # (This private macro should not be called outside this file.)
33
+ AC_DEFUN([AM_AUTOMAKE_VERSION],
34
+ [am__api_version='1.10'
35
+ dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
36
+ dnl require some minimum version. Point them to the right macro.
37
+ m4_if([$1], [1.10.3], [],
38
+ [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
39
+ ])
40
+
41
+ # _AM_AUTOCONF_VERSION(VERSION)
42
+ # -----------------------------
43
+ # aclocal traces this macro to find the Autoconf version.
44
+ # This is a private macro too. Using m4_define simplifies
45
+ # the logic in aclocal, which can simply ignore this definition.
46
+ m4_define([_AM_AUTOCONF_VERSION], [])
47
+
48
+ # AM_SET_CURRENT_AUTOMAKE_VERSION
49
+ # -------------------------------
50
+ # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
51
+ # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
52
+ AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
53
+ [AM_AUTOMAKE_VERSION([1.10.3])dnl
54
+ m4_ifndef([AC_AUTOCONF_VERSION],
55
+ [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
56
+ _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
57
+
58
+ # AM_AUX_DIR_EXPAND -*- Autoconf -*-
59
+
60
+ # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
61
+ #
62
+ # This file is free software; the Free Software Foundation
63
+ # gives unlimited permission to copy and/or distribute it,
64
+ # with or without modifications, as long as this notice is preserved.
65
+
66
+ # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets
67
+ # $ac_aux_dir to `$srcdir/foo'. In other projects, it is set to
68
+ # `$srcdir', `$srcdir/..', or `$srcdir/../..'.
69
+ #
70
+ # Of course, Automake must honor this variable whenever it calls a
71
+ # tool from the auxiliary directory. The problem is that $srcdir (and
72
+ # therefore $ac_aux_dir as well) can be either absolute or relative,
73
+ # depending on how configure is run. This is pretty annoying, since
74
+ # it makes $ac_aux_dir quite unusable in subdirectories: in the top
75
+ # source directory, any form will work fine, but in subdirectories a
76
+ # relative path needs to be adjusted first.
77
+ #
78
+ # $ac_aux_dir/missing
79
+ # fails when called from a subdirectory if $ac_aux_dir is relative
80
+ # $top_srcdir/$ac_aux_dir/missing
81
+ # fails if $ac_aux_dir is absolute,
82
+ # fails when called from a subdirectory in a VPATH build with
83
+ # a relative $ac_aux_dir
84
+ #
85
+ # The reason of the latter failure is that $top_srcdir and $ac_aux_dir
86
+ # are both prefixed by $srcdir. In an in-source build this is usually
87
+ # harmless because $srcdir is `.', but things will broke when you
88
+ # start a VPATH build or use an absolute $srcdir.
89
+ #
90
+ # So we could use something similar to $top_srcdir/$ac_aux_dir/missing,
91
+ # iff we strip the leading $srcdir from $ac_aux_dir. That would be:
92
+ # am_aux_dir='\$(top_srcdir)/'`expr "$ac_aux_dir" : "$srcdir//*\(.*\)"`
93
+ # and then we would define $MISSING as
94
+ # MISSING="\${SHELL} $am_aux_dir/missing"
95
+ # This will work as long as MISSING is not called from configure, because
96
+ # unfortunately $(top_srcdir) has no meaning in configure.
97
+ # However there are other variables, like CC, which are often used in
98
+ # configure, and could therefore not use this "fixed" $ac_aux_dir.
99
+ #
100
+ # Another solution, used here, is to always expand $ac_aux_dir to an
101
+ # absolute PATH. The drawback is that using absolute paths prevent a
102
+ # configured tree to be moved without reconfiguration.
103
+
104
+ AC_DEFUN([AM_AUX_DIR_EXPAND],
105
+ [dnl Rely on autoconf to set up CDPATH properly.
106
+ AC_PREREQ([2.50])dnl
107
+ # expand $ac_aux_dir to an absolute path
108
+ am_aux_dir=`cd $ac_aux_dir && pwd`
109
+ ])
110
+
111
+ # Do all the work for Automake. -*- Autoconf -*-
112
+
113
+ # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
114
+ # 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
115
+ #
116
+ # This file is free software; the Free Software Foundation
117
+ # gives unlimited permission to copy and/or distribute it,
118
+ # with or without modifications, as long as this notice is preserved.
119
+
120
+ # serial 13
121
+
122
+ # This macro actually does too much. Some checks are only needed if
123
+ # your package does certain things. But this isn't really a big deal.
124
+
125
+ # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE])
126
+ # AM_INIT_AUTOMAKE([OPTIONS])
127
+ # -----------------------------------------------
128
+ # The call with PACKAGE and VERSION arguments is the old style
129
+ # call (pre autoconf-2.50), which is being phased out. PACKAGE
130
+ # and VERSION should now be passed to AC_INIT and removed from
131
+ # the call to AM_INIT_AUTOMAKE.
132
+ # We support both call styles for the transition. After
133
+ # the next Automake release, Autoconf can make the AC_INIT
134
+ # arguments mandatory, and then we can depend on a new Autoconf
135
+ # release and drop the old call support.
136
+ AC_DEFUN([AM_INIT_AUTOMAKE],
137
+ [AC_PREREQ([2.60])dnl
138
+ dnl Autoconf wants to disallow AM_ names. We explicitly allow
139
+ dnl the ones we care about.
140
+ m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
141
+ AC_REQUIRE([AM_SET_CURRENT_AUTOMAKE_VERSION])dnl
142
+ AC_REQUIRE([AC_PROG_INSTALL])dnl
143
+ if test "`cd $srcdir && pwd`" != "`pwd`"; then
144
+ # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
145
+ # is not polluted with repeated "-I."
146
+ AC_SUBST([am__isrc], [' -I$(srcdir)'])_AM_SUBST_NOTMAKE([am__isrc])dnl
147
+ # test to see if srcdir already configured
148
+ if test -f $srcdir/config.status; then
149
+ AC_MSG_ERROR([source directory already configured; run "make distclean" there first])
150
+ fi
151
+ fi
152
+
153
+ # test whether we have cygpath
154
+ if test -z "$CYGPATH_W"; then
155
+ if (cygpath --version) >/dev/null 2>/dev/null; then
156
+ CYGPATH_W='cygpath -w'
157
+ else
158
+ CYGPATH_W=echo
159
+ fi
160
+ fi
161
+ AC_SUBST([CYGPATH_W])
162
+
163
+ # Define the identity of the package.
164
+ dnl Distinguish between old-style and new-style calls.
165
+ m4_ifval([$2],
166
+ [m4_ifval([$3], [_AM_SET_OPTION([no-define])])dnl
167
+ AC_SUBST([PACKAGE], [$1])dnl
168
+ AC_SUBST([VERSION], [$2])],
169
+ [_AM_SET_OPTIONS([$1])dnl
170
+ dnl Diagnose old-style AC_INIT with new-style AM_AUTOMAKE_INIT.
171
+ m4_if(m4_ifdef([AC_PACKAGE_NAME], 1)m4_ifdef([AC_PACKAGE_VERSION], 1), 11,,
172
+ [m4_fatal([AC_INIT should be called with package and version arguments])])dnl
173
+ AC_SUBST([PACKAGE], ['AC_PACKAGE_TARNAME'])dnl
174
+ AC_SUBST([VERSION], ['AC_PACKAGE_VERSION'])])dnl
175
+
176
+ _AM_IF_OPTION([no-define],,
177
+ [AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of package])
178
+ AC_DEFINE_UNQUOTED(VERSION, "$VERSION", [Version number of package])])dnl
179
+
180
+ # Some tools Automake needs.
181
+ AC_REQUIRE([AM_SANITY_CHECK])dnl
182
+ AC_REQUIRE([AC_ARG_PROGRAM])dnl
183
+ AM_MISSING_PROG(ACLOCAL, aclocal-${am__api_version})
184
+ AM_MISSING_PROG(AUTOCONF, autoconf)
185
+ AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
186
+ AM_MISSING_PROG(AUTOHEADER, autoheader)
187
+ AM_MISSING_PROG(MAKEINFO, makeinfo)
188
+ AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
189
+ AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
190
+ AC_REQUIRE([AM_PROG_MKDIR_P])dnl
191
+ # We need awk for the "check" target. The system "awk" is bad on
192
+ # some platforms.
193
+ AC_REQUIRE([AC_PROG_AWK])dnl
194
+ AC_REQUIRE([AC_PROG_MAKE_SET])dnl
195
+ AC_REQUIRE([AM_SET_LEADING_DOT])dnl
196
+ _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
197
+ [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
198
+ [_AM_PROG_TAR([v7])])])
199
+ _AM_IF_OPTION([no-dependencies],,
200
+ [AC_PROVIDE_IFELSE([AC_PROG_CC],
201
+ [_AM_DEPENDENCIES(CC)],
202
+ [define([AC_PROG_CC],
203
+ defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
204
+ AC_PROVIDE_IFELSE([AC_PROG_CXX],
205
+ [_AM_DEPENDENCIES(CXX)],
206
+ [define([AC_PROG_CXX],
207
+ defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
208
+ AC_PROVIDE_IFELSE([AC_PROG_OBJC],
209
+ [_AM_DEPENDENCIES(OBJC)],
210
+ [define([AC_PROG_OBJC],
211
+ defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
212
+ ])
213
+ ])
214
+
215
+
216
+ # When config.status generates a header, we must update the stamp-h file.
217
+ # This file resides in the same directory as the config header
218
+ # that is generated. The stamp files are numbered to have different names.
219
+
220
+ # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the
221
+ # loop where config.status creates the headers, so we can generate
222
+ # our stamp files there.
223
+ AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK],
224
+ [# Compute $1's index in $config_headers.
225
+ _am_arg=$1
226
+ _am_stamp_count=1
227
+ for _am_header in $config_headers :; do
228
+ case $_am_header in
229
+ $_am_arg | $_am_arg:* )
230
+ break ;;
231
+ * )
232
+ _am_stamp_count=`expr $_am_stamp_count + 1` ;;
233
+ esac
234
+ done
235
+ echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
236
+
237
+ # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
238
+ #
239
+ # This file is free software; the Free Software Foundation
240
+ # gives unlimited permission to copy and/or distribute it,
241
+ # with or without modifications, as long as this notice is preserved.
242
+
243
+ # AM_PROG_INSTALL_SH
244
+ # ------------------
245
+ # Define $install_sh.
246
+ AC_DEFUN([AM_PROG_INSTALL_SH],
247
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
248
+ install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
249
+ AC_SUBST(install_sh)])
250
+
251
+ # Copyright (C) 2003, 2005 Free Software Foundation, Inc.
252
+ #
253
+ # This file is free software; the Free Software Foundation
254
+ # gives unlimited permission to copy and/or distribute it,
255
+ # with or without modifications, as long as this notice is preserved.
256
+
257
+ # serial 2
258
+
259
+ # Check whether the underlying file-system supports filenames
260
+ # with a leading dot. For instance MS-DOS doesn't.
261
+ AC_DEFUN([AM_SET_LEADING_DOT],
262
+ [rm -rf .tst 2>/dev/null
263
+ mkdir .tst 2>/dev/null
264
+ if test -d .tst; then
265
+ am__leading_dot=.
266
+ else
267
+ am__leading_dot=_
268
+ fi
269
+ rmdir .tst 2>/dev/null
270
+ AC_SUBST([am__leading_dot])])
271
+
272
+ # Fake the existence of programs that GNU maintainers use. -*- Autoconf -*-
273
+
274
+ # Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
275
+ # Free Software Foundation, Inc.
276
+ #
277
+ # This file is free software; the Free Software Foundation
278
+ # gives unlimited permission to copy and/or distribute it,
279
+ # with or without modifications, as long as this notice is preserved.
280
+
281
+ # serial 5
282
+
283
+ # AM_MISSING_PROG(NAME, PROGRAM)
284
+ # ------------------------------
285
+ AC_DEFUN([AM_MISSING_PROG],
286
+ [AC_REQUIRE([AM_MISSING_HAS_RUN])
287
+ $1=${$1-"${am_missing_run}$2"}
288
+ AC_SUBST($1)])
289
+
290
+
291
+ # AM_MISSING_HAS_RUN
292
+ # ------------------
293
+ # Define MISSING if not defined so far and test if it supports --run.
294
+ # If it does, set am_missing_run to use it, otherwise, to nothing.
295
+ AC_DEFUN([AM_MISSING_HAS_RUN],
296
+ [AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
297
+ AC_REQUIRE_AUX_FILE([missing])dnl
298
+ test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
299
+ # Use eval to expand $SHELL
300
+ if eval "$MISSING --run true"; then
301
+ am_missing_run="$MISSING --run "
302
+ else
303
+ am_missing_run=
304
+ AC_MSG_WARN([`missing' script is too old or missing])
305
+ fi
306
+ ])
307
+
308
+ # Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
309
+ #
310
+ # This file is free software; the Free Software Foundation
311
+ # gives unlimited permission to copy and/or distribute it,
312
+ # with or without modifications, as long as this notice is preserved.
313
+
314
+ # AM_PROG_MKDIR_P
315
+ # ---------------
316
+ # Check for `mkdir -p'.
317
+ AC_DEFUN([AM_PROG_MKDIR_P],
318
+ [AC_PREREQ([2.60])dnl
319
+ AC_REQUIRE([AC_PROG_MKDIR_P])dnl
320
+ dnl Automake 1.8 to 1.9.6 used to define mkdir_p. We now use MKDIR_P,
321
+ dnl while keeping a definition of mkdir_p for backward compatibility.
322
+ dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
323
+ dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
324
+ dnl Makefile.ins that do not define MKDIR_P, so we do our own
325
+ dnl adjustment using top_builddir (which is defined more often than
326
+ dnl MKDIR_P).
327
+ AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
328
+ case $mkdir_p in
329
+ [[\\/$]]* | ?:[[\\/]]*) ;;
330
+ */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
331
+ esac
332
+ ])
333
+
334
+ # Helper functions for option handling. -*- Autoconf -*-
335
+
336
+ # Copyright (C) 2001, 2002, 2003, 2005, 2008 Free Software Foundation, Inc.
337
+ #
338
+ # This file is free software; the Free Software Foundation
339
+ # gives unlimited permission to copy and/or distribute it,
340
+ # with or without modifications, as long as this notice is preserved.
341
+
342
+ # serial 4
343
+
344
+ # _AM_MANGLE_OPTION(NAME)
345
+ # -----------------------
346
+ AC_DEFUN([_AM_MANGLE_OPTION],
347
+ [[_AM_OPTION_]m4_bpatsubst($1, [[^a-zA-Z0-9_]], [_])])
348
+
349
+ # _AM_SET_OPTION(NAME)
350
+ # ------------------------------
351
+ # Set option NAME. Presently that only means defining a flag for this option.
352
+ AC_DEFUN([_AM_SET_OPTION],
353
+ [m4_define(_AM_MANGLE_OPTION([$1]), 1)])
354
+
355
+ # _AM_SET_OPTIONS(OPTIONS)
356
+ # ----------------------------------
357
+ # OPTIONS is a space-separated list of Automake options.
358
+ AC_DEFUN([_AM_SET_OPTIONS],
359
+ [m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
360
+
361
+ # _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
362
+ # -------------------------------------------
363
+ # Execute IF-SET if OPTION is set, IF-NOT-SET otherwise.
364
+ AC_DEFUN([_AM_IF_OPTION],
365
+ [m4_ifset(_AM_MANGLE_OPTION([$1]), [$2], [$3])])
366
+
367
+ # Check to make sure that the build environment is sane. -*- Autoconf -*-
368
+
369
+ # Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
370
+ # Free Software Foundation, Inc.
371
+ #
372
+ # This file is free software; the Free Software Foundation
373
+ # gives unlimited permission to copy and/or distribute it,
374
+ # with or without modifications, as long as this notice is preserved.
375
+
376
+ # serial 4
377
+
378
+ # AM_SANITY_CHECK
379
+ # ---------------
380
+ AC_DEFUN([AM_SANITY_CHECK],
381
+ [AC_MSG_CHECKING([whether build environment is sane])
382
+ # Just in case
383
+ sleep 1
384
+ echo timestamp > conftest.file
385
+ # Do `set' in a subshell so we don't clobber the current shell's
386
+ # arguments. Must try -L first in case configure is actually a
387
+ # symlink; some systems play weird games with the mod time of symlinks
388
+ # (eg FreeBSD returns the mod time of the symlink's containing
389
+ # directory).
390
+ if (
391
+ set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
392
+ if test "$[*]" = "X"; then
393
+ # -L didn't work.
394
+ set X `ls -t $srcdir/configure conftest.file`
395
+ fi
396
+ rm -f conftest.file
397
+ if test "$[*]" != "X $srcdir/configure conftest.file" \
398
+ && test "$[*]" != "X conftest.file $srcdir/configure"; then
399
+
400
+ # If neither matched, then we have a broken ls. This can happen
401
+ # if, for instance, CONFIG_SHELL is bash and it inherits a
402
+ # broken ls alias from the environment. This has actually
403
+ # happened. Such a system could not be considered "sane".
404
+ AC_MSG_ERROR([ls -t appears to fail. Make sure there is not a broken
405
+ alias in your environment])
406
+ fi
407
+
408
+ test "$[2]" = conftest.file
409
+ )
410
+ then
411
+ # Ok.
412
+ :
413
+ else
414
+ AC_MSG_ERROR([newly created file is older than distributed files!
415
+ Check your system clock])
416
+ fi
417
+ AC_MSG_RESULT(yes)])
418
+
419
+ # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
420
+ #
421
+ # This file is free software; the Free Software Foundation
422
+ # gives unlimited permission to copy and/or distribute it,
423
+ # with or without modifications, as long as this notice is preserved.
424
+
425
+ # AM_PROG_INSTALL_STRIP
426
+ # ---------------------
427
+ # One issue with vendor `install' (even GNU) is that you can't
428
+ # specify the program used to strip binaries. This is especially
429
+ # annoying in cross-compiling environments, where the build's strip
430
+ # is unlikely to handle the host's binaries.
431
+ # Fortunately install-sh will honor a STRIPPROG variable, so we
432
+ # always use install-sh in `make install-strip', and initialize
433
+ # STRIPPROG with the value of the STRIP variable (set by the user).
434
+ AC_DEFUN([AM_PROG_INSTALL_STRIP],
435
+ [AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
436
+ # Installed binaries are usually stripped using `strip' when the user
437
+ # run `make install-strip'. However `strip' might not be the right
438
+ # tool to use in cross-compilation environments, therefore Automake
439
+ # will honor the `STRIP' environment variable to overrule this program.
440
+ dnl Don't test for $cross_compiling = yes, because it might be `maybe'.
441
+ if test "$cross_compiling" != no; then
442
+ AC_CHECK_TOOL([STRIP], [strip], :)
443
+ fi
444
+ INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
445
+ AC_SUBST([INSTALL_STRIP_PROGRAM])])
446
+
447
+ # Copyright (C) 2006 Free Software Foundation, Inc.
448
+ #
449
+ # This file is free software; the Free Software Foundation
450
+ # gives unlimited permission to copy and/or distribute it,
451
+ # with or without modifications, as long as this notice is preserved.
452
+
453
+ # _AM_SUBST_NOTMAKE(VARIABLE)
454
+ # ---------------------------
455
+ # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
456
+ # This macro is traced by Automake.
457
+ AC_DEFUN([_AM_SUBST_NOTMAKE])
458
+
459
+ # Check how to create a tarball. -*- Autoconf -*-
460
+
461
+ # Copyright (C) 2004, 2005 Free Software Foundation, Inc.
462
+ #
463
+ # This file is free software; the Free Software Foundation
464
+ # gives unlimited permission to copy and/or distribute it,
465
+ # with or without modifications, as long as this notice is preserved.
466
+
467
+ # serial 2
468
+
469
+ # _AM_PROG_TAR(FORMAT)
470
+ # --------------------
471
+ # Check how to create a tarball in format FORMAT.
472
+ # FORMAT should be one of `v7', `ustar', or `pax'.
473
+ #
474
+ # Substitute a variable $(am__tar) that is a command
475
+ # writing to stdout a FORMAT-tarball containing the directory
476
+ # $tardir.
477
+ # tardir=directory && $(am__tar) > result.tar
478
+ #
479
+ # Substitute a variable $(am__untar) that extract such
480
+ # a tarball read from stdin.
481
+ # $(am__untar) < result.tar
482
+ AC_DEFUN([_AM_PROG_TAR],
483
+ [# Always define AMTAR for backward compatibility.
484
+ AM_MISSING_PROG([AMTAR], [tar])
485
+ m4_if([$1], [v7],
486
+ [am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'],
487
+ [m4_case([$1], [ustar],, [pax],,
488
+ [m4_fatal([Unknown tar format])])
489
+ AC_MSG_CHECKING([how to create a $1 tar archive])
490
+ # Loop over all known methods to create a tar archive until one works.
491
+ _am_tools='gnutar m4_if([$1], [ustar], [plaintar]) pax cpio none'
492
+ _am_tools=${am_cv_prog_tar_$1-$_am_tools}
493
+ # Do not fold the above two line into one, because Tru64 sh and
494
+ # Solaris sh will not grok spaces in the rhs of `-'.
495
+ for _am_tool in $_am_tools
496
+ do
497
+ case $_am_tool in
498
+ gnutar)
499
+ for _am_tar in tar gnutar gtar;
500
+ do
501
+ AM_RUN_LOG([$_am_tar --version]) && break
502
+ done
503
+ am__tar="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$$tardir"'
504
+ am__tar_="$_am_tar --format=m4_if([$1], [pax], [posix], [$1]) -chf - "'"$tardir"'
505
+ am__untar="$_am_tar -xf -"
506
+ ;;
507
+ plaintar)
508
+ # Must skip GNU tar: if it does not support --format= it doesn't create
509
+ # ustar tarball either.
510
+ (tar --version) >/dev/null 2>&1 && continue
511
+ am__tar='tar chf - "$$tardir"'
512
+ am__tar_='tar chf - "$tardir"'
513
+ am__untar='tar xf -'
514
+ ;;
515
+ pax)
516
+ am__tar='pax -L -x $1 -w "$$tardir"'
517
+ am__tar_='pax -L -x $1 -w "$tardir"'
518
+ am__untar='pax -r'
519
+ ;;
520
+ cpio)
521
+ am__tar='find "$$tardir" -print | cpio -o -H $1 -L'
522
+ am__tar_='find "$tardir" -print | cpio -o -H $1 -L'
523
+ am__untar='cpio -i -H $1 -d'
524
+ ;;
525
+ none)
526
+ am__tar=false
527
+ am__tar_=false
528
+ am__untar=false
529
+ ;;
530
+ esac
531
+
532
+ # If the value was cached, stop now. We just wanted to have am__tar
533
+ # and am__untar set.
534
+ test -n "${am_cv_prog_tar_$1}" && break
535
+
536
+ # tar/untar a dummy directory, and stop if the command works
537
+ rm -rf conftest.dir
538
+ mkdir conftest.dir
539
+ echo GrepMe > conftest.dir/file
540
+ AM_RUN_LOG([tardir=conftest.dir && eval $am__tar_ >conftest.tar])
541
+ rm -rf conftest.dir
542
+ if test -s conftest.tar; then
543
+ AM_RUN_LOG([$am__untar <conftest.tar])
544
+ grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
545
+ fi
546
+ done
547
+ rm -rf conftest.dir
548
+
549
+ AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool])
550
+ AC_MSG_RESULT([$am_cv_prog_tar_$1])])
551
+ AC_SUBST([am__tar])
552
+ AC_SUBST([am__untar])
553
+ ]) # _AM_PROG_TAR
554
+
src/ja/unidic-mecab-2.1.2_src/char.def ADDED
@@ -0,0 +1,147 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #
2
+ # Japanese charcter category map
3
+ #
4
+ # $Id: char.def 9 2012-12-12 04:13:15Z togiso $;
5
+ #
6
+
7
+ ###################################################################################
8
+ #
9
+ # CHARACTER CATEGORY DEFINITION
10
+ #
11
+ # CATEGORY_NAME INVOKE GROUP LENGTH
12
+ #
13
+ # - CATEGORY_NAME: Name of category. you have to define DEFAULT class.
14
+ # - INVOKE: 1/0: always invoke unknown word processing, evan when the word can be found in the lexicon
15
+ # - GROUP: 1/0: make a new word by grouping the same chracter category
16
+ # - LENGTH: n: 1 to n length new words are added
17
+ #
18
+ DEFAULT 0 1 0 # DEFAULT is a mandatory category!
19
+ SPACE 0 1 0
20
+ KANJI 0 0 2
21
+ SYMBOL 1 1 0
22
+ NUMERIC 1 1 0
23
+ ALPHA 1 1 0
24
+ HIRAGANA 0 1 2
25
+ KATAKANA 1 1 2
26
+ KANJINUMERIC 0 1 0 #change INVOKE 1->0
27
+ GREEK 1 1 0
28
+ CYRILLIC 1 1 0
29
+
30
+ ###################################################################################
31
+ #
32
+ # CODE(UCS2) TO CATEGORY MAPPING
33
+ #
34
+
35
+ # SPACE
36
+ 0x0020 SPACE # DO NOT REMOVE THIS LINE, 0x0020 is reserved for SPACE
37
+ 0x00D0 SPACE
38
+ 0x0009 SPACE
39
+ 0x000B SPACE
40
+ 0x000A SPACE
41
+
42
+ # ASCII
43
+ 0x0021..0x002F SYMBOL #!"#$%&'()*+,-./
44
+ 0x0030..0x0039 NUMERIC #0-9
45
+ 0x003A..0x0040 SYMBOL #:;<=>?@
46
+ 0x0041..0x005A ALPHA #A-Z
47
+ 0x005B..0x0060 SYMBOL #[\]^_`
48
+ 0x0061..0x007A ALPHA #a-z
49
+ 0x007B..0x007E SYMBOL #{|}~
50
+
51
+ # Latin
52
+ 0x00A1..0x00BF SYMBOL # Latin 1 #¡->ß
53
+ 0x00C0..0x00FF ALPHA # Latin 1 #À->ÿ
54
+ 0x0100..0x017F ALPHA # Latin Extended A
55
+ 0x0180..0x0236 ALPHA # Latin Extended B
56
+ 0x1E00..0x1EF9 ALPHA # Latin Extended Additional
57
+
58
+ # CYRILLIC
59
+ 0x0400..0x04F9 CYRILLIC #Ѐ->ӹ
60
+ 0x0500..0x050F CYRILLIC # Cyrillic supplementary
61
+
62
+ # GREEK
63
+ 0x0374..0x03FB GREEK # Greek and Coptic #ʹ->ϻ
64
+
65
+ # HIRAGANA
66
+ 0x3041..0x309F HIRAGANA
67
+
68
+ # KATAKANA
69
+ 0x30A1..0x30FF KATAKANA
70
+ 0x31F0..0x31FF KATAKANA # Small KU .. Small RO
71
+ # 0x30FC KATAKANA HIRAGANA # ー
72
+ 0x30FC KATAKANA
73
+
74
+ # Half KATAKANA
75
+ 0xFF66..0xFF9D KATAKANA
76
+ 0xFF9E..0xFF9F KATAKANA
77
+
78
+ # KANJI
79
+ 0x2E80..0x2EF3 KANJI # CJK Raidcals Supplement
80
+ 0x2F00..0x2FD5 KANJI
81
+ 0x3005 KANJI
82
+ 0x3007 KANJI
83
+ 0x3400..0x4DB5 KANJI # CJK Unified Ideographs Extention
84
+ 0x4E00..0x9FA5 KANJI
85
+ 0xF900..0xFA2D KANJI
86
+ 0xFA30..0xFA6A KANJI
87
+
88
+ # KANJI-NUMERIC (一 二 三 四 五 六 七 八 九 十 百 千 万 億 兆)
89
+ 0x4E00 KANJINUMERIC KANJI
90
+ 0x4E8C KANJINUMERIC KANJI
91
+ 0x4E09 KANJINUMERIC KANJI
92
+ 0x56DB KANJINUMERIC KANJI
93
+ 0x4E94 KANJINUMERIC KANJI
94
+ 0x516D KANJINUMERIC KANJI
95
+ 0x4E03 KANJINUMERIC KANJI
96
+ 0x516B KANJINUMERIC KANJI
97
+ 0x4E5D KANJINUMERIC KANJI
98
+ 0x5341 KANJINUMERIC KANJI
99
+ 0x767E KANJINUMERIC KANJI
100
+ 0x5343 KANJINUMERIC KANJI
101
+ 0x4E07 KANJINUMERIC KANJI
102
+ 0x5104 KANJINUMERIC KANJI
103
+ 0x5146 KANJINUMERIC KANJI
104
+
105
+ # ZENKAKU
106
+ 0xFF10..0xFF19 NUMERIC
107
+ 0xFF21..0xFF3A ALPHA
108
+ 0xFF41..0xFF5A ALPHA
109
+ 0xFF01..0xFF0F SYMBOL #!->/
110
+ 0xFF1A..0xFF20 SYMBOL #:->@
111
+ 0xFF3B..0xFF40 SYMBOL #[->`
112
+ 0xFF5B..0xFF65 SYMBOL #{->・
113
+ 0xFFE0..0xFFEF SYMBOL # HalfWidth and Full width Form
114
+
115
+ # OTHER SYMBOLS
116
+ 0x2000..0x206F SYMBOL # General Punctuation
117
+ 0x2070..0x209F NUMERIC # Superscripts and Subscripts
118
+ 0x20A0..0x20CF SYMBOL # Currency Symbols
119
+ 0x20D0..0x20FF SYMBOL # Combining Diaritical Marks for Symbols
120
+ 0x2100..0x214F SYMBOL # Letterlike Symbols
121
+ 0x2150..0x218F NUMERIC # Number forms
122
+ 0x2100..0x214B SYMBOL # Letterlike Symbols
123
+ 0x2190..0x21FF SYMBOL # Arrow
124
+ 0x2200..0x22FF SYMBOL # Mathematical Operators
125
+ 0x2300..0x23FF SYMBOL # Miscellaneuos Technical
126
+ 0x2460..0x24FF SYMBOL # Enclosed NUMERICs
127
+ 0x2501..0x257F SYMBOL # Box Drawing
128
+ 0x2580..0x259F SYMBOL # Block Elements
129
+ 0x25A0..0x25FF SYMBOL # Geometric Shapes
130
+ 0x2600..0x26FE SYMBOL # Miscellaneous Symbols
131
+ 0x2700..0x27BF SYMBOL # Dingbats
132
+ 0x27F0..0x27FF SYMBOL # Supplemental Arrows A
133
+ 0x27C0..0x27EF SYMBOL # Miscellaneous Mathematical Symbols-A
134
+ 0x2800..0x28FF SYMBOL # Braille Patterns
135
+ 0x2900..0x297F SYMBOL # Supplemental Arrows B
136
+ 0x2B00..0x2BFF SYMBOL # Miscellaneous Symbols and Arrows
137
+ 0x2A00..0x2AFF SYMBOL # Supplemental Mathematical Operators
138
+ 0x3300..0x33FF SYMBOL
139
+ 0x3200..0x32FE SYMBOL # ENclosed CJK Letters and Months
140
+ 0x3000..0x303F SYMBOL # CJK Symbol and Punctuation
141
+ 0xFE30..0xFE4F SYMBOL # CJK Compatibility Forms
142
+ 0xFE50..0xFE6B SYMBOL # Small Form Variants
143
+
144
+ # added 2006/3/13
145
+ 0x3007 SYMBOL KANJINUMERIC
146
+
147
+ # END OF TABLE
src/ja/unidic-mecab-2.1.2_src/configure ADDED
The diff for this file is too large to render. See raw diff
 
src/ja/unidic-mecab-2.1.2_src/configure.ac ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # -*- Autoconf -*-
2
+ # Process this file with autoconf to produce a configure script.
3
+
4
+ AC_PREREQ(2.61)
5
+ AC_INIT([unidic], [2.1.2], [unidic@ninjal.ac.jp])
6
+ AM_INIT_AUTOMAKE
7
+
8
+ # Checks for programs.
9
+ AC_PROG_INSTALL
10
+ AC_PROG_LN_S
11
+
12
+ AC_PATH_PROG(MECAB_CONFIG, mecab-config, no)
13
+ AS_IF(test "x${MECAB_CONFIG}" = "xno", AC_MSG_ERROR(mecab-config required))
14
+
15
+ # Checks for libraries.
16
+
17
+ # Checks for header files.
18
+
19
+ # Checks for typedefs, structures, and compiler characteristics.
20
+
21
+ # Checks for library functions.
22
+
23
+ # Other variables
24
+ AC_ARG_WITH(dicdir,
25
+ AS_HELP_STRING(
26
+ [--with-dicdir@<:@=DIR@:>@], [set dic install directory [[MECAB_DIC_DIR/unidic]]]),
27
+ [DIC_DIR=$withval], [DIC_DIR=])
28
+ AS_IF(test "x${DIC_DIR}" = "x", DIC_DIR=`${MECAB_CONFIG} --dicdir`/${PACKAGE_NAME})
29
+ AC_SUBST(DIC_DIR)
30
+
31
+ AC_ARG_WITH(user-dic,
32
+ AS_HELP_STRING(
33
+ [--with-user-dic@<:@=FILE@:>@], [use FILE as user dictionary]),
34
+ [USER_DIC=$withval], [USER_DIC=])
35
+ AC_SUBST(USER_DIC)
36
+
37
+ AC_ARG_WITH(model-file,
38
+ AS_HELP_STRING(
39
+ [--with-model-file@<:@=FILE@:>@], [use FILE as model file]),
40
+ [MODEL_FILE=$withval], [MODEL_FILE=])
41
+ AS_IF(test "x${USER_DIC}" != "x" -a "x${MODEL_FILE}" = "x", AC_MSG_ERROR(model-file required when user-dic is set))
42
+ AC_SUBST(MODEL_FILE)
43
+
44
+ MECAB_USER_DATA=
45
+ MECAB_DIC=" `echo *.csv` "
46
+ for d in `echo ${USER_DIC} | sed 's%,% %g'`
47
+ do
48
+ MECAB_USER_DATA=`echo "${MECAB_USER_DATA} ${d}.dic"`
49
+ MECAB_DIC=`echo "${MECAB_DIC}" | sed -e "s% ${d} % %"`
50
+ done
51
+ MECAB_DEF="char.def unk.def matrix.def"
52
+ MECAB_PRE_DATA="dicrc"
53
+ MECAB_SYS_DATA="char.bin unk.dic sys.dic matrix.bin"
54
+ AC_SUBST(MECAB_DIC)
55
+ AC_SUBST(MECAB_DEF)
56
+ AC_SUBST(MECAB_PRE_DATA)
57
+ AC_SUBST(MECAB_SYS_DATA)
58
+ AC_SUBST(MECAB_USER_DATA)
59
+
60
+ MECAB_DICT_INDEX="`${MECAB_CONFIG} --libexecdir`/mecab-dict-index"
61
+ MECAB_MECABRC="`${MECAB_CONFIG} --sysconfdir`/mecabrc"
62
+ AC_SUBST(MECAB_DICT_INDEX)
63
+ AC_SUBST(MECAB_MECABRC)
64
+
65
+ AC_CONFIG_FILES([Makefile])
66
+ AC_OUTPUT
src/ja/unidic-mecab-2.1.2_src/dicrc ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ; List of features
2
+ ; f[0]: pos1
3
+ ; f[1]: pos2
4
+ ; f[2]: pos3
5
+ ; f[3]: pos4
6
+ ; f[4]: cType
7
+ ; f[5]: cForm
8
+ ; f[6]: lForm
9
+ ; f[7]: lemma
10
+ ; f[8]: orth
11
+ ; f[9]: pron
12
+ ; f[10]: orthBase
13
+ ; f[11]: pronBase
14
+ ; f[12]: goshu
15
+ ; f[13]: iType
16
+ ; f[14]: iForm
17
+ ; f[15]: fType
18
+ ; f[16]: fForm
19
+
20
+ ;dictionary-charset = utf8
21
+ ;config-charset = utf8
22
+
23
+ cost-factor = 700
24
+ ;max-grouping-size = 10
25
+ ;eval-size = 10
26
+ ;unk-eval-size = 4
27
+
28
+ bos-feature = BOS/EOS,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*
29
+
30
+ output-format-type = unidic
31
+
32
+ node-format-unidic = %m\t%f[9]\t%f[6]\t%f[7]\t%F-[0,1,2,3]\t%f[4]\t%f[5]\n
33
+ unk-format-unidic = %m\t%m\t%m\t%m\t%F-[0,1,2,3]\t%f[4]\t%f[5]\n
34
+ bos-format-unidic =
35
+ eos-format-unidic = EOS\n
36
+
37
+ node-format-chamame = \t%m\t%f[9]\t%f[6]\t%f[7]\t%F-[0,1,2,3]\t%f[4]\t%f[5]\n
38
+ ;unk-format-chamame = \t%m\t\t\t%m\tUNK\t\t\n
39
+ unk-format-chamame = \t%m\t\t\t%m\t%F-[0,1,2,3]\t\t\n
40
+ bos-format-chamame = B
41
+ eos-format-chamame =
src/ja/unidic-mecab-2.1.2_src/feature.def ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # F[0]: pos1
2
+ # F[1]: pos2
3
+ # F[2]: pos3
4
+ # F[3]: pos4
5
+ # F[4]: cType
6
+ # F[5]: cForm
7
+ # F[6]: lForm
8
+ # F[7]: lemma
9
+ # F[8]: orth
10
+ # F[9]: pron
11
+ # F[10]: orthBase
12
+ # F[11]: pronBase
13
+ # F[12]: goshu
14
+ # F[13]: iType
15
+ # F[14]: iForm
16
+ # F[15]: fType
17
+ # F[16]: fForm
18
+ #
19
+ # L[0]: pos1
20
+ # L[1]: pos2
21
+ # L[2]: pos3
22
+ # L[3]: pos4
23
+ # L[4]: cType
24
+ # L[5]: cForm
25
+ # L[6]: orth
26
+ # L[7]: orthBase
27
+ # L[8]: goshu
28
+ #
29
+ # R[0]: pos1
30
+ # R[1]: pos2
31
+ # R[2]: pos3
32
+ # R[3]: pos4
33
+ # R[4]: cType
34
+ # R[5]: cForm
35
+ # R[6]: orth
36
+ # R[7]: orthBase
37
+ # R[8]: goshu
38
+
39
+ UNIGRAM G01:%F[0]
40
+ UNIGRAM G02:%F[0],%F?[1]
41
+ UNIGRAM G03:%F[0],%F[1],%F?[2]
42
+ UNIGRAM G04:%F[0],%F[1],%F[2],%F?[3]
43
+
44
+ UNIGRAM C01:%F?[4]
45
+ UNIGRAM C02:%F?[5]
46
+ UNIGRAM C03:%F?[4],%F?[5]
47
+
48
+ UNIGRAM GC01:%F[0],%F?[4],%F?[5]
49
+ UNIGRAM GC02:%F[0],%F?[1],%F?[4],%F?[5]
50
+
51
+ UNIGRAM T01:%t
52
+
53
+ UNIGRAM GT01:%F[0],%t
54
+ UNIGRAM GT02:%F[0],%F?[1],%t
55
+ UNIGRAM GT03:%F[0],%F[1],%F?[2],%t
56
+ UNIGRAM GT04:%F[0],%F[1],%F[2],%F?[3],%t
57
+
58
+ UNIGRAM GCT01:%F[0],%F?[4],%F?[5],%t
59
+ UNIGRAM GCT02:%F[0],%F?[1],%F?[4],%F?[5],%t
60
+
61
+ UNIGRAM O01:%F[8]
62
+ UNIGRAM O02:%F[10]
63
+ UNIGRAM O03:%F[8],%F[10]
64
+
65
+ UNIGRAM GO01:%F[0],%F[10]
66
+ UNIGRAM GO02:%F[0],%F?[1],%F[10]
67
+ UNIGRAM GO03:%F[0],%F[1],%F?[2],%F[10]
68
+ UNIGRAM GO04:%F[0],%F[1],%F[2],%F?[3],%F[10]
69
+
70
+ UNIGRAM GCO01:%F[0],%F?[4],%F?[5],%F[8]
71
+ UNIGRAM GCO02:%F[0],%F?[1],%F?[4],%F?[5],%F[8]
72
+
73
+ UNIGRAM GL01:%F[0],%F[6],%F[7]
74
+ UNIGRAM GL02:%F[0],%F?[1],%F[6],%F[7]
75
+ UNIGRAM GL03:%F[0],%F[1],%F?[2],%F[6],%F[7]
76
+ UNIGRAM GL04:%F[0],%F[1],%F[2],%F?[3],%F[6],%F[7]
77
+
78
+ UNIGRAM CL01:%F?[4],%F?[5],%F[6],%F[7]
79
+
80
+ UNIGRAM GCL01:%F[0],%F?[4],%F?[5],%F[6],%F[7]
81
+ UNIGRAM GCL02:%F[0],%F?[1],%F?[4],%F?[5],%F[6],%F[7]
82
+
83
+ UNIGRAM LO01:%F[6],%F[7],%F[10]
84
+
85
+ UNIGRAM GLO01:%F[0],%F[6],%F[7],%F[10]
86
+ UNIGRAM GLO02:%F[0],%F?[1],%F[6],%F[7],%F[10]
87
+ UNIGRAM GLO03:%F[0],%F[1],%F?[2],%F[6],%F[7],%F[10]
88
+ UNIGRAM GLO04:%F[0],%F[1],%F[2],%F?[3],%F[6],%F[7],%F[10]
89
+
90
+ UNIGRAM GCLO01:%F[0],%F?[4],%F?[5],%F[6],%F[7],%F[8]
91
+ UNIGRAM GCLO02:%F[0],%F?[1],%F?[4],%F?[5],%F[6],%F[7],%F[8]
92
+
93
+ UNIGRAM W01:%F[12]
94
+
95
+ UNIGRAM GW01:%F[0],%F[12]
96
+ UNIGRAM GW02:%F[0],%F?[1],%F[12]
97
+ UNIGRAM GW03:%F[0],%F[1],%F?[2],%F[12]
98
+ UNIGRAM GW04:%F[0],%F[1],%F[2],%F?[3],%F[12]
99
+
100
+ UNIGRAM GCW01:%F[0],%F?[4],%F?[5],%F[12]
101
+ UNIGRAM GCW02:%F[0],%F?[1],%F?[4],%F?[5],%F[12]
102
+
103
+ UNIGRAM OW01:%F[10],%F[12]
104
+
105
+ UNIGRAM LW01:%F[6],%F[7],%F[12]
106
+
107
+ UNIGRAM GCLOW01:%F[0],%F?[4],%F?[5],%F[6],%F[7],%F[8],%F[12]
108
+ UNIGRAM GCLOW02:%F[0],%F?[1],%F?[4],%F?[5],%F[6],%F[7],%F[8],%F[12]
109
+
110
+ UNIGRAM GLOP01:%F[0],%F[6],%F[7],%F[10],%F[11]
111
+ UNIGRAM GLOP02:%F[0],%F?[1],%F[6],%F[7],%F[10],%F[11]
112
+ UNIGRAM GLOP03:%F[0],%F[1],%F?[2],%F[6],%F[7],%F[10],%F[11]
113
+ UNIGRAM GLOP04:%F[0],%F[1],%F[2],%F?[3],%F[6],%F[7],%F[10],%F[11]
114
+
115
+ UNIGRAM GCLOP01:%F[0],%F?[4],%F?[5],%F[6],%F[7],%F[8],%F[9]
116
+ UNIGRAM GCLOP02:%F[0],%F?[1],%F?[4],%F?[5],%F[6],%F[7],%F[8],%F[9]
117
+
118
+ UNIGRAM I01:%F?[13]
119
+ UNIGRAM I02:%F?[14]
120
+ UNIGRAM I03:%F?[13],%F?[14]
121
+
122
+ UNIGRAM F01:%F?[15]
123
+ UNIGRAM F02:%F?[16]
124
+ UNIGRAM F03:%F?[15],%F?[16]
125
+
126
+ BIGRAM G_G01:%L[0]/%R[0]
127
+ BIGRAM G_G02:%L[0]/%R[0],%R?[1]
128
+ BIGRAM G_G03:%L[0]/%R[0],%R[1],%R?[2]
129
+ BIGRAM G_G04:%L[0]/%R[0],%R[1],%R[2],%R?[3]
130
+ BIGRAM G_G05:%L[0],%L?[1]/%R[0]
131
+ BIGRAM G_G06:%L[0],%L?[1]/%R[0],%R?[1]
132
+ BIGRAM G_G07:%L[0],%L?[1]/%R[0],%R[1],%R?[2]
133
+ BIGRAM G_G08:%L[0],%L?[1]/%R[0],%R[1],%R[2],%R?[3]
134
+ BIGRAM G_G09:%L[0],%L[1],%L?[2]/%R[0]
135
+ BIGRAM G_G10:%L[0],%L[1],%L?[2]/%R[0],%R?[1]
136
+ BIGRAM G_G11:%L[0],%L[1],%L?[2]/%R[0],%R[1],%R?[2]
137
+ BIGRAM G_G12:%L[0],%L[1],%L?[2]/%R[0],%R[1],%R[2],%R?[3]
138
+ BIGRAM G_G13:%L[0],%L[1],%L[2],%L?[3]/%R[0]
139
+ BIGRAM G_G14:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R?[1]
140
+ BIGRAM G_G15:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R[1],%R?[2]
141
+ BIGRAM G_G16:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R[1],%R[2],%R?[3]
142
+
143
+ BIGRAM C_C09:%L?[4],%L?[5]/%R?[4],%R?[5]
144
+
145
+ BIGRAM G_C01:%L[0]/%R?[4],%R?[5]
146
+ BIGRAM G_C02:%L[0],%L?[1]/%R?[4],%R?[5]
147
+ BIGRAM G_C03:%L[0],%L[1],%L?[2]/%R?[4],%R?[5]
148
+ BIGRAM G_C04:%L[0],%L[1],%L[2],%L?[3]/%R?[4],%R?[5]
149
+
150
+ BIGRAM C_G01:%L?[4],%L?[5]/%R[0]
151
+ BIGRAM C_G02:%L?[4],%L?[5]/%R[0],%R?[1]
152
+ BIGRAM C_G03:%L?[4],%L?[5]/%R[0],%R[1],%R?[2]
153
+ BIGRAM C_G04:%L?[4],%L?[5]/%R[0],%R[1],%R[2],%R?[3]
154
+
155
+ BIGRAM G_GC01:%L[0]/%R[0],%R?[4],%R?[5]
156
+ BIGRAM G_GC02:%L[0]/%R[0],%R?[1],%R?[4],%R?[5]
157
+ BIGRAM G_GC05:%L[0],%L?[1]/%R[0],%R?[4],%R?[5]
158
+ BIGRAM G_GC06:%L[0],%L?[1]/%R[0],%R?[1],%R?[4],%R?[5]
159
+ BIGRAM G_GC09:%L[0],%L[1],%L?[2]/%R[0],%R?[4],%R?[5]
160
+ BIGRAM G_GC10:%L[0],%L[1],%L?[2]/%R[0],%R?[1],%R?[4],%R?[5]
161
+ BIGRAM G_GC13:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R?[4],%R?[5]
162
+ BIGRAM G_GC14:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R?[1],%R?[4],%R?[5]
163
+
164
+ BIGRAM GC_G01:%L[0],%L?[4],%L?[5]/%R[0]
165
+ BIGRAM GC_G02:%L[0],%L?[4],%L?[5]/%R[0],%R?[1]
166
+ BIGRAM GC_G03:%L[0],%L?[4],%L?[5]/%R[0],%R[1],%R?[2]
167
+ BIGRAM GC_G04:%L[0],%L?[4],%L?[5]/%R[0],%R[1],%R[2],%R?[3]
168
+ BIGRAM GC_G05:%L[0],%L?[1],%L?[4],%L?[5]/%R[0]
169
+ BIGRAM GC_G06:%L[0],%L?[1],%L?[4],%L?[5]/%R[0],%R?[1]
170
+ BIGRAM GC_G07:%L[0],%L?[1],%L?[4],%L?[5]/%R[0],%R[1],%R?[2]
171
+ BIGRAM GC_G08:%L[0],%L?[1],%L?[4],%L?[5]/%R[0],%R[1],%R[2],%R?[3]
172
+
173
+ BIGRAM C_GC01:%L?[4],%L?[5]/%R[0],%R?[4],%R?[5]
174
+ BIGRAM C_GC02:%L?[4],%L?[5]/%R[0],%R?[1],%R?[4],%R?[5]
175
+
176
+ BIGRAM GC_C01:%L[0],%L?[4],%L?[5]/%R?[4],%R?[5]
177
+ BIGRAM GC_C02:%L[0],%L?[1],%L?[4],%L?[5]/%R?[4],%R?[5]
178
+
179
+ BIGRAM GC_GC01:%L[0],%L?[4],%L?[5]/%R[0],%R?[4],%R?[5]
180
+ BIGRAM GC_GC02:%L[0],%L?[4],%L?[5]/%R[0],%R?[1],%R?[4],%R?[5]
181
+ BIGRAM GC_GC05:%L[0],%L?[1],%L?[4],%L?[5]/%R[0],%R?[4],%R?[5]
182
+ BIGRAM GC_GC06:%L[0],%L?[1],%L?[4],%L?[5]/%R[0],%R?[1],%R?[4],%R?[5]
183
+
184
+ BIGRAM O_O05:%L?[7]/%R?[7]
185
+
186
+ BIGRAM G_O01:%L[0]/%R?[7]
187
+ BIGRAM G_O02:%L[0],%L?[1]/%R?[7]
188
+ BIGRAM G_O03:%L[0],%L[1],%L?[2]/%R?[7]
189
+ BIGRAM G_O04:%L[0],%L[1],%L[2],%L?[3]/%R?[7]
190
+
191
+ BIGRAM GO_O01:%L[0],%L?[7]/%R?[7]
192
+ BIGRAM GO_O02:%L[0],%L?[1],%L?[7]/%R?[7]
193
+ BIGRAM GO_O03:%L[0],%L[1],%L?[2],%L?[7]/%R?[7]
194
+ BIGRAM GO_O04:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R?[7]
195
+
196
+ BIGRAM O_G01:%L?[7]/%R[0]
197
+ BIGRAM O_G02:%L?[7]/%R[0],%R?[1]
198
+ BIGRAM O_G03:%L?[7]/%R[0],%R[1],%R?[2]
199
+ BIGRAM O_G04:%L?[7]/%R[0],%R[1],%R[2],%R?[3]
200
+
201
+ BIGRAM O_GO01:%L?[7]/%R[0],%R?[7]
202
+ BIGRAM O_GO02:%L?[7]/%R[0],%R?[1],%R?[7]
203
+ BIGRAM O_GO03:%L?[7]/%R[0],%R[1],%R?[2],%R?[7]
204
+ BIGRAM O_GO04:%L?[7]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
205
+
206
+ BIGRAM C_O01:%L?[4],%L?[5]/%R?[7]
207
+
208
+ BIGRAM O_C01:%L?[7]/%R?[4],%R?[5]
209
+
210
+ BIGRAM O_CO01:%L?[7]/%R?[4],%R?[5],%R?[6]
211
+
212
+ BIGRAM GC_O01:%L[0],%L?[4],%L?[5]/%R?[7]
213
+ BIGRAM GC_O02:%L[0],%L?[1],%L?[4],%L?[5]/%R?[7]
214
+
215
+ BIGRAM O_GC01:%L?[7]/%R[0],%R?[4],%R?[5]
216
+ BIGRAM O_GC02:%L?[7]/%R[0],%R?[1],%R?[4],%R?[5]
217
+
218
+ BIGRAM G_GO01:%L[0]/%R[0],%R?[7]
219
+ BIGRAM G_GO02:%L[0]/%R[0],%R?[1],%R?[7]
220
+ BIGRAM G_GO03:%L[0]/%R[0],%R[1],%R?[2],%R?[7]
221
+ BIGRAM G_GO04:%L[0]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
222
+ BIGRAM G_GO05:%L[0],%L?[1]/%R[0],%R?[7]
223
+ BIGRAM G_GO06:%L[0],%L?[1]/%R[0],%R?[1],%R?[7]
224
+ BIGRAM G_GO07:%L[0],%L?[1]/%R[0],%R[1],%R?[2],%R?[7]
225
+ BIGRAM G_GO08:%L[0],%L?[1]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
226
+ BIGRAM G_GO09:%L[0],%L[1],%L?[2]/%R[0],%R?[7]
227
+ BIGRAM G_GO10:%L[0],%L[1],%L?[2]/%R[0],%R?[1],%R?[7]
228
+ BIGRAM G_GO11:%L[0],%L[1],%L?[2]/%R[0],%R[1],%R?[2],%R?[7]
229
+ BIGRAM G_GO12:%L[0],%L[1],%L?[2]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
230
+ BIGRAM G_GO13:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R?[7]
231
+ BIGRAM G_GO14:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R?[1],%R?[7]
232
+ BIGRAM G_GO15:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R[1],%R?[2],%R?[7]
233
+ BIGRAM G_GO16:%L[0],%L[1],%L[2],%L?[3]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
234
+
235
+ BIGRAM GO_G01:%L[0],%L?[7]/%R[0]
236
+ BIGRAM GO_G02:%L[0],%L?[7]/%R[0],%R?[1]
237
+ BIGRAM GO_G03:%L[0],%L?[7]/%R[0],%R[1],%R?[2]
238
+ BIGRAM GO_G04:%L[0],%L?[7]/%R[0],%R[1],%R[2],%R?[3]
239
+ BIGRAM GO_G05:%L[0],%L?[1],%L?[7]/%R[0]
240
+ BIGRAM GO_G06:%L[0],%L?[1],%L?[7]/%R[0],%R?[1]
241
+ BIGRAM GO_G07:%L[0],%L?[1],%L?[7]/%R[0],%R[1],%R?[2]
242
+ BIGRAM GO_G08:%L[0],%L?[1],%L?[7]/%R[0],%R[1],%R[2],%R?[3]
243
+ BIGRAM GO_G09:%L[0],%L[1],%L?[2],%L?[7]/%R[0]
244
+ BIGRAM GO_G10:%L[0],%L[1],%L?[2],%L?[7]/%R[0],%R?[1]
245
+ BIGRAM GO_G11:%L[0],%L[1],%L?[2],%L?[7]/%R[0],%R[1],%R?[2]
246
+ BIGRAM GO_G12:%L[0],%L[1],%L?[2],%L?[7]/%R[0],%R[1],%R[2],%R?[3]
247
+ BIGRAM GO_G13:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0]
248
+ BIGRAM GO_G14:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0],%R?[1]
249
+ BIGRAM GO_G15:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0],%R[1],%R?[2]
250
+ BIGRAM GO_G16:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0],%R[1],%R[2],%R?[3]
251
+
252
+ BIGRAM GO_GO01:%L[0],%L?[7]/%R[0],%R?[7]
253
+ BIGRAM GO_GO02:%L[0],%L?[7]/%R[0],%R?[1],%R?[7]
254
+ BIGRAM GO_GO03:%L[0],%L?[7]/%R[0],%R[1],%R?[2],%R?[7]
255
+ BIGRAM GO_GO04:%L[0],%L?[7]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
256
+ BIGRAM GO_GO05:%L[0],%L?[1],%L?[7]/%R[0],%R?[7]
257
+ BIGRAM GO_GO06:%L[0],%L?[1],%L?[7]/%R[0],%R?[1],%R?[7]
258
+ BIGRAM GO_GO07:%L[0],%L?[1],%L?[7]/%R[0],%R[1],%R?[2],%R?[7]
259
+ BIGRAM GO_GO08:%L[0],%L?[1],%L?[7]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
260
+ BIGRAM GO_GO09:%L[0],%L[1],%L?[2],%L?[7]/%R[0],%R?[7]
261
+ BIGRAM GO_GO10:%L[0],%L[1],%L?[2],%L?[7]/%R[0],%R?[1],%R?[7]
262
+ BIGRAM GO_GO11:%L[0],%L[1],%L?[2],%L?[7]/%R[0],%R[1],%R?[2],%R?[7]
263
+ BIGRAM GO_GO12:%L[0],%L[1],%L?[2],%L?[7]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
264
+ BIGRAM GO_GO13:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0],%R?[7]
265
+ BIGRAM GO_GO14:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0],%R?[1],%R?[7]
266
+ BIGRAM GO_GO15:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0],%R[1],%R?[2],%R?[7]
267
+ BIGRAM GO_GO16:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
268
+
269
+ BIGRAM C_CO01:%L?[4],%L?[5]/%R?[4],%R?[5],%R?[6]
270
+
271
+ BIGRAM CO_C01:%L?[4],%L?[5],%L?[6]/%R?[4],%R?[5]
272
+
273
+ BIGRAM CO_CO01:%L?[4],%L?[5],%L?[6]/%R?[4],%R?[5],%R?[6]
274
+
275
+ BIGRAM G_CO01:%L[0]/%R?[4],%R?[5],%R?[6]
276
+ BIGRAM G_CO02:%L[0],%L?[1]/%R?[4],%R?[5],%R?[6]
277
+ BIGRAM G_CO03:%L[0],%L[1],%L?[2]/%R?[4],%R?[5],%R?[6]
278
+ BIGRAM G_CO04:%L[0],%L[1],%L[2],%L?[3]/%R?[4],%R?[5],%R?[6]
279
+
280
+ BIGRAM GO_C01:%L[0],%L?[7]/%R?[4],%R?[5]
281
+ BIGRAM GO_C02:%L[0],%L?[1],%L?[7]/%R?[4],%R?[5]
282
+ BIGRAM GO_C03:%L[0],%L[1],%L?[2],%L?[7]/%R?[4],%R?[5]
283
+ BIGRAM GO_C04:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R?[4],%R?[5]
284
+
285
+ BIGRAM GO_CO01:%L[0],%L?[7]/%R?[4],%R?[5],%R?[6]
286
+ BIGRAM GO_CO02:%L[0],%L?[1],%L?[7]/%R?[4],%R?[5],%R?[6]
287
+ BIGRAM GO_CO03:%L[0],%L[1],%L?[2],%L?[7]/%R?[4],%R?[5],%R?[6]
288
+ BIGRAM GO_CO04:%L[0],%L[1],%L[2],%L?[3],%L?[7]/%R?[4],%R?[5],%R?[6]
289
+
290
+ BIGRAM C_GO01:%L?[4],%L?[5]/%R[0],%R?[7]
291
+ BIGRAM C_GO02:%L?[4],%L?[5]/%R[0],%R?[1],%R?[7]
292
+ BIGRAM C_GO03:%L?[4],%L?[5]/%R[0],%R[1],%R?[2],%R?[7]
293
+ BIGRAM C_GO04:%L?[4],%L?[5]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
294
+
295
+ BIGRAM CO_G01:%L?[4],%L?[5],%L?[6]/%R[0]
296
+ BIGRAM CO_G02:%L?[4],%L?[5],%L?[6]/%R[0],%R?[1]
297
+ BIGRAM CO_G03:%L?[4],%L?[5],%L?[6]/%R[0],%R[1],%R?[2]
298
+ BIGRAM CO_G04:%L?[4],%L?[5],%L?[6]/%R[0],%R[1],%R[2],%R?[3]
299
+
300
+ BIGRAM CO_GO01:%L?[4],%L?[5],%L?[6]/%R[0],%R?[7]
301
+ BIGRAM CO_GO02:%L?[4],%L?[5],%L?[6]/%R[0],%R?[1],%R?[7]
302
+ BIGRAM CO_GO03:%L?[4],%L?[5],%L?[6]/%R[0],%R[1],%R?[2],%R?[7]
303
+ BIGRAM CO_GO04:%L?[4],%L?[5],%L?[6]/%R[0],%R[1],%R[2],%R?[3],%R?[7]
304
+
305
+ BIGRAM GCO_GCO01:%L[0],%L?[4],%L?[5],%L?[6]/%R[0],%R?[4],%R?[5],%R?[6]
306
+ BIGRAM GCO_GCO02:%L[0],%L?[4],%L?[5],%L?[6]/%R[0],%R?[1],%R?[4],%R?[5],%R?[6]
307
+ BIGRAM GCO_GCO05:%L[0],%L?[1],%L?[4],%L?[5],%L?[6]/%R[0],%R?[4],%R?[5],%R?[6]
308
+ BIGRAM GCO_GCO06:%L[0],%L?[1],%L?[4],%L?[5],%L?[6]/%R[0],%R?[1],%R?[4],%R?[5],%R?[6]
309
+
310
+ BIGRAM W_W01:%L?[8]/%R?[8]
311
+
312
+ BIGRAM G_W01:%L[0]/%R?[8]
313
+ BIGRAM G_W02:%L[0],%L?[1]/%R?[8]
314
+ BIGRAM G_W03:%L[0],%L[1],%L?[2]/%R?[8]
315
+ BIGRAM G_W04:%L[0],%L[1],%L[2],%L?[3]/%R?[8]
316
+
317
+ BIGRAM W_G01:%L?[8]/%R[0]
318
+ BIGRAM W_G02:%L?[8]/%R[0],%R?[1]
319
+ BIGRAM W_G03:%L?[8]/%R[0],%R[1],%R?[2]
320
+ BIGRAM W_G04:%L?[8]/%R[0],%R[1],%R[2],%R?[3]
321
+
322
+ BIGRAM GW_GW01:%L[0],%L?[8]/%R[0],%R?[8]
323
+ BIGRAM GW_GW02:%L[0],%L?[8]/%R[0],%R?[1],%R?[8]
324
+ BIGRAM GW_GW03:%L[0],%L?[8]/%R[0],%R[1],%R?[2],%R?[8]
325
+ BIGRAM GW_GW04:%L[0],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[8]
326
+ BIGRAM GW_GW05:%L[0],%L?[1],%L?[8]/%R[0],%R?[8]
327
+ BIGRAM GW_GW06:%L[0],%L?[1],%L?[8]/%R[0],%R?[1],%R?[8]
328
+ BIGRAM GW_GW07:%L[0],%L?[1],%L?[8]/%R[0],%R[1],%R?[2],%R?[8]
329
+ BIGRAM GW_GW08:%L[0],%L?[1],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[8]
330
+ BIGRAM GW_GW09:%L[0],%L[1],%L?[2],%L?[8]/%R[0],%R?[8]
331
+ BIGRAM GW_GW10:%L[0],%L[1],%L?[2],%L?[8]/%R[0],%R?[1],%R?[8]
332
+ BIGRAM GW_GW11:%L[0],%L[1],%L?[2],%L?[8]/%R[0],%R[1],%R?[2],%R?[8]
333
+ BIGRAM GW_GW12:%L[0],%L[1],%L?[2],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[8]
334
+ BIGRAM GW_GW13:%L[0],%L[1],%L[2],%L?[3],%L?[8]/%R[0],%R?[8]
335
+ BIGRAM GW_GW14:%L[0],%L[1],%L[2],%L?[3],%L?[8]/%R[0],%R?[1],%R?[8]
336
+ BIGRAM GW_GW15:%L[0],%L[1],%L[2],%L?[3],%L?[8]/%R[0],%R[1],%R?[2],%R?[8]
337
+ BIGRAM GW_GW16:%L[0],%L[1],%L[2],%L?[3],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[8]
338
+
339
+ BIGRAM GCW_GCW01:%L[0],%L?[4],%L?[5],%L?[8]/%R[0],%R?[4],%R?[5],%R?[8]
340
+ BIGRAM GCW_GCW02:%L[0],%L?[4],%L?[5],%L?[8]/%R[0],%R?[1],%R?[4],%R?[5],%R?[8]
341
+ BIGRAM GCW_GCW05:%L[0],%L?[1],%L?[4],%L?[5],%L?[8]/%R[0],%R?[4],%R?[5],%R?[8]
342
+ BIGRAM GCW_GCW06:%L[0],%L?[1],%L?[4],%L?[5],%L?[8]/%R[0],%R?[1],%R?[4],%R?[5],%R?[8]
343
+
344
+ BIGRAM OW_OW01:%L?[7],%L?[8]/%R?[7],%R?[8]
345
+
346
+ BIGRAM GOW_GOW01:%L[0],%L?[7],%L?[8]/%R[0],%R?[7],%R?[8]
347
+ BIGRAM GOW_GOW02:%L[0],%L?[7],%L?[8]/%R[0],%R?[1],%R?[7],%R?[8]
348
+ BIGRAM GOW_GOW03:%L[0],%L?[7],%L?[8]/%R[0],%R[1],%R?[2],%R?[7],%R?[8]
349
+ BIGRAM GOW_GOW04:%L[0],%L?[7],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[7],%R?[8]
350
+ BIGRAM GOW_GOW05:%L[0],%L?[1],%L?[7],%L?[8]/%R[0],%R?[7],%R?[8]
351
+ BIGRAM GOW_GOW06:%L[0],%L?[1],%L?[7],%L?[8]/%R[0],%R?[1],%R?[7],%R?[8]
352
+ BIGRAM GOW_GOW07:%L[0],%L?[1],%L?[7],%L?[8]/%R[0],%R[1],%R?[2],%R?[7],%R?[8]
353
+ BIGRAM GOW_GOW08:%L[0],%L?[1],%L?[7],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[7],%R?[8]
354
+ BIGRAM GOW_GOW09:%L[0],%L[1],%L?[2],%L?[7],%L?[8]/%R[0],%R?[7],%R?[8]
355
+ BIGRAM GOW_GOW10:%L[0],%L[1],%L?[2],%L?[7],%L?[8]/%R[0],%R?[1],%R?[7],%R?[8]
356
+ BIGRAM GOW_GOW11:%L[0],%L[1],%L?[2],%L?[7],%L?[8]/%R[0],%R[1],%R?[2],%R?[7],%R?[8]
357
+ BIGRAM GOW_GOW12:%L[0],%L[1],%L?[2],%L?[7],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[7],%R?[8]
358
+ BIGRAM GOW_GOW13:%L[0],%L[1],%L[2],%L?[3],%L?[7],%L?[8]/%R[0],%R?[7],%R?[8]
359
+ BIGRAM GOW_GOW14:%L[0],%L[1],%L[2],%L?[3],%L?[7],%L?[8]/%R[0],%R?[1],%R?[7],%R?[8]
360
+ BIGRAM GOW_GOW15:%L[0],%L[1],%L[2],%L?[3],%L?[7],%L?[8]/%R[0],%R[1],%R?[2],%R?[7],%R?[8]
361
+ BIGRAM GOW_GOW16:%L[0],%L[1],%L[2],%L?[3],%L?[7],%L?[8]/%R[0],%R[1],%R[2],%R?[3],%R?[7],%R?[8]
362
+
363
+ BIGRAM CO_COW01:%L?[4],%L?[5],%L?[6]/%R?[4],%R?[5],%R?[6],%R?[8]
364
+
365
+ BIGRAM COW_C01:%L?[4],%L?[5],%L?[6],%L?[8]/%R?[4],%R?[5]
366
+
367
+ BIGRAM COW_COW01:%L?[4],%L?[5],%L?[6],%L?[8]/%R?[4],%R?[5],%R?[6],%R?[8]
src/ja/unidic-mecab-2.1.2_src/install-sh ADDED
@@ -0,0 +1,507 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+ # install - install a program, script, or datafile
3
+
4
+ scriptversion=2006-10-14.15
5
+
6
+ # This originates from X11R5 (mit/util/scripts/install.sh), which was
7
+ # later released in X11R6 (xc/config/util/install.sh) with the
8
+ # following copyright and license.
9
+ #
10
+ # Copyright (C) 1994 X Consortium
11
+ #
12
+ # Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ # of this software and associated documentation files (the "Software"), to
14
+ # deal in the Software without restriction, including without limitation the
15
+ # rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
16
+ # sell copies of the Software, and to permit persons to whom the Software is
17
+ # furnished to do so, subject to the following conditions:
18
+ #
19
+ # The above copyright notice and this permission notice shall be included in
20
+ # all copies or substantial portions of the Software.
21
+ #
22
+ # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
26
+ # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
27
+ # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28
+ #
29
+ # Except as contained in this notice, the name of the X Consortium shall not
30
+ # be used in advertising or otherwise to promote the sale, use or other deal-
31
+ # ings in this Software without prior written authorization from the X Consor-
32
+ # tium.
33
+ #
34
+ #
35
+ # FSF changes to this file are in the public domain.
36
+ #
37
+ # Calling this script install-sh is preferred over install.sh, to prevent
38
+ # `make' implicit rules from creating a file called install from it
39
+ # when there is no Makefile.
40
+ #
41
+ # This script is compatible with the BSD install script, but was written
42
+ # from scratch.
43
+
44
+ nl='
45
+ '
46
+ IFS=" "" $nl"
47
+
48
+ # set DOITPROG to echo to test this script
49
+
50
+ # Don't use :- since 4.3BSD and earlier shells don't like it.
51
+ doit="${DOITPROG-}"
52
+ if test -z "$doit"; then
53
+ doit_exec=exec
54
+ else
55
+ doit_exec=$doit
56
+ fi
57
+
58
+ # Put in absolute file names if you don't have them in your path;
59
+ # or use environment vars.
60
+
61
+ mvprog="${MVPROG-mv}"
62
+ cpprog="${CPPROG-cp}"
63
+ chmodprog="${CHMODPROG-chmod}"
64
+ chownprog="${CHOWNPROG-chown}"
65
+ chgrpprog="${CHGRPPROG-chgrp}"
66
+ stripprog="${STRIPPROG-strip}"
67
+ rmprog="${RMPROG-rm}"
68
+ mkdirprog="${MKDIRPROG-mkdir}"
69
+
70
+ posix_glob=
71
+ posix_mkdir=
72
+
73
+ # Desired mode of installed file.
74
+ mode=0755
75
+
76
+ chmodcmd=$chmodprog
77
+ chowncmd=
78
+ chgrpcmd=
79
+ stripcmd=
80
+ rmcmd="$rmprog -f"
81
+ mvcmd="$mvprog"
82
+ src=
83
+ dst=
84
+ dir_arg=
85
+ dstarg=
86
+ no_target_directory=
87
+
88
+ usage="Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE
89
+ or: $0 [OPTION]... SRCFILES... DIRECTORY
90
+ or: $0 [OPTION]... -t DIRECTORY SRCFILES...
91
+ or: $0 [OPTION]... -d DIRECTORIES...
92
+
93
+ In the 1st form, copy SRCFILE to DSTFILE.
94
+ In the 2nd and 3rd, copy all SRCFILES to DIRECTORY.
95
+ In the 4th, create DIRECTORIES.
96
+
97
+ Options:
98
+ -c (ignored)
99
+ -d create directories instead of installing files.
100
+ -g GROUP $chgrpprog installed files to GROUP.
101
+ -m MODE $chmodprog installed files to MODE.
102
+ -o USER $chownprog installed files to USER.
103
+ -s $stripprog installed files.
104
+ -t DIRECTORY install into DIRECTORY.
105
+ -T report an error if DSTFILE is a directory.
106
+ --help display this help and exit.
107
+ --version display version info and exit.
108
+
109
+ Environment variables override the default commands:
110
+ CHGRPPROG CHMODPROG CHOWNPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG
111
+ "
112
+
113
+ while test $# -ne 0; do
114
+ case $1 in
115
+ -c) shift
116
+ continue;;
117
+
118
+ -d) dir_arg=true
119
+ shift
120
+ continue;;
121
+
122
+ -g) chgrpcmd="$chgrpprog $2"
123
+ shift
124
+ shift
125
+ continue;;
126
+
127
+ --help) echo "$usage"; exit $?;;
128
+
129
+ -m) mode=$2
130
+ shift
131
+ shift
132
+ case $mode in
133
+ *' '* | *' '* | *'
134
+ '* | *'*'* | *'?'* | *'['*)
135
+ echo "$0: invalid mode: $mode" >&2
136
+ exit 1;;
137
+ esac
138
+ continue;;
139
+
140
+ -o) chowncmd="$chownprog $2"
141
+ shift
142
+ shift
143
+ continue;;
144
+
145
+ -s) stripcmd=$stripprog
146
+ shift
147
+ continue;;
148
+
149
+ -t) dstarg=$2
150
+ shift
151
+ shift
152
+ continue;;
153
+
154
+ -T) no_target_directory=true
155
+ shift
156
+ continue;;
157
+
158
+ --version) echo "$0 $scriptversion"; exit $?;;
159
+
160
+ --) shift
161
+ break;;
162
+
163
+ -*) echo "$0: invalid option: $1" >&2
164
+ exit 1;;
165
+
166
+ *) break;;
167
+ esac
168
+ done
169
+
170
+ if test $# -ne 0 && test -z "$dir_arg$dstarg"; then
171
+ # When -d is used, all remaining arguments are directories to create.
172
+ # When -t is used, the destination is already specified.
173
+ # Otherwise, the last argument is the destination. Remove it from $@.
174
+ for arg
175
+ do
176
+ if test -n "$dstarg"; then
177
+ # $@ is not empty: it contains at least $arg.
178
+ set fnord "$@" "$dstarg"
179
+ shift # fnord
180
+ fi
181
+ shift # arg
182
+ dstarg=$arg
183
+ done
184
+ fi
185
+
186
+ if test $# -eq 0; then
187
+ if test -z "$dir_arg"; then
188
+ echo "$0: no input file specified." >&2
189
+ exit 1
190
+ fi
191
+ # It's OK to call `install-sh -d' without argument.
192
+ # This can happen when creating conditional directories.
193
+ exit 0
194
+ fi
195
+
196
+ if test -z "$dir_arg"; then
197
+ trap '(exit $?); exit' 1 2 13 15
198
+
199
+ # Set umask so as not to create temps with too-generous modes.
200
+ # However, 'strip' requires both read and write access to temps.
201
+ case $mode in
202
+ # Optimize common cases.
203
+ *644) cp_umask=133;;
204
+ *755) cp_umask=22;;
205
+
206
+ *[0-7])
207
+ if test -z "$stripcmd"; then
208
+ u_plus_rw=
209
+ else
210
+ u_plus_rw='% 200'
211
+ fi
212
+ cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;;
213
+ *)
214
+ if test -z "$stripcmd"; then
215
+ u_plus_rw=
216
+ else
217
+ u_plus_rw=,u+rw
218
+ fi
219
+ cp_umask=$mode$u_plus_rw;;
220
+ esac
221
+ fi
222
+
223
+ for src
224
+ do
225
+ # Protect names starting with `-'.
226
+ case $src in
227
+ -*) src=./$src ;;
228
+ esac
229
+
230
+ if test -n "$dir_arg"; then
231
+ dst=$src
232
+ dstdir=$dst
233
+ test -d "$dstdir"
234
+ dstdir_status=$?
235
+ else
236
+
237
+ # Waiting for this to be detected by the "$cpprog $src $dsttmp" command
238
+ # might cause directories to be created, which would be especially bad
239
+ # if $src (and thus $dsttmp) contains '*'.
240
+ if test ! -f "$src" && test ! -d "$src"; then
241
+ echo "$0: $src does not exist." >&2
242
+ exit 1
243
+ fi
244
+
245
+ if test -z "$dstarg"; then
246
+ echo "$0: no destination specified." >&2
247
+ exit 1
248
+ fi
249
+
250
+ dst=$dstarg
251
+ # Protect names starting with `-'.
252
+ case $dst in
253
+ -*) dst=./$dst ;;
254
+ esac
255
+
256
+ # If destination is a directory, append the input filename; won't work
257
+ # if double slashes aren't ignored.
258
+ if test -d "$dst"; then
259
+ if test -n "$no_target_directory"; then
260
+ echo "$0: $dstarg: Is a directory" >&2
261
+ exit 1
262
+ fi
263
+ dstdir=$dst
264
+ dst=$dstdir/`basename "$src"`
265
+ dstdir_status=0
266
+ else
267
+ # Prefer dirname, but fall back on a substitute if dirname fails.
268
+ dstdir=`
269
+ (dirname "$dst") 2>/dev/null ||
270
+ expr X"$dst" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
271
+ X"$dst" : 'X\(//\)[^/]' \| \
272
+ X"$dst" : 'X\(//\)$' \| \
273
+ X"$dst" : 'X\(/\)' \| . 2>/dev/null ||
274
+ echo X"$dst" |
275
+ sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
276
+ s//\1/
277
+ q
278
+ }
279
+ /^X\(\/\/\)[^/].*/{
280
+ s//\1/
281
+ q
282
+ }
283
+ /^X\(\/\/\)$/{
284
+ s//\1/
285
+ q
286
+ }
287
+ /^X\(\/\).*/{
288
+ s//\1/
289
+ q
290
+ }
291
+ s/.*/./; q'
292
+ `
293
+
294
+ test -d "$dstdir"
295
+ dstdir_status=$?
296
+ fi
297
+ fi
298
+
299
+ obsolete_mkdir_used=false
300
+
301
+ if test $dstdir_status != 0; then
302
+ case $posix_mkdir in
303
+ '')
304
+ # Create intermediate dirs using mode 755 as modified by the umask.
305
+ # This is like FreeBSD 'install' as of 1997-10-28.
306
+ umask=`umask`
307
+ case $stripcmd.$umask in
308
+ # Optimize common cases.
309
+ *[2367][2367]) mkdir_umask=$umask;;
310
+ .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;;
311
+
312
+ *[0-7])
313
+ mkdir_umask=`expr $umask + 22 \
314
+ - $umask % 100 % 40 + $umask % 20 \
315
+ - $umask % 10 % 4 + $umask % 2
316
+ `;;
317
+ *) mkdir_umask=$umask,go-w;;
318
+ esac
319
+
320
+ # With -d, create the new directory with the user-specified mode.
321
+ # Otherwise, rely on $mkdir_umask.
322
+ if test -n "$dir_arg"; then
323
+ mkdir_mode=-m$mode
324
+ else
325
+ mkdir_mode=
326
+ fi
327
+
328
+ posix_mkdir=false
329
+ case $umask in
330
+ *[123567][0-7][0-7])
331
+ # POSIX mkdir -p sets u+wx bits regardless of umask, which
332
+ # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
333
+ ;;
334
+ *)
335
+ tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
336
+ trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
337
+
338
+ if (umask $mkdir_umask &&
339
+ exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1
340
+ then
341
+ if test -z "$dir_arg" || {
342
+ # Check for POSIX incompatibilities with -m.
343
+ # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
344
+ # other-writeable bit of parent directory when it shouldn't.
345
+ # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
346
+ ls_ld_tmpdir=`ls -ld "$tmpdir"`
347
+ case $ls_ld_tmpdir in
348
+ d????-?r-*) different_mode=700;;
349
+ d????-?--*) different_mode=755;;
350
+ *) false;;
351
+ esac &&
352
+ $mkdirprog -m$different_mode -p -- "$tmpdir" && {
353
+ ls_ld_tmpdir_1=`ls -ld "$tmpdir"`
354
+ test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
355
+ }
356
+ }
357
+ then posix_mkdir=:
358
+ fi
359
+ rmdir "$tmpdir/d" "$tmpdir"
360
+ else
361
+ # Remove any dirs left behind by ancient mkdir implementations.
362
+ rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null
363
+ fi
364
+ trap '' 0;;
365
+ esac;;
366
+ esac
367
+
368
+ if
369
+ $posix_mkdir && (
370
+ umask $mkdir_umask &&
371
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir"
372
+ )
373
+ then :
374
+ else
375
+
376
+ # The umask is ridiculous, or mkdir does not conform to POSIX,
377
+ # or it failed possibly due to a race condition. Create the
378
+ # directory the slow way, step by step, checking for races as we go.
379
+
380
+ case $dstdir in
381
+ /*) prefix=/ ;;
382
+ -*) prefix=./ ;;
383
+ *) prefix= ;;
384
+ esac
385
+
386
+ case $posix_glob in
387
+ '')
388
+ if (set -f) 2>/dev/null; then
389
+ posix_glob=true
390
+ else
391
+ posix_glob=false
392
+ fi ;;
393
+ esac
394
+
395
+ oIFS=$IFS
396
+ IFS=/
397
+ $posix_glob && set -f
398
+ set fnord $dstdir
399
+ shift
400
+ $posix_glob && set +f
401
+ IFS=$oIFS
402
+
403
+ prefixes=
404
+
405
+ for d
406
+ do
407
+ test -z "$d" && continue
408
+
409
+ prefix=$prefix$d
410
+ if test -d "$prefix"; then
411
+ prefixes=
412
+ else
413
+ if $posix_mkdir; then
414
+ (umask=$mkdir_umask &&
415
+ $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break
416
+ # Don't fail if two instances are running concurrently.
417
+ test -d "$prefix" || exit 1
418
+ else
419
+ case $prefix in
420
+ *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
421
+ *) qprefix=$prefix;;
422
+ esac
423
+ prefixes="$prefixes '$qprefix'"
424
+ fi
425
+ fi
426
+ prefix=$prefix/
427
+ done
428
+
429
+ if test -n "$prefixes"; then
430
+ # Don't fail if two instances are running concurrently.
431
+ (umask $mkdir_umask &&
432
+ eval "\$doit_exec \$mkdirprog $prefixes") ||
433
+ test -d "$dstdir" || exit 1
434
+ obsolete_mkdir_used=true
435
+ fi
436
+ fi
437
+ fi
438
+
439
+ if test -n "$dir_arg"; then
440
+ { test -z "$chowncmd" || $doit $chowncmd "$dst"; } &&
441
+ { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } &&
442
+ { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false ||
443
+ test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1
444
+ else
445
+
446
+ # Make a couple of temp file names in the proper directory.
447
+ dsttmp=$dstdir/_inst.$$_
448
+ rmtmp=$dstdir/_rm.$$_
449
+
450
+ # Trap to clean up those temp files at exit.
451
+ trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0
452
+
453
+ # Copy the file name to the temp name.
454
+ (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") &&
455
+
456
+ # and set any options; do chmod last to preserve setuid bits.
457
+ #
458
+ # If any of these fail, we abort the whole thing. If we want to
459
+ # ignore errors from any of these, just make sure not to ignore
460
+ # errors from the above "$doit $cpprog $src $dsttmp" command.
461
+ #
462
+ { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \
463
+ && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \
464
+ && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \
465
+ && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } &&
466
+
467
+ # Now rename the file to the real destination.
468
+ { $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null \
469
+ || {
470
+ # The rename failed, perhaps because mv can't rename something else
471
+ # to itself, or perhaps because mv is so ancient that it does not
472
+ # support -f.
473
+
474
+ # Now remove or move aside any old file at destination location.
475
+ # We try this two ways since rm can't unlink itself on some
476
+ # systems and the destination file might be busy for other
477
+ # reasons. In this case, the final cleanup might fail but the new
478
+ # file should still install successfully.
479
+ {
480
+ if test -f "$dst"; then
481
+ $doit $rmcmd -f "$dst" 2>/dev/null \
482
+ || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null \
483
+ && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; }; }\
484
+ || {
485
+ echo "$0: cannot unlink or rename $dst" >&2
486
+ (exit 1); exit 1
487
+ }
488
+ else
489
+ :
490
+ fi
491
+ } &&
492
+
493
+ # Now rename the file to the real destination.
494
+ $doit $mvcmd "$dsttmp" "$dst"
495
+ }
496
+ } || exit 1
497
+
498
+ trap '' 0
499
+ fi
500
+ done
501
+
502
+ # Local variables:
503
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
504
+ # time-stamp-start: "scriptversion="
505
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
506
+ # time-stamp-end: "$"
507
+ # End:
src/ja/unidic-mecab-2.1.2_src/left-id.def ADDED
The diff for this file is too large to render. See raw diff
 
src/ja/unidic-mecab-2.1.2_src/lex.csv ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c53edb5178aae9f5ccce73104284e1891aa3e6c403acfdcccba802e6850d2cf5
3
+ size 125381014
src/ja/unidic-mecab-2.1.2_src/matrix.7z ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:81a535d16a5cbfce7294766b7fcdc2d50bea2e140762bdd7d3b6fcf46bfa2812
3
+ size 35365772
src/ja/unidic-mecab-2.1.2_src/missing ADDED
@@ -0,0 +1,367 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #! /bin/sh
2
+ # Common stub for a few missing GNU programs while installing.
3
+
4
+ scriptversion=2006-05-10.23
5
+
6
+ # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
7
+ # Free Software Foundation, Inc.
8
+ # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9
+
10
+ # This program is free software; you can redistribute it and/or modify
11
+ # it under the terms of the GNU General Public License as published by
12
+ # the Free Software Foundation; either version 2, or (at your option)
13
+ # any later version.
14
+
15
+ # This program is distributed in the hope that it will be useful,
16
+ # but WITHOUT ANY WARRANTY; without even the implied warranty of
17
+ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
+ # GNU General Public License for more details.
19
+
20
+ # You should have received a copy of the GNU General Public License
21
+ # along with this program; if not, write to the Free Software
22
+ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23
+ # 02110-1301, USA.
24
+
25
+ # As a special exception to the GNU General Public License, if you
26
+ # distribute this file as part of a program that contains a
27
+ # configuration script generated by Autoconf, you may include it under
28
+ # the same distribution terms that you use for the rest of that program.
29
+
30
+ if test $# -eq 0; then
31
+ echo 1>&2 "Try \`$0 --help' for more information"
32
+ exit 1
33
+ fi
34
+
35
+ run=:
36
+ sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
37
+ sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
38
+
39
+ # In the cases where this matters, `missing' is being run in the
40
+ # srcdir already.
41
+ if test -f configure.ac; then
42
+ configure_ac=configure.ac
43
+ else
44
+ configure_ac=configure.in
45
+ fi
46
+
47
+ msg="missing on your system"
48
+
49
+ case $1 in
50
+ --run)
51
+ # Try to run requested program, and just exit if it succeeds.
52
+ run=
53
+ shift
54
+ "$@" && exit 0
55
+ # Exit code 63 means version mismatch. This often happens
56
+ # when the user try to use an ancient version of a tool on
57
+ # a file that requires a minimum version. In this case we
58
+ # we should proceed has if the program had been absent, or
59
+ # if --run hadn't been passed.
60
+ if test $? = 63; then
61
+ run=:
62
+ msg="probably too old"
63
+ fi
64
+ ;;
65
+
66
+ -h|--h|--he|--hel|--help)
67
+ echo "\
68
+ $0 [OPTION]... PROGRAM [ARGUMENT]...
69
+
70
+ Handle \`PROGRAM [ARGUMENT]...' for when PROGRAM is missing, or return an
71
+ error status if there is no known handling for PROGRAM.
72
+
73
+ Options:
74
+ -h, --help display this help and exit
75
+ -v, --version output version information and exit
76
+ --run try to run the given command, and emulate it if it fails
77
+
78
+ Supported PROGRAM values:
79
+ aclocal touch file \`aclocal.m4'
80
+ autoconf touch file \`configure'
81
+ autoheader touch file \`config.h.in'
82
+ autom4te touch the output file, or create a stub one
83
+ automake touch all \`Makefile.in' files
84
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
85
+ flex create \`lex.yy.c', if possible, from existing .c
86
+ help2man touch the output file
87
+ lex create \`lex.yy.c', if possible, from existing .c
88
+ makeinfo touch the output file
89
+ tar try tar, gnutar, gtar, then tar without non-portable flags
90
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]
91
+
92
+ Send bug reports to <bug-automake@gnu.org>."
93
+ exit $?
94
+ ;;
95
+
96
+ -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
97
+ echo "missing $scriptversion (GNU Automake)"
98
+ exit $?
99
+ ;;
100
+
101
+ -*)
102
+ echo 1>&2 "$0: Unknown \`$1' option"
103
+ echo 1>&2 "Try \`$0 --help' for more information"
104
+ exit 1
105
+ ;;
106
+
107
+ esac
108
+
109
+ # Now exit if we have it, but it failed. Also exit now if we
110
+ # don't have it and --version was passed (most likely to detect
111
+ # the program).
112
+ case $1 in
113
+ lex|yacc)
114
+ # Not GNU programs, they don't have --version.
115
+ ;;
116
+
117
+ tar)
118
+ if test -n "$run"; then
119
+ echo 1>&2 "ERROR: \`tar' requires --run"
120
+ exit 1
121
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
122
+ exit 1
123
+ fi
124
+ ;;
125
+
126
+ *)
127
+ if test -z "$run" && ($1 --version) > /dev/null 2>&1; then
128
+ # We have it, but it failed.
129
+ exit 1
130
+ elif test "x$2" = "x--version" || test "x$2" = "x--help"; then
131
+ # Could not run --version or --help. This is probably someone
132
+ # running `$TOOL --version' or `$TOOL --help' to check whether
133
+ # $TOOL exists and not knowing $TOOL uses missing.
134
+ exit 1
135
+ fi
136
+ ;;
137
+ esac
138
+
139
+ # If it does not exist, or fails to run (possibly an outdated version),
140
+ # try to emulate it.
141
+ case $1 in
142
+ aclocal*)
143
+ echo 1>&2 "\
144
+ WARNING: \`$1' is $msg. You should only need it if
145
+ you modified \`acinclude.m4' or \`${configure_ac}'. You might want
146
+ to install the \`Automake' and \`Perl' packages. Grab them from
147
+ any GNU archive site."
148
+ touch aclocal.m4
149
+ ;;
150
+
151
+ autoconf)
152
+ echo 1>&2 "\
153
+ WARNING: \`$1' is $msg. You should only need it if
154
+ you modified \`${configure_ac}'. You might want to install the
155
+ \`Autoconf' and \`GNU m4' packages. Grab them from any GNU
156
+ archive site."
157
+ touch configure
158
+ ;;
159
+
160
+ autoheader)
161
+ echo 1>&2 "\
162
+ WARNING: \`$1' is $msg. You should only need it if
163
+ you modified \`acconfig.h' or \`${configure_ac}'. You might want
164
+ to install the \`Autoconf' and \`GNU m4' packages. Grab them
165
+ from any GNU archive site."
166
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
167
+ test -z "$files" && files="config.h"
168
+ touch_files=
169
+ for f in $files; do
170
+ case $f in
171
+ *:*) touch_files="$touch_files "`echo "$f" |
172
+ sed -e 's/^[^:]*://' -e 's/:.*//'`;;
173
+ *) touch_files="$touch_files $f.in";;
174
+ esac
175
+ done
176
+ touch $touch_files
177
+ ;;
178
+
179
+ automake*)
180
+ echo 1>&2 "\
181
+ WARNING: \`$1' is $msg. You should only need it if
182
+ you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
183
+ You might want to install the \`Automake' and \`Perl' packages.
184
+ Grab them from any GNU archive site."
185
+ find . -type f -name Makefile.am -print |
186
+ sed 's/\.am$/.in/' |
187
+ while read f; do touch "$f"; done
188
+ ;;
189
+
190
+ autom4te)
191
+ echo 1>&2 "\
192
+ WARNING: \`$1' is needed, but is $msg.
193
+ You might have modified some files without having the
194
+ proper tools for further handling them.
195
+ You can get \`$1' as part of \`Autoconf' from any GNU
196
+ archive site."
197
+
198
+ file=`echo "$*" | sed -n "$sed_output"`
199
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
200
+ if test -f "$file"; then
201
+ touch $file
202
+ else
203
+ test -z "$file" || exec >$file
204
+ echo "#! /bin/sh"
205
+ echo "# Created by GNU Automake missing as a replacement of"
206
+ echo "# $ $@"
207
+ echo "exit 0"
208
+ chmod +x $file
209
+ exit 1
210
+ fi
211
+ ;;
212
+
213
+ bison|yacc)
214
+ echo 1>&2 "\
215
+ WARNING: \`$1' $msg. You should only need it if
216
+ you modified a \`.y' file. You may need the \`Bison' package
217
+ in order for those modifications to take effect. You can get
218
+ \`Bison' from any GNU archive site."
219
+ rm -f y.tab.c y.tab.h
220
+ if test $# -ne 1; then
221
+ eval LASTARG="\${$#}"
222
+ case $LASTARG in
223
+ *.y)
224
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
225
+ if test -f "$SRCFILE"; then
226
+ cp "$SRCFILE" y.tab.c
227
+ fi
228
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
229
+ if test -f "$SRCFILE"; then
230
+ cp "$SRCFILE" y.tab.h
231
+ fi
232
+ ;;
233
+ esac
234
+ fi
235
+ if test ! -f y.tab.h; then
236
+ echo >y.tab.h
237
+ fi
238
+ if test ! -f y.tab.c; then
239
+ echo 'main() { return 0; }' >y.tab.c
240
+ fi
241
+ ;;
242
+
243
+ lex|flex)
244
+ echo 1>&2 "\
245
+ WARNING: \`$1' is $msg. You should only need it if
246
+ you modified a \`.l' file. You may need the \`Flex' package
247
+ in order for those modifications to take effect. You can get
248
+ \`Flex' from any GNU archive site."
249
+ rm -f lex.yy.c
250
+ if test $# -ne 1; then
251
+ eval LASTARG="\${$#}"
252
+ case $LASTARG in
253
+ *.l)
254
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
255
+ if test -f "$SRCFILE"; then
256
+ cp "$SRCFILE" lex.yy.c
257
+ fi
258
+ ;;
259
+ esac
260
+ fi
261
+ if test ! -f lex.yy.c; then
262
+ echo 'main() { return 0; }' >lex.yy.c
263
+ fi
264
+ ;;
265
+
266
+ help2man)
267
+ echo 1>&2 "\
268
+ WARNING: \`$1' is $msg. You should only need it if
269
+ you modified a dependency of a manual page. You may need the
270
+ \`Help2man' package in order for those modifications to take
271
+ effect. You can get \`Help2man' from any GNU archive site."
272
+
273
+ file=`echo "$*" | sed -n "$sed_output"`
274
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
275
+ if test -f "$file"; then
276
+ touch $file
277
+ else
278
+ test -z "$file" || exec >$file
279
+ echo ".ab help2man is required to generate this page"
280
+ exit 1
281
+ fi
282
+ ;;
283
+
284
+ makeinfo)
285
+ echo 1>&2 "\
286
+ WARNING: \`$1' is $msg. You should only need it if
287
+ you modified a \`.texi' or \`.texinfo' file, or any other file
288
+ indirectly affecting the aspect of the manual. The spurious
289
+ call might also be the consequence of using a buggy \`make' (AIX,
290
+ DU, IRIX). You might want to install the \`Texinfo' package or
291
+ the \`GNU make' package. Grab either from any GNU archive site."
292
+ # The file to touch is that specified with -o ...
293
+ file=`echo "$*" | sed -n "$sed_output"`
294
+ test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
295
+ if test -z "$file"; then
296
+ # ... or it is the one specified with @setfilename ...
297
+ infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
298
+ file=`sed -n '
299
+ /^@setfilename/{
300
+ s/.* \([^ ]*\) *$/\1/
301
+ p
302
+ q
303
+ }' $infile`
304
+ # ... or it is derived from the source name (dir/f.texi becomes f.info)
305
+ test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
306
+ fi
307
+ # If the file does not exist, the user really needs makeinfo;
308
+ # let's fail without touching anything.
309
+ test -f $file || exit 1
310
+ touch $file
311
+ ;;
312
+
313
+ tar)
314
+ shift
315
+
316
+ # We have already tried tar in the generic part.
317
+ # Look for gnutar/gtar before invocation to avoid ugly error
318
+ # messages.
319
+ if (gnutar --version > /dev/null 2>&1); then
320
+ gnutar "$@" && exit 0
321
+ fi
322
+ if (gtar --version > /dev/null 2>&1); then
323
+ gtar "$@" && exit 0
324
+ fi
325
+ firstarg="$1"
326
+ if shift; then
327
+ case $firstarg in
328
+ *o*)
329
+ firstarg=`echo "$firstarg" | sed s/o//`
330
+ tar "$firstarg" "$@" && exit 0
331
+ ;;
332
+ esac
333
+ case $firstarg in
334
+ *h*)
335
+ firstarg=`echo "$firstarg" | sed s/h//`
336
+ tar "$firstarg" "$@" && exit 0
337
+ ;;
338
+ esac
339
+ fi
340
+
341
+ echo 1>&2 "\
342
+ WARNING: I can't seem to be able to run \`tar' with the given arguments.
343
+ You may want to install GNU tar or Free paxutils, or check the
344
+ command line arguments."
345
+ exit 1
346
+ ;;
347
+
348
+ *)
349
+ echo 1>&2 "\
350
+ WARNING: \`$1' is needed, and is $msg.
351
+ You might have modified some files without having the
352
+ proper tools for further handling them. Check the \`README' file,
353
+ it often tells you about the needed prerequisites for installing
354
+ this package. You may also peek at any GNU archive site, in case
355
+ some other package would contain this missing \`$1' program."
356
+ exit 1
357
+ ;;
358
+ esac
359
+
360
+ exit 0
361
+
362
+ # Local variables:
363
+ # eval: (add-hook 'write-file-hooks 'time-stamp)
364
+ # time-stamp-start: "scriptversion="
365
+ # time-stamp-format: "%:y-%02m-%02d.%02H"
366
+ # time-stamp-end: "$"
367
+ # End:
src/ja/unidic-mecab-2.1.2_src/rewrite.def ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # node:
2
+ # $1: pos1
3
+ # $2: pos2
4
+ # $3: pos3
5
+ # $4: pos4
6
+ # $5: cType
7
+ # $6: cForm
8
+ # $7: lForm
9
+ # $8: lemma
10
+ # $9: orth
11
+ # $10: pron
12
+ # $11: orthBase
13
+ # $12: pronBase
14
+ # $13: goshu
15
+ # $14: iType
16
+ # $15: iForm
17
+ # $16: fType
18
+ # $17: fForm
19
+ # unk:
20
+ # $1: pos1
21
+ # $2: pos2
22
+ # $3: pos3
23
+ # $4: pos4
24
+ # $5: cType
25
+ # $6: cForm
26
+
27
+ [unigram rewrite]
28
+ BOS/EOS,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,*,*,*,*,*,*,BOS/EOS,BOS/EOS,*,BOS/EOS,*,BOS/EOS,*,*,*,*
29
+ *,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17
30
+ *,*,*,*,*,* $1,$2,$3,$4,$5,$6,*,*,*,*,*,*,*,*,*,*,*
31
+
32
+ [left rewrite]
33
+ BOS/EOS,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,*,*,*,*,*,BOS/EOS,BOS/EOS,BOS/EOS
34
+ 助詞,*,*,*,*,*,*,(の|に|を|て|は|と|が|で|も|の|から|か|が|ね|か|けれど|など|って|と|ば|や|まで|へ|から|より|だけ|な|たり|よ|くらい|ながら|し|ほど|しか),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
35
+ 助動詞,*,*,*,*,*,*,(だ|た|ます|です|れる|ず|ない|てる|られる|べし|たい|り|せる|ちゃう),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
36
+ 名詞,助動詞語幹,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
37
+ 形状詞,助動詞語幹,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
38
+ 動詞,非自立可能,*,*,*,*,*,(為る|居る|有る|成る|見る|行く|来る|出来る|得る|遣る|仕舞う|呉れる|出す|置く|致す|付く|頂く|付ける|貰う|掛ける|続く|始める|続ける|御座る|終わる),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
39
+ 形容詞,非自立可能,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
40
+ 接尾辞,*,*,*,*,*,*,(的|年|者|月|さん|日|パーセント|人|つ|等|日|円|等|化|達|人|さ|性|回|時|氏|所|生|方|分|長|党|目|中|省|歳|内|年度|国|家|後|部|上|車|権|度|力|員|費|書|用|物|型|業|間|メートル|庁|箇月|番|局|機|年間|館|件|時間|社),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
41
+ 接頭辞,*,*,*,*,*,*,(第|御|約|不|大|新|各|小|御|非),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
42
+ 名詞,数詞,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
43
+ 補助記号,*,*,*,*,*,*,*,.,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
44
+ *,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,*,*,$13
45
+ *,*,*,*,*,* $1,$2,$3,$4,$5,$6,*,*,*
46
+
47
+ [right rewrite]
48
+ BOS/EOS,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,*,*,*,*,*,BOS/EOS,BOS/EOS,BOS/EOS
49
+ 助詞,*,*,*,*,*,*,(の|に|を|て|は|と|が|で|も|の|から|か|が|ね|か|けれど|など|って|と|ば|や|まで|へ|から|より|だけ|な|たり|よ|くらい|ながら|し|ほど|しか),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
50
+ 助動詞,*,*,*,*,*,*,(だ|た|ます|です|れる|ず|ない|てる|られる|べし|たい|り|せる|ちゃう),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
51
+ 名詞,助動詞語幹,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
52
+ 形状詞,助動詞語幹,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
53
+ 動詞,非自立可能,*,*,*,*,*,(為る|居る|有る|成る|見る|行く|来る|出来る|得る|遣る|仕舞う|呉れる|出す|置く|致す|付く|頂く|付ける|貰う|掛ける|続く|始める|続ける|御座る|終わる),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
54
+ 形容詞,非自立可能,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
55
+ 接尾辞,*,*,*,*,*,*,(的|年|者|月|さん|日|パーセント|人|つ|等|日|円|等|化|達|人|さ|性|回|時|氏|所|生|方|分|長|党|目|中|省|歳|内|年度|国|家|後|部|上|車|権|度|力|員|費|書|用|物|型|業|間|メートル|庁|箇月|番|局|機|年間|館|件|時間|社),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
56
+ 接頭辞,*,*,*,*,*,*,(第|御|約|不|大|新|各|小|御|非),*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
57
+ 名詞,数詞,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
58
+ 補助記号,*,*,*,*,*,*,*,.,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,$9,$11,$13
59
+ *,*,*,*,*,*,*,*,*,*,*,*,*,*,*,*,* $1,$2,$3,$4,$5,$6,*,*,$13
60
+ *,*,*,*,*,* $1,$2,$3,$4,$5,$6,*,*,*
src/ja/unidic-mecab-2.1.2_src/right-id.def ADDED
The diff for this file is too large to render. See raw diff
 
src/ja/unidic-mecab-2.1.2_src/unidic-mecab.pdf ADDED
Binary file (21.5 kB). View file
 
src/ja/unidic-mecab-2.1.2_src/unk.def ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DEFAULT,5968,5968,3857,補助記号,一般,*,*,*,*
2
+ SPACE,5966,5966,6056,空白,*,*,*,*,*
3
+ KANJI,5139,5139,14657,名詞,普通名詞,一般,*,*,*
4
+ KANJI,5129,5129,17308,名詞,普通名詞,サ変可能,*,*,*
5
+ KANJI,4785,4785,18181,名詞,固有名詞,一般,*,*,*
6
+ KANJI,4787,4787,18086,名詞,固有名詞,人名,一般,*,*
7
+ KANJI,4791,4791,19198,名詞,固有名詞,地名,一般,*,*
8
+ SYMBOL,5129,5129,17094,名詞,普通名詞,サ変可能,*,*,*
9
+ NUMERIC,4794,4794,12450,名詞,数詞,*,*,*,*
10
+ ALPHA,5139,5139,11633,名詞,普通名詞,一般,*,*,*
11
+ ALPHA,4785,4785,13620,名詞,固有名詞,一般,*,*,*
12
+ ALPHA,4787,4787,14228,名詞,固有名詞,人名,一般,*,*
13
+ ALPHA,4791,4791,15793,名詞,固有名詞,地名,一般,*,*
14
+ ALPHA,5687,5687,15246,感動詞,一般,*,*,*,*
15
+ HIRAGANA,5139,5139,16012,名詞,普通名詞,一般,*,*,*
16
+ HIRAGANA,5129,5129,20012,名詞,普通名詞,サ変可能,*,*,*
17
+ HIRAGANA,4785,4785,18282,名詞,固有名詞,一般,*,*,*
18
+ HIRAGANA,4787,4787,18269,名詞,固有名詞,人名,一般,*,*
19
+ HIRAGANA,4791,4791,20474,名詞,固有名詞,地名,一般,*,*
20
+ HIRAGANA,5687,5687,17786,感動詞,一般,*,*,*,*
21
+ KATAKANA,5139,5139,10980,名詞,普通名詞,一般,*,*,*
22
+ KATAKANA,5129,5129,14802,名詞,普通名詞,サ変可能,*,*,*
23
+ KATAKANA,4785,4785,13451,名詞,固有名詞,一般,*,*,*
24
+ KATAKANA,4787,4787,13759,名詞,固有名詞,人名,一般,*,*
25
+ KATAKANA,4791,4791,14554,名詞,固有名詞,地名,一般,*,*
26
+ KATAKANA,5687,5687,15272,感動詞,一般,*,*,*,*
27
+ KANJINUMERIC,4794,4794,14170,名詞,数詞,*,*,*,*
28
+ GREEK,5139,5139,11051,名詞,普通名詞,一般,*,*,*
29
+ GREEK,4785,4785,13353,名詞,固有名詞,一般,*,*,*
30
+ GREEK,4787,4787,13671,名詞,固有名詞,人名,一般,*,*
31
+ GREEK,4791,4791,14862,名詞,固有名詞,地名,一般,*,*
32
+ CYRILLIC,5139,5139,11140,名詞,普通名詞,一般,*,*,*
33
+ CYRILLIC,4785,4785,13174,名詞,固有名詞,一般,*,*,*
34
+ CYRILLIC,4787,4787,13495,名詞,固有名詞,人名,一般,*,*
35
+ CYRILLIC,4791,4791,14700,名詞,固有名詞,地名,一般,*,*