Skip to content

Commit

Permalink
Merge branch 'check_language_metadata' of https://github.com/catreedl…
Browse files Browse the repository at this point in the history
…e/Scribe-Data into check_language_metadata
  • Loading branch information
catreedle committed Oct 16, 2024
2 parents 399dd37 + e47bf55 commit e3f8d5f
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 5 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"pytest-cov",
"ruff",
"SPARQLWrapper",
"tqdm"
"tqdm",
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -91,7 +91,7 @@

html_theme = "sphinx_rtd_theme"

html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_path = [sphinx_rtd_theme]

# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ regex>=2023.3.23
rich>=10.0.0
ruff>=0.3.3
SPARQLWrapper>=2.0.0
sphinx-rtd-theme>=2.0.0
sphinx-rtd-theme>=3.0.0
tqdm==4.66.4
2 changes: 1 addition & 1 deletion src/scribe_data/cli/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,5 +154,5 @@ def get_data(
"\nThe Scribe-Data emoji functionality is powered by PyICU, which is currently not installed."
)
print(
"Please check the installation steps at https://gitlab.pyicu.org/main/pyicu for more information.\n"
"Please check the installation guide at https://github.com/scribe-org/Scribe-Data/blob/main/src/scribe_data/unicode/UNICODE_INSTALLTION.md for more information.\n"
)
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# tool: scribe-data
# All Yoruba (Q34311) prepositions.
# Enter this query at https://query.wikidata.org/.

SELECT
(REPLACE(STR(?lexeme), "http://www.wikidata.org/entity/", "") AS ?lexemeID)
?preposition

WHERE {
?lexeme dct:language wd:Q34311 ;
wikibase:lexicalCategory wd:Q4833830 ;
wikibase:lemma ?preposition .
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# scribe_data.unicode
# Scribe-Data Unicode Functionality Installation

The Scribe-Data Unicode process is powered by [cldr-json](https://github.com/unicode-org/cldr-json) data from the [Unicode Consortium](https://home.unicode.org/) and [PyICU](https://gitlab.pyicu.org/main/pyicu), a Python extension that wraps the Unicode Consortium's [International Components for Unicode (ICU)](https://github.com/unicode-org/icu) C++ project.

Please see the [installation guide for PyICU](https://gitlab.pyicu.org/main/pyicu#installing-pyicu) as the extension must be linked to ICU on your machine to work properly.

Note that some of the commands may be incorrect. On macOS you may need to do the following:

```bash
# Instead of:
export PATH="$(brew --prefix)/opt/icu4c/bin:$(brew --prefix)/opt/icu4c/sbin:$PATH"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:$(brew --prefix)/opt/icu4c/lib/pkgconfig"

# Run:
echo "/opt/homebrew/opt/icu4c/bin:/opt/homebrew/opt/icu4c/sbin:$PATH"
echo "PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/homebrew/opt/icu4c/lib/pkgconfig"
```

0 comments on commit e3f8d5f

Please sign in to comment.