<commit_before>xhi
===

The full name is xinetd http interface, to provide a set of API base on HTTP protocol<commit_msg>update readme to add how to install section<commit_after>XHI
===

The full name is xinetd http interface, to provide a set of API base on HTTP protocol

Installation
---
* Install xinetd if not. Perform the following in openwrt:

    `opkg install xinetd`
    
* Add xhi service in /etc/services, for example:

    `xhi        8080/tcp`

* Create xhi configuration file for xinetd, you can simplily copy file "xhi" in source code into /etc/xinetd.d/
* Put xhi code to your disk. 

The default location is "/opt/xhi". If you decide to use another location, please remember to update it in web.sh

* Re-start xhi service

    `/etc/init.d/xinetd restart`
* Enjoy it
{'fraction_non_alphanumeric': 0.07142857142857142, 'fraction_numerical': 0.00510204081632653, 'mean_word_length': 3.4350282485875705, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '844653', 'n_tokens_mistral': 248, 'n_tokens_neox': 240, 'n_words': 113}