Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Split main #14

Merged
merged 14 commits into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pytest:


doctest:
MATHICS_CHARACTER_ENCODING="ASCII" $(PYTHON) -m mathics.docpipeline -l pymathics.natlang -c "Natural Language Processing" $o
MATHICS_CHARACTER_ENCODING="ASCII" $(PYTHON) -m mathics.docpipeline -l pymathics.natlang -c 'Natural Language Processing' $o


# #: Make Mathics PDF manual
Expand All @@ -89,5 +89,4 @@ ChangeLog: rmChangeLog

#: Run pytest consistency and style checks
check-consistency-and-style:
# MATHICS_LINT=t $(PYTHON) -m pytest test/consistency-and-style
echo "check-consistency-and-style deactivated. Activate me later. "
MATHICS_LINT=t $(PYTHON) -m pytest test/consistency-and-style
25 changes: 15 additions & 10 deletions pymathics/natlang/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,28 +38,32 @@
= Old Man Apulia, conduct peculiar
"""


from pymathics.natlang.main import (
DeleteStopwords,
DictionaryLookup,
DictionaryWordQ,
LanguageIdentify,
from pymathics.natlang.linguistic_data import (
Pluralize,
RandomWord,
SpellingCorrectionList,
WordData,
WordDefinition,
WordList,
)
from pymathics.natlang.normalization import (
DeleteStopwords,
TextCases,
TextPosition,
TextSentences,
TextStructure,
TextWords,
)
from pymathics.natlang.textual_analysis import (
Containing,
DictionaryLookup,
DictionaryWordQ,
SpellingCorrectionList,
WordCount,
WordData,
WordDefinition,
WordFrequency,
WordList,
WordSimilarity,
WordStem,
)
from pymathics.natlang.translation import LanguageIdentify
from pymathics.natlang.version import __version__

pymathics_version_data = {
Expand All @@ -70,6 +74,7 @@
}

__all__ = [
"Containing",
"DeleteStopwords",
"DictionaryLookup",
"DictionaryWordQ",
Expand Down
Loading