Fix imports in readme
This commit is contained in:
parent
b9defdedfd
commit
7b4028fc41
@ -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(
|
||||
|
||||
@ -0,0 +1 @@
|
||||
from soundchanger.change import apply
|
||||
Loading…
x
Reference in New Issue
Block a user