Database Tables¶
models
¶
This module defines the kotobase
database schema with SQLAlchemy
JMDictEntry
¶
Bases: Base
Raw Database JMDictEntry Table
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
Row ID |
rank |
id
|
Priority rank |
kanji |
relationship
|
Relationship to JMDict Kanji Table |
kana |
relationship
|
Relationship to JMDict Kana Table |
senses |
relationship
|
Relationship to JMDict Senses Table |
JMDictGlossFTS
¶
JMDictKana
¶
JMDictKanji
¶
JMDictSense
¶
Bases: Base
Raw Database JMDict Senses Table.
Attributes:
Name | Type | Description |
---|---|---|
id |
int
|
Row ID |
entry_id |
int
|
Foreign Key to JMDict Entries Table ID |
order |
int
|
Integer representing precedence of sense. |
pos |
str
|
Part of Speech the entry sense belongs to. |
gloss |
str
|
Gloss of the entry. |
entry |
relationship
|
Relationship to JMDict Entries Table |
JMnedictEntry
¶
JlptGrammar
¶
JlptKanji
¶
JlptVocab
¶
Kanjidic
¶
Bases: Base
Raw Database KANJIDIC2 Table.
Attributes:
Name | Type | Description |
---|---|---|
literal |
str
|
Kanji Literal |
grade |
int
|
Japanese Grade in which Kanji is taught. |
stroke_count |
int
|
Number of strokes in handwriting. |
jlpt |
int
|
KANJIDIC2 JLPT classification. |
on_readings |
str
|
On'yomi of Kanji |
kun_readings |
str
|
Kun'yomi of Kanji |
meanings |
str
|
List of meanings. |
This module defines the kotobase
database schema with SQLAlchemy