booky 0.8.0

A tool to analyze English text
Documentation
## Lexicon Entries

The lexicon `english.csv` uses a variation of the comma separated value (CSV)
format.  Each line contains one **lexeme**:

* Value 1: **lemma** : **word class** {.**attributes**}
* Values 2+: **irregular inflected forms**

Example:

```
go:V,goes,going,went,gone
```

### Lemma (Base Word)

The base or canonical form of a word, usually in all lowercase.

### Word Class

Codes for one of nine basic word classes:

| Code | Class        |
|------|--------------|
| `A`  | Adjective    |
| `Av` | Adverb       |
| `C`  | Conjunction  |
| `D`  | Determiner   |
| `I`  | Interjection |
| `N`  | Noun         |
| `P`  | Preposition  |
| `Pn` | Pronoun      |
| `V`  | Verb         |

### Attributes

If any attributes are provided, they are preceded by a dot `.`:

| Code | Description                    | Examples
|------|--------------------------------|----------------------
| `a`  | Auxiliary verb                 | _cannot_
| `c`  | Comparative inflected forms    | _big_ `=>` _bigger_ `=>` _biggest_
| `n`  | Proper (name) noun             | _Monday_
| `p`  | Plurale Tantum                 | _pants_, _scissors_
| `s`  | Singulare Tantum               | _dust_, _information_
| `t`  | Transitive verb or preposition |
| `z`  | Alternate `-ize`, etc. forms   | _realize_ `=>` _realise_

### Inflected Forms

Forms are modifications of the **lemma**, indicating tense, number, etc.
These forms can be **regular** or **irregular**.  If no irregular forms are
provided, regular forms will be automatically generated for these four word
classes:

- **Adjective**: Comparative (*er*), Superlative (*est*)
- **Noun**: Plural (*s*)
- **Pronoun**: Plural (*s*)
- **Verb**: Present tense (*s*), Present participle (*ing*),
            Past tense (*ed*)

The suffixes are attached to lemmas based on special rules.

Irregular forms can be abbreviated with a hyphen (\-) at the beginning.  This
includes the lemma, trimmed to the first letter after the hyphen.
For example:

```
alumnus:N,-ni
```

### Special Characters

Some characters create alternate forms when included in a *lemma*:

| Character | Alternates |
|-----------|------------|
| `à`       | `a`        |
| `â`       | `a`        |
| `é`       | `e`        |
| `è`       | `e`        |
| `ê`       | `e`        |
| `ï`       | `i`        |
| `ñ`       | `n`        |
| `ü`       | `ue`, `u`  |
| `æ`       | `ae`, `e`  |
| `œ`       | `oe`, `e`  |
| `ç`       | `c`        |