Metadata-Version: 2.1
Name: nomquamgender
Version: 0.1.4
Summary: Data and code to support name-based gender classification in scientific research
Home-page: https://github.com/ianvanbuskirk/nomquamgender
Author: Ian Van Buskirk
Author-email: ian@colorado.edu
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: unidecode
Requires-Dist: numpy
Requires-Dist: pandas

# nomquamgender (nqg)

A simple package containing data and a few functions to support name-based gender classification in scientific research. See [github](https://github.com/ianvanbuskirk/nomquamgender) for details and examples.

---

## Install

```console
pip install nomquamgender
```

---

## Annotate Names

```python
import nomquamgender as nqg
```

```python
model = nqg.NBGC()
model.annotate(['András Schiff', 'Mitsuko Uchida', 'Jean Rondeau'], as_df=True)
```

|    | given          | used    |   sources |   counts |   p(gf) |
|---:|:---------------|:--------|----------:|---------:|--------:|
|  0 | András Schiff  | andras  |        24 |    13010 |   0.001 |
|  1 | Mitsuko Uchida | mitsuko |        14 |      925 |   0.981 |
|  2 | Jean Rondeau   | jean    |        31 |  2525377 |   0.477 |
