<commit_before>libcec-daemon
=============
A simple daemon to connect libcec to uinput. That is, using your TV to control your PC!
by <NAME>

Licence
=======
Currently under the GPL, but only because libcec (on which we depend) is under
the GPL. I have full intentions to relicence this project as BSD when libcec
changes to either LGPL, or I do not need to depend on it anymore.

Build
=====
* Checkout the main source

```
git clone git://github.com/bramp/libcec-daemon.git
```

* Now we need some libraries

```
sudo apt-get install libboost-program-options-dev libboost-thread-dev liblog4cplus-dev
```

* Also we need the libcec libraries. Pulse eight provides east way to install

```
sudo apt-get install libcec-dev

# Alternatively fetch it directly from pulse-eight
wget http://packages.pulse-eight.net/ubuntu/install-libcec.sh
sudo sh install-libcec.sh
```

* If you have trouble getting libcec, please refer to their documentaiton.
* Now build the libcec-daemon

```
cd libcec-daemon
make
```

Usage
====
```<commit_msg>Remove apt-get method, and started to bump the project to libcec 2.x<commit_after>libcec-daemon
=============
A simple daemon to connect libcec to uinput. That is, using your TV to control your PC!
by <NAME>

Licence
=======
Currently under the GPL, but only because libcec (on which we depend) is under
the GPL. I have full intentions to relicence this project as BSD when libcec
changes to either LGPL, or I do not need to depend on it anymore.

Build
=====
* Checkout the main source

```
git clone git://github.com/bramp/libcec-daemon.git
```

* Now we need some libraries

```
sudo apt-get install libboost-program-options-dev libboost-thread-dev liblog4cplus-dev
```

* Also we need the libcec (version 2.x) libraries. Pulse eight provides east way to install

```
wget http://packages.pulse-eight.net/ubuntu/install-libcec.sh
sudo sh install-libcec.sh
```

* If you have trouble getting libcec, please refer to their documentaiton.
* Now build the libcec-daemon

```
cd libcec-daemon
make
```

Usage
====
```
{'fraction_non_alphanumeric': 0.11051344743276284, 'fraction_numerical': 0.0019559902200488996, 'mean_word_length': 4.246153846153846, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2902560', 'n_tokens_mistral': 687, 'n_tokens_neox': 638, 'n_words': 261}