Skip to content

Commit

Permalink
morphodict.api.schema -> morphodict.search.serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
fbanados committed Oct 18, 2024
1 parent 1f65e77 commit 390fa67
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/morphodict/lexicon/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from django.urls import reverse
from django.utils.functional import cached_property

from morphodict.api.schema import SerializedDefinition
from morphodict.search.serializer import SerializedDefinition
from CreeDictionary.utils import (
shared_res_dir,
)
Expand Down
2 changes: 1 addition & 1 deletion src/morphodict/search/presentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
from morphodict.analysis import RichAnalysis
from morphodict.lexicon.models import Wordform, SourceLanguageKeyword

from morphodict.api.schema import (
from morphodict.search.serializer import (
SerializedDefinition,
SerializedWordform,
SerializedLinguisticTag,
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/morphodict/search/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from enum import Enum
from typing import NewType, Optional, Protocol, cast, Iterable, Tuple

from morphodict.api.schema import SerializedLinguisticTag
from morphodict.search.serializer import SerializedLinguisticTag
from CreeDictionary.utils.types import FSTTag, Label
from morphodict.lexicon.models import Wordform, wordform_cache
from morphodict.search import ranking
Expand Down
2 changes: 1 addition & 1 deletion src/morphodict/search_quality/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pathlib import Path
from typing import TypedDict

from morphodict.api.schema import SerializedSearchResult
from morphodict.search.serializer import SerializedSearchResult


class SearchResult(TypedDict):
Expand Down
2 changes: 1 addition & 1 deletion src/morphodict/search_quality/analyze_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from os import PathLike
from typing import cast, TypedDict, Optional

from morphodict.api.schema import SerializedSearchResult
from morphodict.search.serializer import SerializedSearchResult
from . import DEFAULT_SAMPLE_FILE, SampleSearchResultsJson
from .sample import load_sample_definition, SampleDefinition

Expand Down

0 comments on commit 390fa67

Please sign in to comment.