rmmseg 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1063 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
5
+ <meta name="date" content="31 January 2008"/>
6
+ <meta name="author" content="pluskid"/>
7
+ <meta name="generator" content="Gerbil 1.1.0"/>
8
+ <title>RMMSeg Homepage</title>
9
+
10
+ <style type="text/css" media="screen">
11
+ body
12
+ {
13
+ color : #000000;
14
+ background-color : #FFFFFF;
15
+ line-height : 1.5em;
16
+ font-family : Calibri, Verdana, sans-serif;
17
+ }
18
+
19
+ /* emphasis */
20
+
21
+ em,
22
+ blockquote
23
+ {
24
+ font-family : Cambria, Georgia, serif;
25
+ }
26
+
27
+ /* headings */
28
+
29
+ h1,
30
+ h2,
31
+ h3,
32
+ h4,
33
+ h5,
34
+ h6,
35
+ .title
36
+ {
37
+ font-weight : lighter;
38
+ font-family : Constantia, "Book Antiqua", "URW Bookman L", serif;
39
+ }
40
+
41
+ #lof h1,
42
+ #lof h2,
43
+ #lof h3,
44
+ #lof h4,
45
+ #lof h5,
46
+ #lof h6
47
+ {
48
+ margin-top : 1.25em;
49
+ }
50
+
51
+ #content h1,
52
+ #content h2,
53
+ #content h3,
54
+ #content h4,
55
+ #content h5,
56
+ #content h6
57
+ {
58
+ margin-top : 2.5em;
59
+ line-height : 1.25em;
60
+ }
61
+
62
+ #content h1
63
+ {
64
+ font-size : 2.0em;
65
+ }
66
+
67
+ #content h2
68
+ {
69
+ font-size : 1.8em;
70
+ }
71
+
72
+ #content h3
73
+ {
74
+ font-size : 1.6em;
75
+ }
76
+
77
+ #content h4
78
+ {
79
+ font-size : 1.4em;
80
+ }
81
+
82
+ #content h5
83
+ {
84
+ font-size : 1.2em;
85
+ }
86
+
87
+ #content h6
88
+ {
89
+ font-size : 1.0em;
90
+ }
91
+
92
+ /* tables */
93
+
94
+ table
95
+ {
96
+ border : none;
97
+ }
98
+
99
+ th,
100
+ td
101
+ {
102
+ padding : 1em;
103
+ border : 1px solid #C0C0C0;
104
+ vertical-align : top;
105
+ background-color : #FFFFFF;
106
+ }
107
+
108
+ th
109
+ {
110
+ background-color : #F5F5F5;
111
+ }
112
+
113
+ table
114
+ {
115
+ margin : auto;
116
+ }
117
+
118
+ /* document structure */
119
+
120
+ #header
121
+ {
122
+ margin-bottom : 5em;
123
+ text-align : center;
124
+ }
125
+
126
+ #abstract
127
+ {
128
+ margin-bottom : 5em;
129
+ }
130
+
131
+ #toc li
132
+ {
133
+ list-style-type : none;
134
+ }
135
+
136
+ #toc li ul
137
+ {
138
+ padding-bottom : 1em;
139
+ border-left : thick solid #F5F5F5;
140
+ _border-left : none; /* for IE6 */
141
+ }
142
+
143
+ #toc li ul:hover
144
+ {
145
+ border-color : #DCDCDC;
146
+ }
147
+
148
+ #toc > ul
149
+ {
150
+ padding-left : 1em;
151
+ }
152
+
153
+ #references
154
+ {
155
+ margin-top : 5em;
156
+ }
157
+
158
+ #footer
159
+ {
160
+ border-top : thick dotted #DCDCDC;
161
+ padding-top : 1em;
162
+ margin-top : 5em;
163
+ text-align : center;
164
+ }
165
+
166
+ /* document nodes */
167
+
168
+ .part > .title,
169
+ .chapter > .title
170
+ {
171
+ padding-bottom : 0.5em;
172
+ }
173
+
174
+ .part > .title > big,
175
+ .chapter > .title > big
176
+ {
177
+ display : block;
178
+ margin-top : 0.25em;
179
+ }
180
+
181
+ .part .title big,
182
+ .chapter .title big
183
+ {
184
+ _display : block; /* for IE6 */
185
+ _margin-top : 0.25em; /* for IE6 */
186
+ _margin-bottom : 0.75em; /* for IE6 */
187
+ }
188
+
189
+ .paragraph > .title,
190
+ .tip > .title,
191
+ .note > .title,
192
+ .caution > .title,
193
+ .warning > .title,
194
+ .important > .title,
195
+ .figure > .title,
196
+ .table > .title,
197
+ .example > .title,
198
+ .equation > .title,
199
+ .procedure > .title
200
+ {
201
+ font-size : large;
202
+ margin-top : 2em;
203
+ }
204
+
205
+ .paragraph .title,
206
+ .tip .title,
207
+ .note .title,
208
+ .caution .title,
209
+ .warning .title,
210
+ .important .title,
211
+ .figure .title,
212
+ .table .title,
213
+ .example .title,
214
+ .equation .title,
215
+ .procedure .title
216
+ {
217
+ _font-size : large; /* for IE6 */
218
+ _font-weight : bold; /* large is not bold in IE6 */
219
+ _margin-top : 2em; /* for IE6 */
220
+ }
221
+
222
+ .tip ,
223
+ .note ,
224
+ .caution ,
225
+ .warning ,
226
+ .important,
227
+ .figure ,
228
+ .table ,
229
+ .example ,
230
+ .equation ,
231
+ .procedure
232
+ {
233
+ margin : 3em;
234
+ }
235
+
236
+ .tip > .icon,
237
+ .note > .icon,
238
+ .caution > .icon,
239
+ .warning > .icon,
240
+ .important > .icon
241
+ {
242
+ float : left;
243
+ margin : 0 1em 1em 0; /* top right bottom left */
244
+ }
245
+
246
+ .tip .icon,
247
+ .note .icon,
248
+ .caution .icon,
249
+ .warning .icon,
250
+ .important .icon
251
+ {
252
+ _display : none; /* IE6 cannot display embedded images */
253
+ }
254
+
255
+ .figure > .title
256
+ {
257
+ text-align : center;
258
+ }
259
+
260
+ .figure .title
261
+ {
262
+ _text-align : center; /* for IE6 */
263
+ }
264
+
265
+ .figure > .content img
266
+ {
267
+ display : block;
268
+ margin : auto;
269
+ }
270
+
271
+ .figure .content img
272
+ {
273
+ _display : block; /* for IE6 */
274
+ _margin : auto; /* for IE6 */
275
+ }
276
+
277
+ body
278
+ {
279
+ margin : auto;
280
+ padding : 0.5em;
281
+ max-width : 36em;
282
+ }
283
+
284
+ /* hyperlinks */
285
+
286
+ a
287
+ {
288
+ color : #0000FF;
289
+ text-decoration : none;
290
+ }
291
+
292
+ a:visited
293
+ {
294
+ color : #800080;
295
+ }
296
+
297
+ a:hover
298
+ {
299
+ color : #FF0000;
300
+ text-decoration : underline;
301
+ }
302
+
303
+ a:target
304
+ {
305
+ color : #FF0000;
306
+ text-decoration : underline;
307
+ }
308
+
309
+ a.toc:link,
310
+ a.toc:visited
311
+ {
312
+ text-decoration : none;
313
+ z-index : 1;
314
+ }
315
+
316
+ a img
317
+ {
318
+ border : none;
319
+ }
320
+
321
+ /*
322
+ mark external links with a symbol to help the user
323
+ distinguish between internal and external links
324
+ */
325
+ a:after
326
+ {
327
+ content: "∗";
328
+ }
329
+
330
+ a[href^="#"]:after
331
+ {
332
+ content: "";
333
+ }
334
+
335
+ /* source code */
336
+
337
+ tt,
338
+ code,
339
+ pre
340
+ {
341
+ font-family : Consolas, "Lucida Console", monospace;
342
+ }
343
+
344
+ tt
345
+ {
346
+ font-weight : bold;
347
+ color : #A52A2A;
348
+ background-color : #FFFAF0;
349
+ }
350
+
351
+ /* output of syntax colorizer */
352
+ .code
353
+ {
354
+ background-color : #FFFFF0;
355
+ }
356
+
357
+ pre
358
+ {
359
+ line-height : normal;
360
+ border : 1px dashed #C0C0C0;
361
+ background-color : #F5FFDF;
362
+ padding : 1em;
363
+ overflow : auto;
364
+ cursor : text;
365
+ }
366
+
367
+ /*
368
+ pre:hover
369
+ {
370
+ border : none;
371
+ position : fixed;
372
+ z-index : 1;
373
+ margin : 0;
374
+ top : 0;
375
+ left : 0;
376
+ right : 0;
377
+ bottom : 0;
378
+ overflow : auto;
379
+ cursor : text;
380
+ }
381
+ */
382
+
383
+ /* emphasis */
384
+
385
+ blockquote
386
+ {
387
+ margin : 1em;
388
+ border : 5px dotted #C0C0C0;
389
+ padding : 1em;
390
+ color : #444;
391
+ }
392
+
393
+ hr
394
+ {
395
+ color : #FF0000; /* for IE6 */
396
+ background-color : #FF0000; /* for Firefox */
397
+ }
398
+
399
+ </style>
400
+ <style type="text/css" media="print">
401
+ body
402
+ {
403
+ color : #000000;
404
+ background-color : #FFFFFF;
405
+ line-height : 1.5em;
406
+ font-family : Calibri, Verdana, sans-serif;
407
+ }
408
+
409
+ /* emphasis */
410
+
411
+ em,
412
+ blockquote
413
+ {
414
+ font-family : Cambria, Georgia, serif;
415
+ }
416
+
417
+ /* headings */
418
+
419
+ h1,
420
+ h2,
421
+ h3,
422
+ h4,
423
+ h5,
424
+ h6,
425
+ .title
426
+ {
427
+ font-weight : lighter;
428
+ font-family : Constantia, "Book Antiqua", "URW Bookman L", serif;
429
+ }
430
+
431
+ #lof h1,
432
+ #lof h2,
433
+ #lof h3,
434
+ #lof h4,
435
+ #lof h5,
436
+ #lof h6
437
+ {
438
+ margin-top : 1.25em;
439
+ }
440
+
441
+ #content h1,
442
+ #content h2,
443
+ #content h3,
444
+ #content h4,
445
+ #content h5,
446
+ #content h6
447
+ {
448
+ margin-top : 2.5em;
449
+ line-height : 1.25em;
450
+ }
451
+
452
+ #content h1
453
+ {
454
+ font-size : 2.0em;
455
+ }
456
+
457
+ #content h2
458
+ {
459
+ font-size : 1.8em;
460
+ }
461
+
462
+ #content h3
463
+ {
464
+ font-size : 1.6em;
465
+ }
466
+
467
+ #content h4
468
+ {
469
+ font-size : 1.4em;
470
+ }
471
+
472
+ #content h5
473
+ {
474
+ font-size : 1.2em;
475
+ }
476
+
477
+ #content h6
478
+ {
479
+ font-size : 1.0em;
480
+ }
481
+
482
+ /* tables */
483
+
484
+ table
485
+ {
486
+ border : none;
487
+ }
488
+
489
+ th,
490
+ td
491
+ {
492
+ padding : 1em;
493
+ border : 1px solid #C0C0C0;
494
+ vertical-align : top;
495
+ background-color : #FFFFFF;
496
+ }
497
+
498
+ th
499
+ {
500
+ background-color : #F5F5F5;
501
+ }
502
+
503
+ table
504
+ {
505
+ margin : auto;
506
+ }
507
+
508
+ /* document structure */
509
+
510
+ #header
511
+ {
512
+ margin-bottom : 5em;
513
+ text-align : center;
514
+ }
515
+
516
+ #abstract
517
+ {
518
+ margin-bottom : 5em;
519
+ }
520
+
521
+ #toc li
522
+ {
523
+ list-style-type : none;
524
+ }
525
+
526
+ #toc li ul
527
+ {
528
+ padding-bottom : 1em;
529
+ border-left : thick solid #F5F5F5;
530
+ _border-left : none; /* for IE6 */
531
+ }
532
+
533
+ #toc li ul:hover
534
+ {
535
+ border-color : #DCDCDC;
536
+ }
537
+
538
+ #toc > ul
539
+ {
540
+ padding-left : 1em;
541
+ }
542
+
543
+ #references
544
+ {
545
+ margin-top : 5em;
546
+ }
547
+
548
+ #footer
549
+ {
550
+ border-top : thick dotted #DCDCDC;
551
+ padding-top : 1em;
552
+ margin-top : 5em;
553
+ text-align : center;
554
+ }
555
+
556
+ /* document nodes */
557
+
558
+ .part > .title,
559
+ .chapter > .title
560
+ {
561
+ padding-bottom : 0.5em;
562
+ }
563
+
564
+ .part > .title > big,
565
+ .chapter > .title > big
566
+ {
567
+ display : block;
568
+ margin-top : 0.25em;
569
+ }
570
+
571
+ .part .title big,
572
+ .chapter .title big
573
+ {
574
+ _display : block; /* for IE6 */
575
+ _margin-top : 0.25em; /* for IE6 */
576
+ _margin-bottom : 0.75em; /* for IE6 */
577
+ }
578
+
579
+ .paragraph > .title,
580
+ .tip > .title,
581
+ .note > .title,
582
+ .caution > .title,
583
+ .warning > .title,
584
+ .important > .title,
585
+ .figure > .title,
586
+ .table > .title,
587
+ .example > .title,
588
+ .equation > .title,
589
+ .procedure > .title
590
+ {
591
+ font-size : large;
592
+ margin-top : 2em;
593
+ }
594
+
595
+ .paragraph .title,
596
+ .tip .title,
597
+ .note .title,
598
+ .caution .title,
599
+ .warning .title,
600
+ .important .title,
601
+ .figure .title,
602
+ .table .title,
603
+ .example .title,
604
+ .equation .title,
605
+ .procedure .title
606
+ {
607
+ _font-size : large; /* for IE6 */
608
+ _font-weight : bold; /* large is not bold in IE6 */
609
+ _margin-top : 2em; /* for IE6 */
610
+ }
611
+
612
+ .tip ,
613
+ .note ,
614
+ .caution ,
615
+ .warning ,
616
+ .important,
617
+ .figure ,
618
+ .table ,
619
+ .example ,
620
+ .equation ,
621
+ .procedure
622
+ {
623
+ margin : 3em;
624
+ }
625
+
626
+ .tip > .icon,
627
+ .note > .icon,
628
+ .caution > .icon,
629
+ .warning > .icon,
630
+ .important > .icon
631
+ {
632
+ float : left;
633
+ margin : 0 1em 1em 0; /* top right bottom left */
634
+ }
635
+
636
+ .tip .icon,
637
+ .note .icon,
638
+ .caution .icon,
639
+ .warning .icon,
640
+ .important .icon
641
+ {
642
+ _display : none; /* IE6 cannot display embedded images */
643
+ }
644
+
645
+ .figure > .title
646
+ {
647
+ text-align : center;
648
+ }
649
+
650
+ .figure .title
651
+ {
652
+ _text-align : center; /* for IE6 */
653
+ }
654
+
655
+ .figure > .content img
656
+ {
657
+ display : block;
658
+ margin : auto;
659
+ }
660
+
661
+ .figure .content img
662
+ {
663
+ _display : block; /* for IE6 */
664
+ _margin : auto; /* for IE6 */
665
+ }
666
+
667
+ /* headings */
668
+
669
+ h1,
670
+ h2,
671
+ h3,
672
+ h4,
673
+ h5,
674
+ h6
675
+ {
676
+ font-weight : normal;
677
+ }
678
+
679
+ /* hyperlinks */
680
+
681
+ a:link,
682
+ a:visited,
683
+ a:active
684
+ {
685
+ color : #0000FF;
686
+ font-weight : bold;
687
+ text-decoration : underline;
688
+ }
689
+
690
+ a:after
691
+ {
692
+ content : " (" attr(href) ")";
693
+ font-family : sans-serif;
694
+ font-weight : normal;
695
+ font-size : 90%;
696
+ }
697
+
698
+ a[href^="#"]:after
699
+ {
700
+ content : "";
701
+ }
702
+
703
+ a[href^="#"]
704
+ {
705
+ color : #A52A2A;
706
+ font-weight : lighter;
707
+ text-decoration : none;
708
+ font-style : italic;
709
+ }
710
+
711
+ a.toc:link,
712
+ a.toc:visited
713
+ {
714
+ color : inherit;
715
+ .color : #000000; /* for IE6 and IE7 */
716
+ font-weight : inherit;
717
+ text-decoration : none;
718
+ font-style : normal;
719
+ }
720
+
721
+ /* source code */
722
+
723
+ tt
724
+ {
725
+ color : inherit;
726
+ background-color : inherit;
727
+ font-weight : normal;
728
+ }
729
+
730
+ pre,
731
+ .code
732
+ {
733
+ border : none;
734
+ overflow : visible;
735
+ background-color : inherit;
736
+ }
737
+
738
+ /* document structure */
739
+
740
+ #lof
741
+ {
742
+ display : none;
743
+ }
744
+
745
+ /* document nodes */
746
+
747
+ .part > .title > big,
748
+ .chapter > .title > big
749
+ {
750
+ padding-bottom : 0.5em;
751
+ }
752
+
753
+ .part .title big,
754
+ .chapter .title big
755
+ {
756
+ _padding-bottom : 0.5em; /* for IE6 */
757
+ }
758
+
759
+ </style>
760
+ </head>
761
+ <body>
762
+ <div id="header">
763
+
764
+ <h1 class="title">RMMSeg Homepage</h1>
765
+ <h2 class="authors"><a href="http://pluskid.lifegoo.com">pluskid</a></h2>
766
+ <h3 class="date">31 January 2008</h3>
767
+ </div>
768
+
769
+
770
+ <div id="toc"><h1>Contents</h1> <ul><li>1&nbsp;&nbsp;<a id="a-606563428" href="#Introduction">Introduction</a></li><li>2&nbsp;&nbsp;<a id="a-606565568" href="#Setup">Setup</a><ul><li>2.1&nbsp;&nbsp;<a id="a-606567068" href="#Requirements">Requirements</a></li><li>2.2&nbsp;&nbsp;<a id="a-606569178" href="#Installation">Installation</a><ul><li>2.2.1&nbsp;&nbsp;<a id="a-606570778" href="#Using-RubyGems">Using RubyGems</a></li><li>2.2.2&nbsp;&nbsp;<a id="a-606572868" href="#From-Subversion">From Subversion</a></li></ul></li></ul></li><li>3&nbsp;&nbsp;<a id="a-606577658" href="#Usage">Usage</a><ul><li>3.1&nbsp;&nbsp;<a id="a-606579198" href="#Stand-Alone-rmmseg">Stand Alone rmmseg</a></li></ul></li><li>4&nbsp;&nbsp;<a id="a-606581648" href="#Resources">Resources</a></li></ul></div>
771
+
772
+ <div id="lof"><h1>Notes</h1> <ol><li><a id="a-606574508" href="#The-latest-code-might-be-unstable">The latest code might be unstable</a></li></ol></div>
773
+
774
+ <div id="content">
775
+ <div class="chapter">
776
+ <h1 class="title">
777
+ Chapter
778
+ <a class="toc" id="Introduction" href="#a-606563428">1</a>
779
+
780
+ <br/>
781
+
782
+ <big>Introduction</big>
783
+ </h1>
784
+
785
+ <div class="content"><p>RMMSeg is an implementation of
786
+ <a href="http://technology.chtsai.org/mmseg/">MMSEG</a> Chinese word
787
+ segmentation algorithm. It is based on two variants of maximum
788
+ matching algorithms. Two algorithms are available for using:</p>
789
+
790
+
791
+ <ul>
792
+ <li>simple algorithm that uses only forward maximum matching.</li>
793
+ <li>complex algorithm that uses three-word chunk maximum matching and 3
794
+ aditonal rules to solve ambiguities.</li>
795
+ </ul>
796
+
797
+
798
+ <p>For more information about the algorithm, please refer to the
799
+ following essays:</p>
800
+
801
+
802
+ <ul>
803
+ <li>http://technology.chtsai.org/mmseg/</li>
804
+ <li>http://pluskid.lifegoo.com/?p=261</li>
805
+ </ul>
806
+
807
+
808
+ <p>RMMSeg can be used as either a stand alone program or an Analyser of
809
+ <a href="http://ferret.davebalmain.com/trac">Ferret</a>.</p></div>
810
+ </div>
811
+ <div class="chapter">
812
+ <h1 class="title">
813
+ Chapter
814
+ <a class="toc" id="Setup" href="#a-606565568">2</a>
815
+
816
+ <br/>
817
+
818
+ <big>Setup</big>
819
+ </h1>
820
+
821
+ <div class="content"><div class="section">
822
+ <h2 class="title">
823
+ <a class="toc" id="Requirements" href="#a-606567068">2.1</a>&nbsp;&nbsp;Requirements
824
+ </h2>
825
+ <div class="content">Your system needs the following software to run RMMSeg.
826
+
827
+
828
+ <table border="1">
829
+ <tr>
830
+ <th>Software </th>
831
+ <th>Notes </th>
832
+ </tr>
833
+ <tr>
834
+ <td> <a href="http://ruby-lang.org">Ruby</a> </td>
835
+ <td> Version 1.8.x is required </td>
836
+ </tr>
837
+ <tr>
838
+ <td> <a href="http://seattlerb.rubyforge.org/hoe/">hoe</a> </td>
839
+ <td> If you want to build the gem manually </td>
840
+ </tr>
841
+ <tr>
842
+ <td> <a href="http://rake.rubyforge.org/">Rake</a> </td>
843
+ <td> If you want to build the gem manually </td>
844
+ </tr>
845
+ <tr>
846
+ <td> <a href="http://rspec.rubyforge.org/">rspec</a> </td>
847
+ <td> If you want to run the testcases </td>
848
+ </tr>
849
+ </table></div>
850
+ </div>
851
+ <div class="section">
852
+ <h2 class="title">
853
+ <a class="toc" id="Installation" href="#a-606569178">2.2</a>&nbsp;&nbsp;Installation
854
+ </h2>
855
+ <div class="content"><div class="section">
856
+ <h3 class="title">
857
+ <a class="toc" id="Using-RubyGems" href="#a-606570778">2.2.1</a>&nbsp;&nbsp;Using RubyGems
858
+ </h3>
859
+ <div class="content"><p>To install the gem remotely from <a href="http://rubyforge.org">RubyForge</a> :</p>
860
+
861
+
862
+ <pre>sudo gem install rmmseg</pre>
863
+
864
+
865
+ <p>Or you can download the gem file manually from RubyForge and install it locally:</p>
866
+
867
+
868
+ <pre>sudo gem install --local rmmseg-x.y.z.gem</pre></div>
869
+ </div>
870
+ <div class="section">
871
+ <h3 class="title">
872
+ <a class="toc" id="From-Subversion" href="#a-606572868">2.2.2</a>&nbsp;&nbsp;From Subversion
873
+ </h3>
874
+ <div class="content"><p>From subversion repository hosted at <a href="http://rmmseg.rubyforge.org/svn/">RubyForge</a>, you can always get the latest source code.
875
+ <div class="note">
876
+ <p class="title"><a class="toc" id="The-latest-code-might-be-unstable" href="#a-606574508">Note 1</a>.&nbsp;&nbsp;The latest code might be unstable</p>
877
+
878
+ <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgI
879
+ fAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3
880
+ Lmlua3NjYXBlLm9yZ5vuPBoAAAmCSURBVGiB1ZltbJXlGcd/9/N+Tlssh1Ja
881
+ hNEJaK2UFxFptqC2wGCSTWdM3DSQzWVDEzVxy4xfjNkHQ8xMnEEXviwZ62Rj
882
+ 6siWTcVBZeJA5yBQpOWlKNZSaEvpyyk95zwv970Pp+fY5/S0tFBkXsmTc67n
883
+ eu77+f/u6349Ryil+Cqbdq0FXKldEuClp+3nfvVz/eJLT9vPXQv/igFc13tq
884
+ w4/ujLqu99S18C9lRr6br7zyyi2WZb2eSqU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o3r9Zv0r2P3yyQqPd16MPAAAAAElFTkSuQmCC
935
+ " alt="note" class="icon"/>
936
+
937
+ <div class="content">Some new features may only be available in the latest code in subversion, but the code might be broken in some cases. So it is recommended to use the released gem package for production.</div>
938
+ </div> To check out the code from Rubyforge, you need to install subversion, then:</p>
939
+
940
+
941
+ <pre>svn checkout http://rmmseg.rubyforge.org/svn/trunk/ rmmseg</pre>
942
+
943
+
944
+ <p>Then you can run</p>
945
+
946
+
947
+ <pre>rake gem</pre>
948
+
949
+
950
+ <p>to build the gem file.</p></div>
951
+ </div></div>
952
+ </div></div>
953
+ </div>
954
+ <div class="chapter">
955
+ <h1 class="title">
956
+ Chapter
957
+ <a class="toc" id="Usage" href="#a-606577658">3</a>
958
+
959
+ <br/>
960
+
961
+ <big>Usage</big>
962
+ </h1>
963
+
964
+ <div class="content"><div class="section">
965
+ <h2 class="title">
966
+ <a class="toc" id="Stand-Alone-rmmseg" href="#a-606579198">3.1</a>&nbsp;&nbsp;Stand Alone rmmseg
967
+ </h2>
968
+ <div class="content"><p>RMMSeg comes with a script <code class="code">rmmseg</code>. To get the basic usage, just execute it with <code class="code">-h</code> option:</p>
969
+
970
+
971
+ <pre>rmmseg -h</pre>
972
+
973
+
974
+ <p>It reads from STDIN and print result to STDOUT.</p></div>
975
+ </div></div>
976
+ </div>
977
+ <div class="chapter">
978
+ <h1 class="title">
979
+ Chapter
980
+ <a class="toc" id="Resources" href="#a-606581648">4</a>
981
+
982
+ <br/>
983
+
984
+ <big>Resources</big>
985
+ </h1>
986
+
987
+ <div class="content"><ul>
988
+ <li><a href="http://rmmseg.rubyforge.org/">Project Home</a>: The Project page at RubyForge.</li>
989
+ <li><a href="http://pluskid.lifegoo.com/?p=261">Implementation Details</a>: My blog post about the implementation details of RMMSeg.</li>
990
+ <li><a href="http://ferret.davebalmain.com/trac">Ferret Homepage</a>: The homepage of Ferret project.</li>
991
+ </ul></div>
992
+ </div>
993
+ </div>
994
+
995
+
996
+ <br style="display: none"/>
997
+ <hr style="display: none"/>
998
+ <br style="display: none"/>
999
+
1000
+ <div id="footer">
1001
+ <a href="http://validator.w3.org/check/referer">[Validate]</a>
1002
+
1003
+ <p>The admonition icons (<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAABHNCSVQICAgI
1004
+ fAhkiAAAAAlwSFlzAAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3
1005
+ Lmlua3NjYXBlLm9yZ5vuPBoAAAmCSURBVGiB1ZltbJXlGcd/9/N+Tlssh1Ja
1006
+ hNEJaK2UFxFptqC2wGCSTWdM3DSQzWVDEzVxy4xfjNkHQ8xMnEEXviwZ62Rj
1007
+ 6siWTcVBZeJA5yBQpOWlKNZSaEvpyyk95zwv970Pp+fY5/S0tFBkXsmTc67n
1008
+ eu77+f/u6349Ryil+Cqbdq0FXKldEuClp+3nfvVz/eJLT9vPXQv/igFc13tq
1009
+ w4/ujLqu99S18C9lRr6br7zyyi2WZb2eSqUqpVSUlE5BSmW8/PLL6sv2bdtu
1010
+ TiaT9z/++ONN486AZVm/XLiw+qZlt98Wun/bsqUhf+nSJSF/ya2LQv6ixQtD
1011
+ /sJFC0L+guqqkF91S2XIr6y6idlfm1Vp2/Yz+XSOCiCEqDJMQ3ze+hm6bnC+
1012
+ sx9d1zl+vBlN1znf2Y+m6TQfa0LTvvCbmo6G/KNHj4T8Ix83hvzGI4dD/uHG
1013
+ QyG/peUElmUJIURlPp2jAkgpiwXg+R5FM9dRv3U/heXrkFJSWHZ32i/7NlJK
1014
+ CsrWUr91P9EZa5FSEildQ/3W/USmfwspJc701dRv3Y9dshopJda0VdRv3Y8V
1015
+ W4mUEjO2kvqt+zCm1iGlxCiu5fe/24defBeu6yHSkopHAxD51oEtW7bEb1++
1016
+ rLC5+ShBEKCU+uJCgWJCvlJD9/iinlw/o2O4b5omixct4fixkz2PPPJILB9A
1017
+ 3kEspYzOmjWbxYuWjIiNtfBdjdjg4EWam44Xj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MnsRIf3QV3XRwBkYmUzK0JAmSsIguz3fK2t6zqapqFp2og6873Hsiw8
1051
+ z5s+JkAqlZqaycDlTKO5gsZTbjynvkwGXNedOiaA67pT8gFMBOJqxDIAqVRq
1052
+ xI+8IYBEIlE4lKoJn4evZiwDkEgkinKfyeZ748aNpuu6pmma2QzkXplKv+yY
1053
+ lBLTNEkmk86CBQus4QDZDDQ2Nl4/f/5817Isp7S0NDv3T6aNZzUfzXzfRwjh
1054
+ K6XmCCHOAoNKKWkACCEKqqurpwkhZEtLC42NjZOledKsuroaTdOU67olwACg
1055
+ CSEGDCGEBdiu6zq+75NMJkNL+v+LJRIJfN8nkUhEgAgQAK5BehzoPT098e7u
1056
+ bj2VSjFnzpxrKjafSSm5cOEC/f39KUAnrVsTgAkUAYU1NTUPx2KxjUEQTLmW
1057
+ YvOZpmnxjo6O3x48eHA76S4UB3qEUgohRBQoGLoyKTJJp+nyR97kmA1IwANS
1058
+ wODQ1auUSmYP9UNjoQBwAIv0DBUMFb6WZpNuRB9wSYsfUEr5kOdfSiGETrr1
1059
+ DUCQhrhWJkj394A0gKeUCjVo3r9Zv0r2P3yyQqPd16MPAAAAAElFTkSuQmCC
1060
+ " alt="note"/>) used in this document are Copyright &copy; 2005 <a href="http://tango.freedesktop.org">Tango Desktop Project</a>. They are part of the <a href="http://tango.freedesktop.org/Tango_Icon_Library">Tango Icon Theme</a> set, which is distributed under the <a href="http://creativecommons.org/licenses/by-sa/2.5/">Creative Commons Attribution-ShareAlike 2.5 License Agreement</a>.</p>
1061
+ </div>
1062
+ </body>
1063
+ </html>