Update paths
This commit is contained in:
parent
840fb7ac4f
commit
d4ec828e24
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type daijirinExtractor struct {
|
type daijirinExtractor struct {
|
||||||
|
12
daijisen.go
12
daijisen.go
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type daijisenExtractor struct {
|
type daijisenExtractor struct {
|
||||||
@ -1756,13 +1756,13 @@ func (*daijisenExtractor) getFontWide() map[int]string {
|
|||||||
0xc458: "▧",
|
0xc458: "▧",
|
||||||
0xc459: "⿴",
|
0xc459: "⿴",
|
||||||
0xc45a: "भर", /* FIXME: 勃嚕唵/bhrūṃ in sanskrit */
|
0xc45a: "भर", /* FIXME: 勃嚕唵/bhrūṃ in sanskrit */
|
||||||
0xc45c: "ϒ", /* ♈︎ is also similar (for 雁点)*/
|
0xc45c: "ϒ", /* ♈︎ is also similar (for 雁点)*/
|
||||||
0xc461: "\n㈥",
|
0xc461: "\n㈥",
|
||||||
0xc462: "\n㊅",
|
0xc462: "\n㊅",
|
||||||
0xc463: "", /* FIXME: Camera icon. indicates an image. not needed. */
|
0xc463: "", /* FIXME: Camera icon. indicates an image. not needed. */
|
||||||
0xc464: "", /* FIXME: Camera icon. indicates an image. not needed. */
|
0xc464: "", /* FIXME: Camera icon. indicates an image. not needed. */
|
||||||
0xc465: "", /* FIXME: ♪. indicates audio. not needed */
|
0xc465: "", /* FIXME: ♪. indicates audio. not needed */
|
||||||
0xc466: "", /* FIXME: Paintbrush icon. indicates stroke diagram. not needed. */
|
0xc466: "", /* FIXME: Paintbrush icon. indicates stroke diagram. not needed. */
|
||||||
0xc468: "《色》", /* FIXME: Ink pot icon. indicates ex. color. */
|
0xc468: "《色》", /* FIXME: Ink pot icon. indicates ex. color. */
|
||||||
0xc46d: "あ・",
|
0xc46d: "あ・",
|
||||||
0xc46e: "き・",
|
0xc46e: "き・",
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type epwingExtractor interface {
|
type epwingExtractor interface {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type gakkenExtractor struct {
|
type gakkenExtractor struct {
|
||||||
|
10
go.mod
10
go.mod
@ -1,13 +1,13 @@
|
|||||||
module foosoft.net/projects/yomichan-import
|
module git.foosoft.net/alex/yomichan-import
|
||||||
|
|
||||||
go 1.18
|
go 1.18
|
||||||
|
|
||||||
require (
|
require (
|
||||||
foosoft.net/projects/jmdict v0.0.0-20220704034116-2e3194aa18d5
|
git.foosoft.net/alex/jmdict v0.0.0-20231231042009-83a5a2b9c013
|
||||||
foosoft.net/projects/zero-epwing-go v0.0.0-20220704035039-bc008453615d
|
git.foosoft.net/alex/zero-epwing-go v0.0.0-20231231043818-fc796a0ce333
|
||||||
github.com/andlabs/ui v0.0.0-20200610043537-70a69d6ae31e
|
github.com/andlabs/ui v0.0.0-20200610043537-70a69d6ae31e
|
||||||
github.com/mattn/go-sqlite3 v1.14.14
|
github.com/mattn/go-sqlite3 v1.14.19
|
||||||
golang.org/x/exp v0.0.0-20221207211629-99ab8fa1c11f
|
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b
|
||||||
)
|
)
|
||||||
|
|
||||||
require golang.org/x/text v0.3.7 // indirect
|
require golang.org/x/text v0.3.7 // indirect
|
||||||
|
16
go.sum
16
go.sum
@ -1,12 +1,12 @@
|
|||||||
foosoft.net/projects/jmdict v0.0.0-20220704034116-2e3194aa18d5 h1:OSA3YcWT9bUg4ut4bTuUtrW1wMg9wJen1VUBbLKqyTQ=
|
git.foosoft.net/alex/jmdict v0.0.0-20231231042009-83a5a2b9c013 h1:iN2s3MNG5wJIASuxLLgStpIhCclwbUJ6V1f/x9Fvt0k=
|
||||||
foosoft.net/projects/jmdict v0.0.0-20220704034116-2e3194aa18d5/go.mod h1:ZrjLCcE7ZrND28ZOSGYMd78tL+Dffiv2g+NjOMKgnew=
|
git.foosoft.net/alex/jmdict v0.0.0-20231231042009-83a5a2b9c013/go.mod h1:EYiZLEw4U0RlBzaqS5BKHVoYgjHz/YAQ08KBDlkkJDA=
|
||||||
foosoft.net/projects/zero-epwing-go v0.0.0-20220704035039-bc008453615d h1:GDyxif1+wM5gml2yTb9zy+9KE9NcTrtFxplpQCt/ksQ=
|
git.foosoft.net/alex/zero-epwing-go v0.0.0-20231231043818-fc796a0ce333 h1:TQSxEddV1b4w1PstBJLGAfYvcn4ou8HZ40UFEDDnQeg=
|
||||||
foosoft.net/projects/zero-epwing-go v0.0.0-20220704035039-bc008453615d/go.mod h1:ux61lX0Tn9Pd3xz/48Obt2I/A5LPWoNtV2x6rZpWuPM=
|
git.foosoft.net/alex/zero-epwing-go v0.0.0-20231231043818-fc796a0ce333/go.mod h1:JkZJ9lclnn2pvIW+cKeqh423WWdBl+krQO2e86iKftk=
|
||||||
github.com/andlabs/ui v0.0.0-20200610043537-70a69d6ae31e h1:wSQCJiig/QkoUnpvelSPbLiZNWvh2yMqQTQvIQqSUkU=
|
github.com/andlabs/ui v0.0.0-20200610043537-70a69d6ae31e h1:wSQCJiig/QkoUnpvelSPbLiZNWvh2yMqQTQvIQqSUkU=
|
||||||
github.com/andlabs/ui v0.0.0-20200610043537-70a69d6ae31e/go.mod h1:5G2EjwzgZUPnnReoKvPWVneT8APYbyKkihDVAHUi0II=
|
github.com/andlabs/ui v0.0.0-20200610043537-70a69d6ae31e/go.mod h1:5G2EjwzgZUPnnReoKvPWVneT8APYbyKkihDVAHUi0II=
|
||||||
github.com/mattn/go-sqlite3 v1.14.14 h1:qZgc/Rwetq+MtyE18WhzjokPD93dNqLGNT3QJuLvBGw=
|
github.com/mattn/go-sqlite3 v1.14.19 h1:fhGleo2h1p8tVChob4I9HpmVFIAkKGpiukdrgQbWfGI=
|
||||||
github.com/mattn/go-sqlite3 v1.14.14/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU=
|
github.com/mattn/go-sqlite3 v1.14.19/go.mod h1:2eHXhiwb8IkHr+BDWZGa96P6+rkvnG63S2DGjv9HUNg=
|
||||||
golang.org/x/exp v0.0.0-20221207211629-99ab8fa1c11f h1:90Jq/vvGVDsqj8QqCynjFw9MCerDguSMODLYII416Y8=
|
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b h1:kLiC65FbiHWFAOu+lxwNPujcsl8VYyTYYEZnsOO1WK4=
|
||||||
golang.org/x/exp v0.0.0-20221207211629-99ab8fa1c11f/go.mod h1:CxIveKay+FTh1D0yPZemJVgC/95VzuuOLq5Qi4xnoYc=
|
golang.org/x/exp v0.0.0-20231226003508-02704c960a9b/go.mod h1:iRJReGqOEeBhDZGkGbynYwcHlctCvnjTYIamk7uXpHI=
|
||||||
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
|
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
|
||||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"foosoft.net/projects/jmdict"
|
"git.foosoft.net/alex/jmdict"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"foosoft.net/projects/jmdict"
|
"git.foosoft.net/alex/jmdict"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"foosoft.net/projects/jmdict"
|
"git.foosoft.net/alex/jmdict"
|
||||||
)
|
)
|
||||||
|
|
||||||
func glossaryContainsLanguage(glossary []jmdict.JmdictGlossary, language string) bool {
|
func glossaryContainsLanguage(glossary []jmdict.JmdictGlossary, language string) bool {
|
||||||
|
@ -6,7 +6,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"foosoft.net/projects/jmdict"
|
"git.foosoft.net/alex/jmdict"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ package yomichan
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"foosoft.net/projects/jmdict"
|
"git.foosoft.net/alex/jmdict"
|
||||||
"golang.org/x/exp/slices"
|
"golang.org/x/exp/slices"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
|
||||||
"foosoft.net/projects/jmdict"
|
"git.foosoft.net/alex/jmdict"
|
||||||
)
|
)
|
||||||
|
|
||||||
func jmnedictPublicationDate(dictionary jmdict.Jmnedict) string {
|
func jmnedictPublicationDate(dictionary jmdict.Jmnedict) string {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"foosoft.net/projects/jmdict"
|
"git.foosoft.net/alex/jmdict"
|
||||||
)
|
)
|
||||||
|
|
||||||
func kanjidicExtractKanji(entry jmdict.KanjidicCharacter, language string) *dbKanji {
|
func kanjidicExtractKanji(entry jmdict.KanjidicCharacter, language string) *dbKanji {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type kotowazaExtractor struct {
|
type kotowazaExtractor struct {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type koujienExtractor struct {
|
type koujienExtractor struct {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type meikyouExtractor struct {
|
type meikyouExtractor struct {
|
||||||
|
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type shougakukan2Extractor struct {
|
type shougakukan2Extractor struct {
|
||||||
|
2
wadai.go
2
wadai.go
@ -4,7 +4,7 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
zig "foosoft.net/projects/zero-epwing-go"
|
zig "git.foosoft.net/alex/zero-epwing-go"
|
||||||
)
|
)
|
||||||
|
|
||||||
type wadaiExtractor struct {
|
type wadaiExtractor struct {
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/andlabs/ui"
|
"github.com/andlabs/ui"
|
||||||
_ "github.com/andlabs/ui/winmanifest"
|
_ "github.com/andlabs/ui/winmanifest"
|
||||||
|
|
||||||
yomichan "foosoft.net/projects/yomichan-import"
|
yomichan "git.foosoft.net/alex/yomichan-import"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
"path"
|
"path"
|
||||||
|
|
||||||
yomichan "foosoft.net/projects/yomichan-import"
|
yomichan "git.foosoft.net/alex/yomichan-import"
|
||||||
)
|
)
|
||||||
|
|
||||||
func usage() {
|
func usage() {
|
||||||
|
Loading…
Reference in New Issue
Block a user