semvec/pypi-packages huggingface dataset:
unitexlemmatizer 1.0.0
A simple lemmatizer based on Unitex word lists
License: MIT
Keywords: nlp,lemmatizer

Unitex Lemmatizer
=================

This is a simple module for lemmatization based on the Unitex inflected word
list. As such, it needs a Unitex vocabulary file in order to work properly.

So far, I've only worked with Portuguese, with the
`DELAF_PB file <http://www.nilc.icmc.usp.br/nilc/projects/unitex-pb/web/dicionarios.html>`_
provided by NILC.

Installing
----------

You can either clone the repository and install with

.. code-block:: bash

    $ python setup.py install

or install through pip

.. code-block:: bash

    $ pip install unitexlemmatizer

Usage
-----

In order to use the Unitex Lemmatizer, you need to tell it where the word list
is:

.. code-block:: python

    >>> import unitexlemmatizer as ul
    >>> ul.load_unitex_dictionary('/path/to/delaf.dic')

Then, you can call the ``get_lemma`` function passing the inflected word and its
part of speech tag (from the `Universal Dependencies <http://universaldependencies.org>`_
tagset).

.. code-block:: python

    >>> ul.get_lemma('corpora', 'noun')
    'corpus'
mytsgraph 1.0.1
MySQL table space monitoring.
License: MIT

# MySQL Table Space Graphing

![Build Status](https://travis-ci.org/dalenys/mytsgraph.svg?branch=master)

#### Table of contents

1. [Overview] (#overview)
2. [Usage] (#usage)
3. [Notices] (#notices)
4. [Installation] (#installation)
5. [Development] (#development)

## Overview
This program put in statsd (graphite stack) some metrics about your database
and table space consumption.

For all your databases/tables, you will have

- data_length: size of the table
- index_length: size of the index
- data_free: free space in table space
- row_count: the (approximative) number of rows

## Usage

```
usage: mytsgraph [-h] --config CONFIG

optional arguments:
  -h, --help            show this help message and exit
  --config CONFIG, -c CONFIG
                        Configuration file

```

## Notices
BE CAREFUL:
 - It could be very slow (especially on heavy loaded servers or servers with a
   huge databases/tables count.
 You surely want to run this tool on a slave instead of a master

## Installation [pypi link](https://pypi.python.org/pypi/mytsgraph/)

To install it with a [Python virtualenv](http://docs.python-guide.org/en/latest/dev/virtualenvs/)
(recommended):

```
$> virtualenv myenv
$> source myenv/bin/activate
(myenv) $> pip install mytsgraph
(myenv) $> mysql-monitor -h
```

Or on your system, without virtualenv:

```
$> pip install mytsgraph
$> mysql-monitor -h
```

## Retention policy

I suggest to use a not fine grained retention since this script should be used
only a few time a day. Something like this should be enough:

```
[mytsgraph]
pattern = database.*
retentions = 4h:3y
```

## Development

To start hacking on the project, run:

```
$> virtualenv myenv
$> source myenv/bin/activate
(myenv) $> pip install -e .
(myenv) $> mytsgraph -h
```