-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs for everything except for dictionaries
- Loading branch information
Showing
11 changed files
with
760 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,26 @@ | ||
""" | ||
`tdk` is the top-level package that forms the collection of modules that provide | ||
access to various dictionaries from the Turkish Language Association (TDK) | ||
and tools about the Turkish language. | ||
Each submodule provides access to a different dictionary from the | ||
Turkish Language Association (TDK). | ||
If you do not care about niche dictionaries, you probably want the | ||
{py:mod}`tdk.gts` module, which provides access to the | ||
Güncel Türkçe Sözlük[^gts]. | ||
[^gts]: Updated Turkish Dictionary | ||
Each function comes with a synchronous and an asynchronous version. | ||
An async function `foo` has a synchronous counterpart `foo_sync`. | ||
Each function can optionally take an `http_session` parameter to use | ||
an existing [](<inv:#aiohttp.ClientSession>) for the HTTP requests. | ||
If not provided, a new session is created and managed by the function using | ||
[](<#session_maker>). | ||
""" | ||
|
||
__version__ = "0.0.0" | ||
"""At runtime, holds the human-readable version of the installed version.""" | ||
__version_tuple__ = (0, 0, 0) | ||
|
||
from tdk import dictionaries, etc | ||
"""At runtime, holds the version of the installed package as a tuple of ints.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
""" | ||
This subpackage contains additional tools and data to be used with the library. | ||
The submodules within this package are available as aliases in this subpackage, | ||
so you can import them directly from the `tdk.etc` package. | ||
""" | ||
|
||
from tdk.etc import alphabet, enums, tools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
""" | ||
This module containts constants about the Turkish alphabet. | ||
""" | ||
|
||
VOWELS = "aeıioöuü" | ||
"""Vowels of the Turkish alphabet in lowercase.""" | ||
LONG_VOWELS = "âîû" | ||
"""Vowels of the Turkish alphabet with circumflexes in lowercase.""" | ||
CONSONANTS = "bcçdfgğhjklmnprsştvyz" | ||
"""Consonants of the Turkish alphabet in lowercase.""" | ||
ALPHABET = "abcçdefgğhıijklmnoöprsştuüvyz" | ||
"""The Turkish alphabet in lowercase.""" |
Oops, something went wrong.