stephenmk
b03978d1f7
Add timestamps to command line messages
...
This is a clumsy way of doing it (since it would be better to have a
wrapper function append the timestamp), but that will be taken care of
when the logging logic is all overhauled anyway.
2023-07-28 23:17:42 -05:00
stephenmk
8f30f9419d
Update logic for adding variant kanji forms
...
Prior to this commit, the program would only add variant kanji forms
in one direction. For example, an additional search key for 掴む would
be added if a 摑む headword was found in a dictionary, but a search
key for 摑む would not be added to 掴む.
Search keys are now added in both directions (old-to-new and
new-to-old).
2023-07-28 18:35:22 -05:00
stephenmk
d37c3aca5b
Update "alt" text for some SVG gaiji
2023-07-28 18:06:24 -05:00
stephenmk
a5bb8d6f40
sankoku8 bugfix: account for images in headwords
...
Affects ビャンビャンめん, さんだつ (簒奪), and some words with hypens
such as J-POP and CD-ROM.
2023-07-28 17:00:01 -05:00
stephenmk
7b2ba96db9
Reorganize file structure of all other modules
2023-07-26 23:48:24 -05:00
stephenmk
9b3fdc86d1
Reorganize file structure of entries modules
2023-07-26 19:28:50 -05:00
stephenmk
0cd530585f
Adjust pitch accent style again
...
Decided I like it this way the most
2023-07-19 23:49:25 -05:00
stephenmk
94c68b4e26
Yomichan: adjust style of pitch accent symbols in sankoku (again)
2023-07-19 17:31:55 -05:00
stephenmk
d6044e0c12
Yomichan: add negative left margin to pitch accent marks in sankoku
2023-07-19 13:28:13 -05:00
stephenmk
e85d0a1625
Add support for sankoku8
2023-07-18 00:43:38 -05:00
stephenmk
dbf0cf0eb8
Fix Yomichan image height calculation error
...
For images that have greater height than width values, the image
proportions for Yomichan were being calculated incorrectly. This can
be observed for example in the SMK8 entry for くの字点 and the
DAIJIRIN2 entry for 定積分.
2023-07-16 18:53:28 -05:00
stephenmk
d51de0b3dc
Redesign search key logic for mdict
...
https://github.com/stephenmk/jitenbot/issues/1#issuecomment-1631583836
2023-07-12 19:02:07 -05:00
stephenmk
c9ab0aea46
Include copy of CSS file in mdict output directory
...
There is also a read-only copy archived in the MDD resource file.
This external file is more convenient for the user to edit.
2023-07-12 17:53:28 -05:00
stephenmk
ce2e106646
Add more detailed runtime messages
2023-07-10 21:18:40 -05:00
stephenmk
8855afb464
Reorganize data file directory
2023-07-08 20:49:42 -05:00
stephenmk
4c837cd72d
Add export support for the MDict dictionary format
2023-07-08 16:49:03 -05:00
stephenmk
ef878143d7
Warn user when corrupted page data is downloaded from jitenon
2023-05-06 22:07:06 -05:00
stephenmk
c737f10885
Add tests for Expressions
functions
2023-05-06 20:07:07 -05:00
stephenmk
6dbc8b90ce
Add entry and term factories
2023-05-06 16:55:00 -05:00
stephenmk
3d795ab49f
Add crawler factory
2023-05-06 13:15:38 -05:00
stephenmk
68949dde6c
Use snake_case
2023-05-05 22:54:22 -05:00
stephenmk
7ad72a6e4f
Add support for jitenon-kokugo
2023-05-05 22:53:17 -05:00
stephenmk
fce94903a0
Specify UTF-8 encoding with file i/o
2023-05-01 20:03:03 -05:00
stephenmk
5aa954bf2d
Add support for Shinmeikai 8th edition & Daijirin 4th edition
2023-05-01 17:31:28 -05:00
stephenmk
0cfa3a19df
Decrease threshold for displaying jitenon readings in table
2023-04-23 14:45:34 -05:00
stephenmk
298b25ed9e
Import functions explicitly
2023-04-23 12:33:42 -05:00
stephenmk
e9cbd8fe4e
Add conditions for displaying term reading in entry headword line
2023-04-23 12:31:02 -05:00
stephenmk
25fa5d107a
Create extra forms for expressions with rare kanji variants
2023-04-23 11:46:27 -05:00
stephenmk
fbaba0f499
Protect attribute
2023-04-23 00:34:46 -05:00
stephenmk
08b180f442
Redesign Jitenon glossaries for yomichan
2023-04-23 00:17:42 -05:00
stephenmk
934f6534f1
Rename util.py -> expressions.py
2023-04-22 21:01:52 -05:00
stephenmk
886faf1984
Add more attribute support to yomichan glossary
2023-04-22 20:45:40 -05:00
stephenmk
13f07c9000
Organize yomichan term creation logic into separate classes
2023-04-22 20:26:54 -05:00
stephenmk
7d7e32ba45
Split jitenon crawler class into subclasses
2023-04-22 18:32:11 -05:00
stephenmk
8868383a08
Organize crawler logic into classes
2023-04-22 17:56:52 -05:00
stephenmk
4721eed4c6
Organize Yomichan export logic into classes
2023-04-22 16:49:29 -05:00
stephenmk
e73c4d3d7f
Move Yomichan index and tag metadata to data file
2023-04-22 14:14:28 -05:00
stephenmk
90eb5dc285
Use standard platform directories for cache, config, and output data
2023-04-22 13:37:34 -05:00
stephenmk
071144c808
Use full version of sudachi dictionary
2023-04-22 12:09:36 -05:00
stephenmk
1b89a3542c
Reorganize file structure
2023-04-11 12:01:23 -05:00