<commit_before># brother_skeytool_scripts
These are scripts for the scankey-tool (brscan-skey) from Brother. The scripts provided by the package lacks an functionality, such as:
* files are not converted (to jpg or pdf)
* scanning of multiple pages are not supported
* if you want scan to mail, you have to hardcode the receiver

## Dependencies
* [Scankey Tool](http://support.brother.com/g/s/id/linux/en/instruction_scn3.html?c=us_ot&lang=en&comple=on&redirect=on)
* sane-utils
* imagemagick
* xdg-utils

## Installation
* Install and configure the scanner driver first
* Install the Scankey Tool
* Download the scripts or clone this git
* move the script's to */opt/brother/scanner/brscan-skey/script* and make them executable
* edit the configuration */opt/brother/scanner/brscan-skey/brscan-skey-0.2.4-0.cfg* and change file names

## Function
* scantoimage.sh scans the page, convert it to jpg and open the path with the file browser
* scantofile.sh scan the page, convert it to pdf and open the path with the file browser
* scantomail.sh scan the page, convert it to pdf and open the mail program, where the file is already attached
** **BUG:** xdg-email is used to open your mail program and attach the scanned file. Under Ubuntu 14.04 the scanned file is not attached because of a [bug](https://bugs.launchpad.net/xdg-utils/+bug/515386). I tested it with Ubuntu 16.04, where it work's without a problem.
* scantox.sh are the functions, if you want to edit something, do it there

I also wrote a [blog article](http://blog.kokolor.es/brothers-brscan-skey-nutzbar-machen/) about it, mainly about the bugs in this package. (in german)
If someone have a bug or any suggestions, write me.<commit_msg>format readme<commit_after># brother_skeytool_scripts
These are scripts for the scankey-tool (brscan-skey) from Brother. The scripts provided by the package lacks an functionality, such as:
* files are not converted (to jpg or pdf)
* scanning of multiple pages are not supported
* if you want scan to mail, you have to hardcode the receiver

## Dependencies
* [Scankey Tool](http://support.brother.com/g/s/id/linux/en/instruction_scn3.html?c=us_ot&lang=en&comple=on&redirect=on)
* sane-utils
* imagemagick
* xdg-utils (**BUG:** xdg-email is used to open your mail program and attach the scanned file. Under Ubuntu 14.04 the scanned file is not attached because of a [bug](https://bugs.launchpad.net/xdg-utils/+bug/515386). I tested it with Ubuntu 16.04, where it work's without a problem.)

## Installation
* Install and configure the scanner driver first
* Install the Scankey Tool
* Download the scripts or clone this git
* move the script's to */opt/brother/scanner/brscan-skey/script* and make them executable
* edit the configuration */opt/brother/scanner/brscan-skey/brscan-skey-0.2.4-0.cfg* and change file names

## Function
* scantoimage.sh scans the page, convert it to jpg and open the path with the file browser
* scantofile.sh scan the page, convert it to pdf and open the path with the file browser
* scantomail.sh scan the page, convert it to pdf and open the mail program, where the file is already attached
* scantox.sh are the functions, if you want to edit something, do it there


I also wrote a [blog article](http://blog.kokolor.es/brothers-brscan-skey-nutzbar-machen/) about it, mainly about the bugs in this package. (in german)
If someone have a bug or any suggestions, write me.
{'fraction_non_alphanumeric': 0.08509389671361503, 'fraction_numerical': 0.011150234741784037, 'mean_word_length': 4.498387096774193, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7650364', 'n_tokens_mistral': 1073, 'n_tokens_neox': 983, 'n_words': 444}