Fix error during pitch accent info generation for kanji data (#744)
This commit is contained in:
parent
cc9481bd38
commit
e9c540a0b9
@ -17,6 +17,11 @@
|
||||
|
||||
class DictionaryDataUtil {
|
||||
static getPitchAccentInfos(definition) {
|
||||
if (typeof definition.character === 'string') {
|
||||
// Kanji
|
||||
return [];
|
||||
}
|
||||
|
||||
const results = new Map();
|
||||
const allExpressions = new Set();
|
||||
const allReadings = new Set();
|
||||
|
Loading…
Reference in New Issue
Block a user