1
This commit is contained in:
stephenmk 2023-02-03 15:51:52 -06:00
parent dffbec6337
commit 70611a51c4
No known key found for this signature in database
GPG Key ID: B6DA730DB06235F1

View File

@ -8,14 +8,14 @@ import (
) )
func frequencyTermsExportDb(inputPath, outputPath, language, title string, stride int, pretty bool) error { func frequencyTermsExportDb(inputPath, outputPath, language, title string, stride int, pretty bool) error {
return frequncyExportDb(inputPath, outputPath, language, title, stride, pretty, "term_meta") return frequencyExportDb(inputPath, outputPath, language, title, stride, pretty, "term_meta")
} }
func frequencyKanjiExportDb(inputPath, outputPath, language, title string, stride int, pretty bool) error { func frequencyKanjiExportDb(inputPath, outputPath, language, title string, stride int, pretty bool) error {
return frequncyExportDb(inputPath, outputPath, language, title, stride, pretty, "kanji_meta") return frequencyExportDb(inputPath, outputPath, language, title, stride, pretty, "kanji_meta")
} }
func frequncyExportDb(inputPath, outputPath, language, title string, stride int, pretty bool, key string) error { func frequencyExportDb(inputPath, outputPath, language, title string, stride int, pretty bool, key string) error {
reader, err := os.Open(inputPath) reader, err := os.Open(inputPath)
if err != nil { if err != nil {
return err return err