Skip to content

Commit

Permalink
remove: ToDo
Browse files Browse the repository at this point in the history
  • Loading branch information
singh-lokendra committed Aug 12, 2019
1 parent 0b2357a commit c5a7793
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Expand Up @@ -13,24 +13,21 @@
## About the Exisiting Code Base
- The exisiting code base has the subprocess and swig wrapper implementation of the basic functions of Apertium.

## ToDo
- ToDo is present in form of issues https://github.com/apertium/apertium-python/issues

## Usage of library

- For multiple invocations `Method 1` is more performant, as the dictionary needs to be loaded only once.

### Analysis
Performing Morphological Analysis

Method 1: Create a `Analyzer` object and call its `analyze` method.
Method 1: Create an `Analyzer` object and call its `analyze` method.
```python
In [1]: import apertium
In [2]: a = apertium.Analyzer('en')
In [3]: a.analyze('cats')
Out[3]: [cats/cat<n><pl>, ./.<sent>]
```
Method 2: Calling `analyze` method directly.
Method 2: Calling `analyze()` directly.
```python
In [1]: import apertium
In [2]: apertium.analyze('en', 'cats')
Expand Down

0 comments on commit c5a7793

Please sign in to comment.