blob: 9b5119a61c25737733dc32e183efd95a49680b35 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
.TH memch 1 memch
.SH NAME
memch \- help memorize Chinese texts (i.e. poems)
.SH SYNOPSIS
.B memch
filename
[line]
.SH DESCRIPTION
.PP
The
.B memch
utility reads UTF-8 Simplified Chinese text from
.IR file ","
seperates them by Chinese punctuation into `segments', replaces every
alternating segment with blanks, displays the rest (punctuation is always
displayed and is not a part of segments), and asks the user for blanked
segments. The program then checks whether the input matches the blanked
segments, turning the segment green if it matches, yellow if it does not match
but the subsequent retry is correct (unless if the input is blank), and red if
both the current try and the subsequent retry do not match. After all input
attempts for the blank segment the segment text is also showed. If
.IR line
is provided, only the line with the specified line number is used from
.IR filename "."
.SH AUTHORS
Runxi Yu <https://runxiyu.org/> wrote this program.
.SH BUGS
Because of character width issues, the C version doesn't currently
work for Chinese text. Please poke runxiyu if you know how to
display wide characters in ncurses.
.PP
Please do not use this program on files where there are more than 1000
characters in one line. The behaviour on such an input file is undefined.
.SH LICENSE
.PP
This program is licensed under the 2-clause BSD license. Please read the
LICENSE file for details.
|