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

Exprimental Mathics3 Module Guide section #19

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
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: 3 additions & 2 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install OS dependencies
run: |
brew install llvm@11 tesseract enchant mysql
brew install llvm tesseract enchant mysql
python -m pip install --upgrade pip
LLVM_CONFIG=/usr/local/Cellar/llvm@11/11.1.0/bin/llvm-config pip install llvmlite
# LLVM_CONFIG=/usr/local/Cellar/llvm@11/11.1.0/bin/llvm-config pip install llvmlite
pip install llvmlite
pip install pytest
# Can comment out when next Mathics core and Mathics-scanner are released
# python -m pip install -e git+https://github.com/Mathics3/mathics-scanner#egg=Mathics-Scanner[full]
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
*~
.python-version
/.python-version
/ChangeLog
/build
Expand Down
11 changes: 10 additions & 1 deletion pymathics/natlang/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,16 @@
WordSimilarity,
WordStem,
)
from pymathics.natlang.translation import LanguageIdentify

from pymathics.natlang.linguistic_data import (
DictionaryLookup,
DictionaryWordQ,
RandomWord,
WordData,
WordDefinition,
WordList,
)
from pymathics.natlang.linguistic_data.translation import LanguageIdentify
from pymathics.natlang.version import __version__

pymathics_version_data = {
Expand Down
3 changes: 3 additions & 0 deletions pymathics/natlang/linguistic_data/lang_trans.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
"""
Languages & Translations
"""
2 changes: 1 addition & 1 deletion test/consistency-and-style/test_summary_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from mathics.core.load_builtin import name_is_builtin_symbol
from mathics.core.builtin import Builtin
from mathics.doc.common_doc import skip_doc
from mathics.doc.gather import skip_doc

from pymathics.natlang import __file__ as module_initfile_path

Expand Down
Loading