<commit_before>Thumbnailer
===========

This is a Java Plugin for creating Thumbnails of files during the crawling process of regain.<br>
It can also be used as a standalone library to create thumbnails of different file types (image, text).<br>
(Regain is a Lucene-based desktop search engine.)

*Current Version* : 0.6 (Beta)<br>
*Licence* : GNU GPL 2.1 or later

Requirements
------------

* Java JRE 1.6
* (optional) OpenOffice 3.x/LibreOffice
* Tested in Windows/Linux/Mac

Supported Fileformats
---------------------

* Office files (doc, docx, xls, xlsx, ppt, pptx)
* OpenOffice files (all of them)
* Text files (txt, pdf, rtf, html)
* Image files (jpg, png, bmp, gif)
* MIT Scratch files (sb)

(Detection is based on MIME-Type, not filename extension. So files with an incorrect file extension will be treated correctly, not as they deserve.) 

Output are always PNG files. The dimension of this Thumbnail can be configured.

TODO
----

### Thumbnailer:<commit_msg>add link<commit_after>Thumbnailer
===========

This is a Java Plugin for creating Thumbnails of files during the crawling process of regain.<br>
It can also be used as a standalone library to create thumbnails of different file types (image, text).<br>
(Regain is a Lucene-based desktop search engine.)

*Current Version* : 0.6 (Beta)<br>
*Licence* : GNU GPL 2.1 or later

Similar Project:

* https://code.google.com/p/thumbnailator/ only for images

Requirements
------------

* Java JRE 1.6
* (optional) OpenOffice 3.x/LibreOffice
* Tested in Windows/Linux/Mac

Supported Fileformats
---------------------

* Office files (doc, docx, xls, xlsx, ppt, pptx)
* OpenOffice files (all of them)
* Text files (txt, pdf, rtf, html)
* Image files (jpg, png, bmp, gif)
* MIT Scratch files (sb)

(Detection is based on MIME-Type, not filename extension. So files with an incorrect file extension will be treated correctly, not as they deserve.) 

Output are always PNG files. The dimension of this Thumbnail can be configured.

TODO
----

### Thumbnailer:
{'fraction_non_alphanumeric': 0.12877662209014362, 'fraction_numerical': 0.006934125804853888, 'mean_word_length': 3.63302752293578, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6377925', 'n_tokens_mistral': 658, 'n_tokens_neox': 618, 'n_words': 268}