Skip to main content

find the etymological origins of a word

Project description

# ety-python
Python module to find the etymological origins of a word

[![Build Status](https://travis-ci.org/jmsv/ety-python.svg?branch=master)](https://travis-ci.org/jmsv/ety-python)
[![PyPI version](https://badge.fury.io/py/ety.svg)](https://badge.fury.io/py/ety)
[![Python versions](https://img.shields.io/pypi/pyversions/ety.svg)](https://pypi.python.org/pypi/ety)
[![Wheel Support](https://img.shields.io/pypi/wheel/ety.svg)](https://pypi.python.org/pypi/ety)

___Note:__ this module is under construction and doesn't yet have a large enough dataset to be useful_

## Install

### [pip](https://pypi.org/project/ety)

```bash
pip install ety
```

### Development

```bash
pipenv shell
python setup.py install
```

## Usage

### Module

```
>>> import ety

>>> ety.origins("potato")
['Spanish', 'Taino']

>>> ety.origins("abandon")
['Middle English', 'Middle French', 'Old French']
```

### CLI

After installing, a command-line tool is also available

```
Usage:
$ ety <word>

Example:
$ ety potato
Spanish, Taino
```

## Changelog

### [1.0.0] - 2018/05/23

#### Added
- `ety.tree` method takes a word and outputs the word's etymology in a tree format

#### Changed
- Uses [Etymological Wordnet](http://www1.icsi.berkeley.edu/~demelo/etymwn) data instead of scraped Dictionary.com data
- `ety.origins` output structure changed

### [0.2.0] - 2018/05/16
#### Added
- `ety.words` method. This acts as a reverse search: given an origin, it will return all of the words from (or partially from) that origin
- `ety.random_word` method returns a random word from the origins data set

### [0.1.0] - 2018/05/15
- `ety.origins` method takes a word and returns a list of the etymological origins of the word
- Command line tool: `ety word` lists the origins of 'word'

## Roadmap
- Support analysis of large amounts of text/files e.g. books


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ety-1.0.0.tar.gz (3.1 MB view hashes)

Uploaded Source

Built Distributions

ety-1.0.0-py3.6.egg (6.0 MB view hashes)

Uploaded Source

ety-1.0.0-py2.py3-none-any.whl (6.0 MB view hashes)

Uploaded Python 2 Python 3

ety-1.0.0-py2.7.egg (2.9 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page