fixup
This commit is contained in:
parent
6cb74cc8c1
commit
120dd6ba05
@ -33,7 +33,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
const databaseVersion = 2
|
||||
const databaseVersion = 1
|
||||
|
||||
type dbRecord []interface{}
|
||||
type dbRecordList []dbRecord
|
||||
|
@ -67,6 +67,10 @@ func frequncyExportDb(inputPath, outputPath, language, title string, stride int,
|
||||
frequencies = append(frequencies, dbFrequency{expression, count})
|
||||
}
|
||||
|
||||
if title == "" {
|
||||
title = "Frequency"
|
||||
}
|
||||
|
||||
recordData := map[string]dbRecordList{
|
||||
key: frequencies.crush(),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user