<commit_before># Tsuga

[![Build Status](https://travis-ci.org/mezis/tsuga.png?branch=master)](https://travis-ci.org/mezis/tsuga)

<img width="320" style="margin-left:1em;margin-bottom:1em;clear:both;float:right;" src="http://cl.ly/image/251X2b1p1B00/b1.jpg"/>
<img width="320" style="margin-left:1em;margin-bottom:1em;clear:both;float:right;" src="http://cl.ly/image/1T1U421F1P2G/b2.jpg"/>

A **clustering engine** for geographical data (points of interest) that
produces a **tree** of clusters, with depths matching zoomlevels on typical
maps, and source points of interest as leaves.

Makes heavy use of [Geohash](http://en.wikipedia.org/wiki/Geohash)-like and
[Morton codes](http://en.wikipedia.org/wiki/Morton_number_(number_theory)).

Designed with Rails usage in mind, but usable without Rails or even without a database.<commit_msg>Fixes Morton number link<commit_after># Tsuga

[![Build Status](https://travis-ci.org/mezis/tsuga.png?branch=master)](https://travis-ci.org/mezis/tsuga)

<img width="320" style="margin-left:1em;margin-bottom:1em;clear:both;float:right;" src="http://cl.ly/image/251X2b1p1B00/b1.jpg"/>
<img width="320" style="margin-left:1em;margin-bottom:1em;clear:both;float:right;" src="http://cl.ly/image/1T1U421F1P2G/b2.jpg"/>

A **clustering engine** for geographical data (points of interest) that
produces a **tree** of clusters, with depths matching zoomlevels on typical
maps, and source points of interest as leaves.

Makes heavy use of [Geohash](http://en.wikipedia.org/wiki/Geohash)-like and
[Morton codes](http://en.wikipedia.org/wiki/Morton_number_%28number_theory%29).

Designed with Rails usage in mind, but usable without Rails or even without a database.
{'fraction_non_alphanumeric': 0.15457227138643068, 'fraction_numerical': 0.03421828908554572, 'mean_word_length': 6.126050420168068, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '7600190', 'n_tokens_mistral': 627, 'n_tokens_neox': 585, 'n_words': 130}