Skip to content

Add basic builtin function WordTranslation#38

Merged
rocky merged 9 commits intomasterfrom
add-WordTranslation
Apr 3, 2026
Merged

Add basic builtin function WordTranslation#38
rocky merged 9 commits intomasterfrom
add-WordTranslation

Conversation

@rocky
Copy link
Copy Markdown
Member

@rocky rocky commented Jan 24, 2026

Also remove linguistics_data directory. We don't docstring this properly yet.

rocky added 2 commits January 23, 2026 22:25
Also remove linguistics_data directory. We don't docstring this properly yet.
@rocky rocky changed the title Add basic builtin funciton WordTranslation Add basic builtin function WordTranslation Jan 24, 2026
rocky added 2 commits January 24, 2026 06:07
And another attempt to get CI working
@rocky rocky force-pushed the add-WordTranslation branch from 6eb2264 to 0f209d4 Compare January 24, 2026 12:00
@rocky rocky force-pushed the add-WordTranslation branch from 0f209d4 to d3a52ff Compare January 24, 2026 12:03
return String(language.name)


if have_lng:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of this conditional load, we could use the attribute 'requires'. See for example https://github.com/Mathics3/mathics-core/blob/c5388232f77b053012f20b7fe4ab2e53932d3c16/mathics/builtin/image/misc.py#L240

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks - done.

@rocky rocky merged commit eb4c4a2 into master Apr 3, 2026
2 checks passed
@rocky rocky deleted the add-WordTranslation branch April 3, 2026 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants