-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelptext.py
68 lines (50 loc) · 2.69 KB
/
helptext.py
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#!/usr/bin/env python
# Copyright (C) 2013 Mathew Chong
# This file is part of pkanji.
# pkanji is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# pkanji is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with pkanji. If not, see <http://www.gnu.org/licenses/>.
HELPTEXT = '''pkanji allows you to do an RTK-style primitive to kanji lookup.
Type "actions" to see all commands.
Typical usage:
1. Type the name of the primitives contained in the kanji one per line.
See the "pradfile" file for all the inputtable primitives.
2. Press enter on a blank line to search. This should give an indexed
list of kanji that contain those primitives.
3. Type the number corresponding to the kanji to copy to clipboard.
4. Type "q" to quit, or "c" to clear and repeat the process.
Modifying the primitive to radical map:
Modify the "pradfile" file. See the file for further instructions.
'''
LICENSETEXT = '''pkanji is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
pkanji is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with pkanji. If not, see <http://www.gnu.org/licenses/>.
'''
COPYRIGHTTEXT = '''pkanji Copyright (C) 2013 Mathew Chong'''
CREDITTEXT = '''RTK Keywords for kanji and primitives (kRTKfile, pradfile):
Mapping between keywords to kanji and primitives. These files are
used to facilitate the selection of radicals and to identify the
RTK keyword for a kanji.
Copyright for kRTKfile belongs to James W. Heisig. pradfile
contains some of Heisig's mappings, and some original mappings
from the users of the Reviewing the Kanji community.
Kanji-radical information (radkfile, kradfile):
A compositional breakdown of kanji into radicals. These files are
used to power the core radical to kanji lookup.
Copyright held by the Electronic Dictionary Research Group.
More details and licence can be found at http://www.edrdg.org/
'''