<commit_before>Transliterator
==============

Transliterator extension for Firefox allows as-you-type conversion of text from
one alphabet to another. A number of different conversion schemes are supported
out of the box, custom schemes can be defined by the user. See
[project homepage](http://www.benya.com/transliterator/) for more details.

How to build
------------

To create a Transliterator build run `build.py` script in this directory (Python
2.x required). By default the build will be saved as `transliterator.xpi`, a
command line parameter can be provided to use a different file name:

    python build.py fooliterator.xpi

If the command line parameter is `-` the build will be written to stdout.

How to test
-----------

Transliterator builds can be installed automatically into your browser via
[Extension Auto-Installer extension](https://addons.mozilla.org/addon/autoinstaller/).
In order to do that run `autoinstaller.py` script in this directory (Python 2.x
required). By default, it is assumed that xtension Auto-Installer is listening
on port 8888, you can specify a different port as command line parameter:

    python autoinstall.py 7777

You can also specify a `host:port` combination for remote installations:

    python autoinstall.py 192.168.1.2:8888<commit_msg>Fixed README typo<commit_after>Transliterator
==============

Transliterator extension for Firefox allows as-you-type conversion of text from
one alphabet to another. A number of different conversion schemes are supported
out of the box, custom schemes can be defined by the user. See
[project homepage](http://www.benya.com/transliterator/) for more details.

How to build
------------

To create a Transliterator build run `build.py` script in this directory (Python
2.x required). By default the build will be saved as `transliterator.xpi`, a
command line parameter can be provided to use a different file name:

    python build.py fooliterator.xpi

If the command line parameter is `-` the build will be written to stdout.

How to test
-----------

Transliterator builds can be installed automatically into your browser via
[Extension Auto-Installer extension](https://addons.mozilla.org/addon/autoinstaller/).
In order to do that run `autoinstaller.py` script in this directory (Python 2.x
required). By default, it is assumed that Extension Auto-Installer is listening
on port 8888, you can specify a different port as command line parameter:

    python autoinstall.py 7777

You can also specify a `host:port` combination for remote installations:

    python autoinstall.py 192.168.1.2:8888
{'fraction_non_alphanumeric': 0.08484381025838797, 'fraction_numerical': 0.016968762051677595, 'mean_word_length': 4.157057654075547, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 2, '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': '844440', 'n_tokens_mistral': 717, 'n_tokens_neox': 652, 'n_words': 331}