From 7b4028fc414ec6aef358318e79caca708990b3a0 Mon Sep 17 00:00:00 2001 From: Patrick Elmer Date: Sat, 11 Mar 2023 13:18:22 +0900 Subject: [PATCH] Fix imports in readme --- README.md | 6 +++--- soundchanger/__init__.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 1d5c83c..a055e81 100644 --- a/README.md +++ b/README.md @@ -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( diff --git a/soundchanger/__init__.py b/soundchanger/__init__.py index e69de29..7f56f48 100644 --- a/soundchanger/__init__.py +++ b/soundchanger/__init__.py @@ -0,0 +1 @@ +from soundchanger.change import apply \ No newline at end of file