Skip to content

Commit

Permalink
Moved cumpute_score to utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
goldpulpy committed Oct 10, 2024
1 parent 4b5b907 commit 5d9cae1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 1 addition & 2 deletions pysentence_similarity/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@
from ._model import Model
from ._splitter import Splitter
from ._storage import Storage
from ._utils import compute_score

__all__ = ["Model", "Splitter", "Storage", "compute_score"]
__all__ = ["Model", "Splitter", "Storage"]
File renamed without changes.
3 changes: 2 additions & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import unittest

import numpy as np
from pysentence_similarity import Model, compute_score
from pysentence_similarity import Model
from pysentence_similarity.utils import compute_score


class TestModel(unittest.TestCase):
Expand Down

0 comments on commit 5d9cae1

Please sign in to comment.