Skip to content

Commit b62e58b

Browse files
committed
Add usage
1 parent ec019ea commit b62e58b

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,50 @@
11
# mocword
2+
23
Predict next English words (`・ω・´)
4+
5+
## Usage
6+
7+
### One shot mode
8+
9+
```
10+
$ mocword -q "this is "
11+
the
12+
a
13+
not
14+
an
15+
what
16+
to
17+
that
18+
true
19+
done
20+
so
21+
```
22+
23+
```
24+
$ mocword -q "one of t" --limit 3
25+
the
26+
them
27+
these
28+
```
29+
30+
### Interactive mode
31+
32+
```
33+
$ mocword
34+
this is
35+
the a not an what to that true done so
36+
one of t_
37+
the them these those their two three this that themselves
38+
```
39+
40+
The underscore is a white space.
41+
42+
## Query string
43+
44+
Ends with a white space -> predict successive words.
45+
46+
Ends without any white space -> predict words which begin with the last word's prefix.
47+
48+
## License
49+
50+
MIT

0 commit comments

Comments
 (0)