forked from mathewthe2/Game2Text
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove phrases and dups in texthooker
- Loading branch information
1 parent
74409e6
commit 68c9b63
Showing
6 changed files
with
131 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,75 @@ | ||
[APPEARANCE] | ||
fontsize = 29 | ||
darktheme = true | ||
selection_color = hotpink | ||
selection_line_width = 1 | ||
|
||
[APPCONFIG] | ||
browser = default | ||
host = localhost | ||
port = 0 | ||
|
||
[ANKICONFIG] | ||
ankiserver = http://127.0.0.1:8765 | ||
deck = 日本語 | ||
model = Anime | ||
cardtags = Game2Text | ||
anki_dictionary = jmdict_english | ||
|
||
[OCRCONFIG] | ||
engine = Tesseract Default | ||
tesseract_language = jpn | ||
ocr_space_language = jpn | ||
oem = 3 | ||
extra_options = "-c chop_enable=T -c use_new_state_cost=F -c segment_segcost_rating=F -c enable_new_segsearch=0 -c language_model_ngram_on=0 -c textord_force_make_prop_words=F -c edges_max_children_per_outline=40" | ||
|
||
[TRANSLATIONCONFIG] | ||
translation_service = Papago | ||
source_lang = ja | ||
target_lang = en | ||
|
||
[LOGCONFIG] | ||
launchlogwindow = false | ||
currentsessionmaxlogsize = 30 | ||
lastsessionmaxlogsize = 15 | ||
logimages = true | ||
logimagetype = jpg | ||
logimagequality = 1.0 | ||
resize_screenshot = false | ||
resize_screenshot_max_width = 1280 | ||
resize_screenshot_max_height = 720 | ||
logaudio = false | ||
logaudiotype = mp3 | ||
logaudioduration = 7.0 | ||
logaudioframes = 512 | ||
logaudiohost = Windows WASAPI | ||
logaudiodevice = CABLE Input (VB-Audio Virtual Cable) | ||
gamescriptfile = | ||
|
||
[SCRIPTMATCHCONFIG] | ||
confidence_threshold = 85 | ||
match_limit = 5 | ||
|
||
[TEXTHOOKERCONFIG] | ||
remove_repeat = true | ||
remove_spaces = true | ||
|
||
[WINDOWS_HOTKEYS] | ||
refresh_ocr = <ctrl>+q | ||
add_to_anki = <shift>+e | ||
record_audio = <ctrl>+l | ||
|
||
[MAC_HOTKEYS] | ||
refresh_ocr = <cmd>+b | ||
add_to_anki = <shift>+e | ||
record_audio = <cmd>+l | ||
|
||
[LINUX_HOTKEYS] | ||
refresh_ocr = <ctrl>+q | ||
add_to_anki = <shift>+e | ||
record_audio = <ctrl>+l | ||
|
||
[PATHS] | ||
textractor = default | ||
|
||
[APPEARANCE] | ||
fontsize = 29 | ||
darktheme = true | ||
selection_color = hotpink | ||
selection_line_width = 1 | ||
|
||
[APPCONFIG] | ||
browser = default | ||
host = localhost | ||
port = 0 | ||
|
||
[ANKICONFIG] | ||
ankiserver = http://127.0.0.1:8765 | ||
deck = 日本語 | ||
model = Anime | ||
cardtags = Game2Text | ||
anki_dictionary = jmdict_english | ||
|
||
[OCRCONFIG] | ||
engine = Tesseract Default | ||
tesseract_language = jpn | ||
ocr_space_language = jpn | ||
oem = 3 | ||
extra_options = "-c chop_enable=T -c use_new_state_cost=F -c segment_segcost_rating=F -c enable_new_segsearch=0 -c language_model_ngram_on=0 -c textord_force_make_prop_words=F -c edges_max_children_per_outline=40" | ||
|
||
[TRANSLATIONCONFIG] | ||
translation_service = Papago | ||
source_lang = ja | ||
target_lang = en | ||
|
||
[LOGCONFIG] | ||
launchlogwindow = false | ||
currentsessionmaxlogsize = 30 | ||
lastsessionmaxlogsize = 15 | ||
logimages = true | ||
logimagetype = jpg | ||
logimagequality = 1.0 | ||
resize_screenshot = false | ||
resize_screenshot_max_width = 1280 | ||
resize_screenshot_max_height = 720 | ||
logaudio = false | ||
logaudiotype = mp3 | ||
logaudioduration = 7.0 | ||
logaudioframes = 512 | ||
logaudiohost = Windows WASAPI | ||
logaudiodevice = CABLE Input (VB-Audio Virtual Cable) | ||
gamescriptfile = | ||
|
||
[SCRIPTMATCHCONFIG] | ||
confidence_threshold = 85 | ||
match_limit = 5 | ||
|
||
[TEXTHOOKERCONFIG] | ||
remove_repeat = true | ||
remove_duplicates = false | ||
remove_spaces = true | ||
|
||
[WINDOWS_HOTKEYS] | ||
refresh_ocr = <ctrl>+q | ||
add_to_anki = <shift>+e | ||
record_audio = <ctrl>+l | ||
|
||
[MAC_HOTKEYS] | ||
refresh_ocr = <cmd>+b | ||
add_to_anki = <shift>+e | ||
record_audio = <cmd>+l | ||
|
||
[LINUX_HOTKEYS] | ||
refresh_ocr = <ctrl>+q | ||
add_to_anki = <shift>+e | ||
record_audio = <ctrl>+l | ||
|
||
[PATHS] | ||
textractor = default | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters