@@ -38,7 +38,7 @@ Features
38
38
Quickstart
39
39
----------
40
40
41
- Installing WordSegment is simple with
41
+ Installing ` WordSegment `_ is simple with
42
42
`pip <http://www.pip-installer.org/ >`_::
43
43
44
44
$ pip install wordsegment
@@ -63,10 +63,10 @@ phrase into a list of its parts::
63
63
The `load ` function reads and parses the unigrams and bigrams data from
64
64
disk. Loading the data only needs to be done once.
65
65
66
- WordSegment also provides a command-line interface for batch processing. This
67
- interface accepts two arguments: in-file and out-file. Lines from in-file are
68
- iteratively segmented, joined by a space, and written to out-file. Input and
69
- output default to stdin and stdout respectively. ::
66
+ ` WordSegment `_ also provides a command-line interface for batch
67
+ processing. This interface accepts two arguments: in-file and out-file. Lines
68
+ from in-file are iteratively segmented, joined by a space, and written to
69
+ out-file. Input and output default to stdin and stdout respectively. ::
70
70
71
71
$ echo thisisatest | python -m wordsegment
72
72
this is a test
@@ -123,8 +123,19 @@ Some bigrams begin with `<s>`. This is to indicate the start of a bigram::
123
123
The unigrams and bigrams data is stored in the `wordsegment ` directory in
124
124
the `unigrams.txt ` and `bigrams.txt ` files respectively.
125
125
126
- Reference and Indices
127
- ---------------------
126
+ User Guide
127
+ ----------
128
+
129
+ * `Word Segment API Reference `_
130
+ * `Using a Different Corpus `_
131
+ * `Python: Load dict Fast From File `_
132
+
133
+ .. _`Word Segment API Reference` : http://www.grantjenks.com/docs/wordsegment/api.html
134
+ .. _`Using a Different Corpus` : http://www.grantjenks.com/docs/wordsegment/using-a-different-corpus.html
135
+ .. _`Python: Load dict Fast From File` : http://www.grantjenks.com/docs/wordsegment/python-load-dict-fast-from-file.html
136
+
137
+ References
138
+ ----------
128
139
129
140
* `WordSegment Documentation `_
130
141
* `WordSegment at PyPI `_
0 commit comments