Skip to content

Commit

Permalink
first entry
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkdecker committed Oct 9, 2024
0 parents commit a2c5afb
Show file tree
Hide file tree
Showing 46 changed files with 11,766 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
__pycache__/
build/
dist/
presets/text_presets/
presets/session_presets/
presets/theme_presets/
Test folder/
Test folder 2/
Test folder 3/

1_spec_file.bat
2_exe_packing.bat
compile_ressources.bat
save_output.txt
session_writing.spec
session_writing_copy.spec.txt
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Session_writing

This is a free text mining tool users can use to extract, highlight and display multiples sentences from text files using a list of keywords and prefixes.

It can be used to either analyze text for research purposes or practice writing.

# Features
- Sentence extraction using multiple keywords
- Handling of both singular and plural forms
- Ability to select keywords to ignore
- 2 types of highlighting for both Names and Keywords
- Ability to customize themes, highlight colors and shortcuts
##### Supported files : .txt, .epubs, .pdf


# Usage
[Download](https://github.com/Inkdecker/session_drawing/releases/download/1/session_writing.exe) and run the executable, no installation needed.

1 - Click "Add Folders", then select 1 or more folders containing the text files (.txt, .epubs or .pdf) you wish to process.
2 - Enter the keywords you want to use to extract the sentences, you can also use keywords ignore keywords.

Prefix | Result
------------ | -------------
Keyword | search for both singular and plural forms
&Keyword | search the given form
!Keyword | ignore sentences with either singular or plural forms
!&Keyword | ignore sentences with the given form

3 - Check "Highlight Keywords" if you want your keywords to be highlighted in output files for later processing.
4 - Select "Single output" to store all the sentences into a single files, "All output" to produce additional files for each individual keywords.
5 - Click "OK", the extracted sentences will be stored inside the text_preset/ folder, the sentences separated by an empty line.

## Troubleshooting
- Delete the session_settings.txt to reset settings and shortcuts.
- Delete the preset folder and restart the executable to reset everything back to default.
- Default encoding is UTF-8 so the presets files should be encoded as such.

## Hotkeys
### Configuration window:
Button | Hotkey
------------ | -------------
Start session | S
Close Window | Escape

### Session Window:
Button | Hotkey
------------ | -------------
Zoom + | Q, Numpad +, Mousewheel
Zoom - | D, Numpad -, Mousewheel
Toggle highlight | G
Toggle text field | T
Toggle Always On Top | A
Previous sentence | Left Arrow Key
Stop | Esc
Pause | Spacebar
Next sentence | Right Arrow Key, Return
Copy sentence | C
Open preset folder | O
Delete sentence | Ctrl + D
Open setting window | Tab
Add 30s | Up Arrow Key
Add 1 Minute | Ctrl + Up Arrow Key
Reset timer | Ctrl + Shift + Up Arrow Key
Loading

0 comments on commit a2c5afb

Please sign in to comment.