Fix imports in readme

This commit is contained in:
Patrick Elmer 2023-03-11 13:18:22 +09:00
parent b9defdedfd
commit 7b4028fc41
2 changed files with 4 additions and 3 deletions

View File

@ -34,13 +34,13 @@ pip install .
After this, it should be callable from the command line using the `sc` command, or it can be imported in python projects in the following way:
```python
from soundchanger.project import apply
from soundchanger import apply
```
## Quick start
```python
from soundchanger.project import apply
from soundchanger import apply
applied = apply(
@ -104,7 +104,7 @@ A valid sound change must have at least az value for `A` and one `>` character.
The input also recognizes categories, which must be specified manually. Common categories invole for example consonants (`C`) and vowels (`V`). A sound change that happens between two vowel must therefore be written in the following way:
```python
from soundchanger.project import apply
from soundchanger import apply
applied = apply(

View File

@ -0,0 +1 @@
from soundchanger.change import apply