-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] Use relative import and fix docstrings
- Change module import to relative import - Fix and add some docstrings
- Loading branch information
1 parent
5b0a3e3
commit 0fe718c
Showing
3 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
from sapphire.sapphire import Sapphire | ||
from sapphire.word_alignment import ( | ||
from .sapphire import Sapphire | ||
from .word_alignment import ( | ||
WordEmbedding, FastTextVectorize, WordAlign, get_similarity_matrix | ||
) | ||
from sapphire.phrase_alignment import PhraseExtract, PhraseAlign | ||
from .phrase_alignment import PhraseExtract, PhraseAlign |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters