Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix: remove GPL converter and bundle third-party license sources
wizardchene18cf138a3e9
diff --git a/.github/workflows/app.yml b/.github/workflows/app.ymlindex c525c7bab..843ca46a2 100644--- a/.github/workflows/app.yml+++ b/.github/workflows/app.yml@@ -20,6 +20,13 @@ on:- "skills/preloaded/**"- "testdata/**"- "docker/Dockerfile.app"+ - "LICENSE"+ - "THIRD_PARTY_NOTICES.md"+ - "licenses/**"+ - "internal/textconv/data/**"+ - "scripts/*licenses.sh"+ - "scripts/check-license-bundle.sh"+ - "cmd/desktop/build/windows/installer/project.nsi"- ".github/workflows/app.yml"pull_request:paths:@@ -36,6 +43,13 @@ on:- "skills/preloaded/**"- "testdata/**"- "docker/Dockerfile.app"+ - "LICENSE"+ - "THIRD_PARTY_NOTICES.md"+ - "licenses/**"+ - "internal/textconv/data/**"+ - "scripts/*licenses.sh"+ - "scripts/check-license-bundle.sh"+ - "cmd/desktop/build/windows/installer/project.nsi"- ".github/workflows/app.yml"workflow_dispatch:@@ -72,6 +86,9 @@ jobs:- name: Download modulesrun: go mod download+ - name: Verify third-party notices and source bundle+ run: bash ./scripts/check-license-bundle.sh+- name: Check formattingshell: bashrun: |diff --git a/.github/workflows/release-lite.yml b/.github/workflows/release-lite.ymlindex 6a48c1313..1e68a51e4 100644--- a/.github/workflows/release-lite.yml+++ b/.github/workflows/release-lite.yml@@ -110,6 +110,7 @@ jobs:ARCHIVE="WeKnora-lite_${{ steps.ver.outputs.version }}_${{ matrix.goos }}_${{ matrix.goarch }}"mkdir -p "${ARCHIVE}/web"cp WeKnora-lite "${ARCHIVE}/"+ bash ./scripts/copy-licenses.sh "${ARCHIVE}"cp -r web/* "${ARCHIVE}/web/"cp .env.lite.example "${ARCHIVE}/"cp docs/LITE.md "${ARCHIVE}/README.md"@@ -233,6 +234,7 @@ jobs:NSIS_FLAG="-nsis"fi+ bash ./scripts/check-license-bundle.shcd cmd/desktopwails build -clean \-tags "${BUILD_TAGS}" \@@ -251,6 +253,7 @@ jobs:mkdir -p "${RESOURCES}/config"mkdir -p "${RESOURCES}/migrations/sqlite"+ bash ./scripts/copy-licenses.sh "${RESOURCES}"if [ -f .env.lite.example ]; thencp .env.lite.example "${RESOURCES}/.env"@@ -283,6 +286,7 @@ jobs:ARCHIVE="WeKnora-Lite-App_${{ steps.ver.outputs.version }}_${{ matrix.arch_label }}"mkdir -p "${ARCHIVE}"cp "cmd/desktop/build/bin/WeKnora Lite" "${ARCHIVE}/"+ bash ./scripts/copy-licenses.sh "${ARCHIVE}"if [ -f .env.lite.example ]; thencp .env.lite.example "${ARCHIVE}/"fi@@ -297,21 +301,18 @@ jobs:tar czf "${ARCHIVE}.tar.gz" "${ARCHIVE}"shasum -a 256 "${ARCHIVE}.tar.gz" > "${ARCHIVE}.tar.gz.sha256"- # ── Windows: package NSIS installer or plain exe ──+ # ── Windows: NSIS installer includes licenses and corresponding source ──- name: Package Windows appif: runner.os == 'Windows'shell: bashrun: |ARCHIVE="WeKnora-Lite-App_${{ steps.ver.outputs.version }}_${{ matrix.arch_label }}"- # Wails -nsis generates an installer named {app}-amd64-installer.exeINSTALLER="cmd/desktop/build/bin/WeKnora Lite-amd64-installer.exe"- if [ -f "$INSTALLER" ]; then- cp "$INSTALLER" "${ARCHIVE}_setup.exe"- sha256sum "${ARCHIVE}_setup.exe" > "${ARCHIVE}_setup.exe.sha256"- else- cp "cmd/desktop/build/bin/WeKnora Lite.exe" "${ARCHIVE}.exe"- sha256sum "${ARCHIVE}.exe" > "${ARCHIVE}.exe.sha256"- fi+ # Do not publish a bare executable if NSIS was unavailable: the+ # installer also carries the notices/source and supports auto-update.+ test -f "$INSTALLER"+ cp "$INSTALLER" "${ARCHIVE}_setup.exe"+ sha256sum "${ARCHIVE}_setup.exe" > "${ARCHIVE}_setup.exe.sha256"- uses: actions/upload-artifact@v7with:diff --git a/LICENSE b/LICENSEindex 50db81eb3..14d7c9f96 100644--- a/LICENSE+++ b/LICENSE@@ -1,5 +1,8 @@Tencent is pleased to support the open source community by making this project available.+Additional component notices, licenses and corresponding source are supplied in+THIRD_PARTY_NOTICES.md and the licenses/ directory. These supplement the notices below.+Copyright (C) 2025 Tencent. All rights reserved.This project is licensed under the MIT License except for the third-party components listed below, which is licensed under different terms. Tencent does not impose any additional limitations beyond what is outlined in the respective licenses of these third-party components. Users must comply with all terms and conditions of original licenses of these third-party components and must ensure that the usage of the third party components adheres to all relevant laws and regulations.@@ -3256,4 +3259,4 @@ You may obtain the source code and detailed information about this component at-Terms of the unknown:\ No newline at end of file+Terms of the unknown:diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.mdnew file mode 100644index 000000000..50d57a673--- /dev/null+++ b/THIRD_PARTY_NOTICES.md@@ -0,0 +1,74 @@+# Third-party notices and corresponding source++This file supplements the third-party notices in `LICENSE`. The MIT license+for WeKnora's own code does not replace the licenses of third-party components.+Keep this file, `LICENSE`, and the `licenses/` directory with redistributed+backend and desktop packages. Container distributions include them in `/app`;+macOS applications include them in `Contents/Resources`.+Windows installers place them next to the installed executable.++## Go MySQL Driver++- Component: `github.com/go-sql-driver/mysql`, version `v1.10.0`.+- Used in backend and desktop binaries, including the Doris MySQL protocol driver.+- License: Mozilla Public License 2.0, reproduced in+ [`licenses/go-sql-driver-mysql-MPL-2.0.txt`](licenses/go-sql-driver-mysql-MPL-2.0.txt).+- Copyright: The Go-MySQL-Driver Authors; the original per-file notices and+ `AUTHORS` are preserved in the accompanying source archive.+- Modifications by WeKnora: none. Dialer configuration is in separate WeKnora files.+- Corresponding source, available under MPL-2.0:+ [`licenses/sources/mysql-v1.10.0.zip`](licenses/sources/mysql-v1.10.0.zip).+ The same version is available from the+ [Go module proxy](https://proxy.golang.org/github.com/go-sql-driver/mysql/@v/v1.10.0.zip)+ and [upstream repository](https://github.com/go-sql-driver/mysql/tree/v1.10.0).++## go-m1cpu++- Component: `github.com/shoenig/go-m1cpu`, version `v0.1.6`.+- Used by the macOS backend/desktop dependency chain through gopsutil. It is+ absent from Linux backend build dependencies. Its source is included in all+ notice bundles for consistent packaging; this does not imply Linux linkage.+- License: Mozilla Public License 2.0, reproduced in+ [`licenses/go-m1cpu-MPL-2.0.txt`](licenses/go-m1cpu-MPL-2.0.txt).+- Attribution: the go-m1cpu project and its contributors. The complete original+ source and notices are preserved in the accompanying archive.+- Modifications by WeKnora: none.+- Corresponding source, available under MPL-2.0:+ [`licenses/sources/go-m1cpu-v0.1.6.zip`](licenses/sources/go-m1cpu-v0.1.6.zip).+ The same version is available from the+ [Go module proxy](https://proxy.golang.org/github.com/shoenig/go-m1cpu/@v/v0.1.6.zip)+ and [upstream repository](https://github.com/shoenig/go-m1cpu/tree/v0.1.6).++## OpenCC dictionary data++- Files: `internal/textconv/data/TSPhrases.txt` and `TSCharacters.txt`, copied+ unchanged from `github.com/longbridgeapp/opencc` version `v0.3.13`.+- Attribution: the OpenCC and longbridge/opencc contributors.+- License: Apache-2.0, reproduced in+ [`licenses/OpenCC-Apache-2.0.txt`](licenses/OpenCC-Apache-2.0.txt).+- Source: [versioned dictionary directory](https://github.com/longbridgeapp/opencc/tree/v0.3.13/dictionary)+ and the two text files distributed with WeKnora's source.+- Only dictionary data is retained. WeKnora uses its own standard-library lookup+ implementation; the upstream Go converter, `liuzl/da`, and GPL-licensed+ `cedar-go` code are not included.++## Build-only component++The Windows installer template in `cmd/desktop/build/windows/installer/project.nsi`+is based on Wails v2.12.0's MIT-licensed default template, with local changes to+install this notice/source bundle. Its license and copyright are reproduced in+[`licenses/Wails-MIT.txt`](licenses/Wails-MIT.txt).++`cbindgen` 0.29.4 (MPL-2.0) generates the AnyDoc C ABI header during the Rust+build. Its code/tool executable is not copied into the runtime image or release+packages by the current build recipes. Generating the header does not copy the+tool's implementation into the product. If distributing build environments or+the tool itself, retain its license and provide its corresponding source too.++## Maintaining this bundle++When upgrading either MPL module, update the version, license, and matching+source archive together. Archives are unmodified Go module proxy ZIPs, including+their original copyright notices. Verify them with `go mod download -json` and+the module's `go.sum` entry before updating. `scripts/check-license-bundle.sh`+checks the pins and packaging inputs without downloading dependencies.diff --git a/cmd/desktop/build/windows/installer/project.nsi b/cmd/desktop/build/windows/installer/project.nsinew file mode 100644index 000000000..9bf5ebaf1--- /dev/null+++ b/cmd/desktop/build/windows/installer/project.nsi@@ -0,0 +1,123 @@+; Based on the Wails v2.12.0 default installer (MIT).+; See licenses/Wails-MIT.txt. Local change: install the notice/source bundle.+Unicode true++####+## Please note: Template replacements don't work in this file. They are provided with default defines like+## mentioned underneath.+## If the keyword is not defined, "wails_tools.nsh" will populate them with the values from ProjectInfo.+## If they are defined here, "wails_tools.nsh" will not touch them. This allows to use this project.nsi manually+## from outside of Wails for debugging and development of the installer.+##+## For development first make a wails nsis build to populate the "wails_tools.nsh":+## > wails build --target windows/amd64 --nsis+## Then you can call makensis on this file with specifying the path to your binary:+## For a AMD64 only installer:+## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app.exe+## For a ARM64 only installer:+## > makensis -DARG_WAILS_ARM64_BINARY=..\..\bin\app.exe+## For a installer with both architectures:+## > makensis -DARG_WAILS_AMD64_BINARY=..\..\bin\app-amd64.exe -DARG_WAILS_ARM64_BINARY=..\..\bin\app-arm64.exe+####+## The following information is taken from the ProjectInfo file, but they can be overwritten here.+####+## !define INFO_PROJECTNAME "MyProject" # Default "{{.Name}}"+## !define INFO_COMPANYNAME "MyCompany" # Default "{{.Info.CompanyName}}"+## !define INFO_PRODUCTNAME "MyProduct" # Default "{{.Info.ProductName}}"+## !define INFO_PRODUCTVERSION "1.0.0" # Default "{{.Info.ProductVersion}}"+## !define INFO_COPYRIGHT "Copyright" # Default "{{.Info.Copyright}}"+###+## !define PRODUCT_EXECUTABLE "Application.exe" # Default "${INFO_PROJECTNAME}.exe"+## !define UNINST_KEY_NAME "UninstKeyInRegistry" # Default "${INFO_COMPANYNAME}${INFO_PRODUCTNAME}"+####+## !define REQUEST_EXECUTION_LEVEL "admin" # Default "admin" see also https://nsis.sourceforge.io/Docs/Chapter4.html+####+## Include the wails tools+####+!include "wails_tools.nsh"++# The version information for this two must consist of 4 parts+VIProductVersion "${INFO_PRODUCTVERSION}.0"+VIFileVersion "${INFO_PRODUCTVERSION}.0"++VIAddVersionKey "CompanyName" "${INFO_COMPANYNAME}"+VIAddVersionKey "FileDescription" "${INFO_PRODUCTNAME} Installer"+VIAddVersionKey "ProductVersion" "${INFO_PRODUCTVERSION}"+VIAddVersionKey "FileVersion" "${INFO_PRODUCTVERSION}"+VIAddVersionKey "LegalCopyright" "${INFO_COPYRIGHT}"+VIAddVersionKey "ProductName" "${INFO_PRODUCTNAME}"++# Enable HiDPI support. https://nsis.sourceforge.io/Reference/ManifestDPIAware+ManifestDPIAware true++!include "MUI.nsh"++!define MUI_ICON "..\icon.ico"+!define MUI_UNICON "..\icon.ico"+# !define MUI_WELCOMEFINISHPAGE_BITMAP "resources\leftimage.bmp" #Include this to add a bitmap on the left side of the Welcome Page. Must be a size of 164x314+!define MUI_FINISHPAGE_NOAUTOCLOSE # Wait on the INSTFILES page so the user can take a look into the details of the installation steps+!define MUI_ABORTWARNING # This will warn the user if they exit from the installer.++!insertmacro MUI_PAGE_WELCOME # Welcome to the installer page.+# !insertmacro MUI_PAGE_LICENSE "resources\eula.txt" # Adds a EULA page to the installer+!insertmacro MUI_PAGE_DIRECTORY # In which folder install page.+!insertmacro MUI_PAGE_INSTFILES # Installing page.+!insertmacro MUI_PAGE_FINISH # Finished installation page.++!insertmacro MUI_UNPAGE_INSTFILES # Uinstalling page++!insertmacro MUI_LANGUAGE "English" # Set the Language of the installer++## The following two statements can be used to sign the installer and the uninstaller. The path to the binaries are provided in %1+#!uninstfinalize 'signtool --file "%1"'+#!finalize 'signtool --file "%1"'++Name "${INFO_PRODUCTNAME}"+OutFile "..\..\bin\${INFO_PROJECTNAME}-${ARCH}-installer.exe" # Name of the installer's file.+InstallDir "$PROGRAMFILES64\${INFO_COMPANYNAME}\${INFO_PRODUCTNAME}" # Default installing folder ($PROGRAMFILES is Program Files folder).+ShowInstDetails show # This will always show the installation details.++Function .onInit+ !insertmacro wails.checkArchitecture+FunctionEnd++Section+ !insertmacro wails.setShellContext++ !insertmacro wails.webview2runtime++ SetOutPath $INSTDIR++ !insertmacro wails.files++ ; Paths are relative to cmd/desktop/build/windows/installer.+ File "..\..\..\..\..\LICENSE"+ File "..\..\..\..\..\THIRD_PARTY_NOTICES.md"+ SetOutPath "$INSTDIR\licenses"+ File /r "..\..\..\..\..\licenses\*"+ SetOutPath $INSTDIR++ CreateShortcut "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}"+ CreateShortCut "$DESKTOP\${INFO_PRODUCTNAME}.lnk" "$INSTDIR\${PRODUCT_EXECUTABLE}"++ !insertmacro wails.associateFiles+ !insertmacro wails.associateCustomProtocols++ !insertmacro wails.writeUninstaller+SectionEnd++Section "uninstall"+ !insertmacro wails.setShellContext++ RMDir /r "$AppData\${PRODUCT_EXECUTABLE}" # Remove the WebView2 DataPath++ RMDir /r $INSTDIR++ Delete "$SMPROGRAMS\${INFO_PRODUCTNAME}.lnk"+ Delete "$DESKTOP\${INFO_PRODUCTNAME}.lnk"++ !insertmacro wails.unassociateFiles+ !insertmacro wails.unassociateCustomProtocols++ !insertmacro wails.deleteUninstaller+SectionEnddiff --git a/docker/Dockerfile.app b/docker/Dockerfile.appindex 4c3fb6257..22341e5d4 100644--- a/docker/Dockerfile.app+++ b/docker/Dockerfile.app@@ -32,6 +32,7 @@ RUN --mount=type=cache,target=/go/pkg/mod go mod downloadCOPY cmd/download cmd/downloadRUN go run cmd/download/duckdb/duckdb.goCOPY . .+RUN bash ./scripts/check-license-bundle.sh# Get version and commit info for build injectionARG VERSION_ARG@@ -120,6 +121,8 @@ COPY --from=builder /app/migrations ./migrationsCOPY --from=builder /app/dataset/samples ./dataset/samplesCOPY --from=builder /root/.duckdb /home/appuser/.duckdbCOPY --from=builder /app/WeKnora .+COPY LICENSE THIRD_PARTY_NOTICES.md ./+COPY licenses ./licenses# Copy and make entrypoint script executableCOPY --from=builder /app/scripts/docker-entrypoint.sh ./scripts/docker-entrypoint.shdiff --git a/go.mod b/go.modindex 0f69db9db..c70e42eb9 100644--- a/go.mod+++ b/go.mod@@ -34,7 +34,6 @@ require (github.com/joho/godotenv v1.5.1github.com/ks3sdklib/aws-sdk-go v1.11.0github.com/larksuite/oapi-sdk-go/v3 v3.9.7- github.com/longbridgeapp/opencc v0.3.13github.com/mark3labs/mcp-go v0.52.0github.com/matiasinsaurralde/go-e2b v0.1.1-0.20260808041540-fdc08ceaa1c1github.com/milvus-io/milvus/client/v2 v2.6.4@@ -139,7 +138,7 @@ require (github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f // indirectgithub.com/cockroachdb/redact v1.1.3 // indirectgithub.com/containerd/cgroups/v3 v3.0.3 // indirect- github.com/containerd/errdefs v1.0.0 // indirect+ github.com/containerd/errdefs v1.0.0github.com/containerd/errdefs/pkg v0.3.0 // indirectgithub.com/coreos/go-semver v0.3.0 // indirectgithub.com/coreos/go-systemd/v22 v22.3.2 // indirect@@ -236,8 +235,6 @@ require (github.com/leaanthony/u v1.1.1 // indirectgithub.com/leodido/go-urn v1.4.0 // indirectgithub.com/lib/pq v1.10.9 // indirect- github.com/liuzl/cedar-go v0.0.0-20170805034717-80a9c64b256d // indirect- github.com/liuzl/da v0.0.0-20180704015230-14771aad5b1d // indirectgithub.com/lufia/plan9stats v0.0.0-20260330125221-c963978e514e // indirectgithub.com/mailru/easyjson v0.9.0 // indirectgithub.com/mattn/go-colorable v0.1.13 // indirect@@ -250,8 +247,8 @@ require (github.com/mitchellh/mapstructure v1.5.0 // indirectgithub.com/mmcdole/goxpp v1.1.1-0.20240225020742-a0c311522b23 // indirectgithub.com/moby/docker-image-spec v1.3.1 // indirect- github.com/moby/moby/api v1.55.0 // indirect- github.com/moby/moby/client v0.5.1 // indirect+ github.com/moby/moby/api v1.55.0+ github.com/moby/moby/client v0.5.1github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirectgithub.com/modern-go/reflect2 v1.0.2 // indirectgithub.com/mozillazg/go-httpheader v0.2.1 // indirectdiff --git a/go.sum b/go.sumindex 0eeb7bc83..e32a11df7 100644--- a/go.sum+++ b/go.sum@@ -1370,8 +1370,6 @@ github.com/Shopify/sarama v1.30.1/go.mod h1:hGgx05L/DiW8XYBXeJdKIN6V2QUy2H6JqME5github.com/Shopify/toxiproxy v2.1.4+incompatible/go.mod h1:OXgGpZ6Cli1/URJOF1DMxUHB2q5Ap20/P/eIdh4G0pI=github.com/Shopify/toxiproxy/v2 v2.1.6-0.20210914104332-15ea381dcdae/go.mod h1:/cvHQkZ1fst0EmZnA5dFtiQdWCNCFYzb+uE2vqVgvx0=github.com/VividCortex/gohistogram v1.0.0/go.mod h1:Pf5mBqqDxYaXu3hDrrU+w6nw50o/4+TcAqDqk/vUH7g=-github.com/adamzy/cedar-go v0.0.0-20170805034717-80a9c64b256d h1:ir/IFJU5xbja5UaBEQLjcvn7aAU01nqU/NUyOBEU+ew=-github.com/adamzy/cedar-go v0.0.0-20170805034717-80a9c64b256d/go.mod h1:PRWNwWq0yifz6XDPZu48aSld8BWwBfr2JKB2bGWiEd4=github.com/afex/hystrix-go v0.0.0-20180502004556-fa1af6a1f4f5/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=github.com/ajg/form v1.5.1/go.mod h1:uL1WgH+h2mgNtvBq0339dVnzXdBETtL2LeUXaIv25UY=github.com/ajstarks/deck v0.0.0-20200831202436-30c9fc6549a9/go.mod h1:JynElWSGnm/4RlzPXRlREEwqTHAN3T56Bv2ITsFT3gY=@@ -2221,12 +2219,6 @@ github.com/leodido/go-urn v1.4.0 h1:WT9HwE9SGECu3lg4d/dIA+jxlljEa1/ffXKmRjqdmIQ=github.com/leodido/go-urn v1.4.0/go.mod h1:bvxc+MVxLKB4z00jd1z+Dvzr47oO32F/QSNjSBOlFxI=github.com/lib/pq v1.10.9 h1:YXG7RB+JIjhP29X+OtkiDnYaXQwpS4JEWq7dtCCRUEw=github.com/lib/pq v1.10.9/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o=-github.com/liuzl/cedar-go v0.0.0-20170805034717-80a9c64b256d h1:qSmEGTgjkESUX5kPMSGJ4pcBUtYVDdkNzMrjQyvRvp0=-github.com/liuzl/cedar-go v0.0.0-20170805034717-80a9c64b256d/go.mod h1:x7SghIWwLVcJObXbjK7S2ENsT1cAcdJcPl7dRaSFog0=-github.com/liuzl/da v0.0.0-20180704015230-14771aad5b1d h1:hTRDIpJ1FjS9ULJuEzu69n3qTgc18eI+ztw/pJv47hs=-github.com/liuzl/da v0.0.0-20180704015230-14771aad5b1d/go.mod h1:7xD3p0XnHvJFQ3t/stEJd877CSIMkH/fACVWen5pYnc=-github.com/longbridgeapp/opencc v0.3.13 h1:H8r4oXL4s+oR3gbBb4tW4D26jT+Mc5+znzwAnXsx4ao=-github.com/longbridgeapp/opencc v0.3.13/go.mod h1:jRuKtq8eLA+cZUu75XgMvkB/hFSXJbZDmij0v29lNaY=github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=github.com/lufia/plan9stats v0.0.0-20260330125221-c963978e514e h1:Q6MvJtQK/iRcRtzAscm/zF23XxJlbECiGPyRicsX+Ak=github.com/lufia/plan9stats v0.0.0-20260330125221-c963978e514e/go.mod h1:autxFIvghDt3jPTLoqZ9OZ7s9qTGNAWmYCjVFWPX/zg=@@ -2531,7 +2523,6 @@ github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yggithub.com/sebdah/goldie/v2 v2.8.0 h1:dZb9wR8q5++oplmEiJT+U/5KyotVD+HNGCAc5gNr8rc=github.com/sebdah/goldie/v2 v2.8.0/go.mod h1:oZ9fp0+se1eapSRjfYbsV/0Hqhbuu3bJVvKI/NNtssI=github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=-github.com/sergi/go-diff v1.2.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=github.com/sergi/go-diff v1.4.0 h1:n/SP9D5ad1fORl+llWyN+D6qoUETXNZARKjyY2/KVCw=github.com/sergi/go-diff v1.4.0/go.mod h1:A0bzQcvG0E7Rwjx0REVgAGH58e96+X0MeOfepqsbeW4=github.com/shirou/gopsutil/v3 v3.23.12 h1:z90NtUkp3bMtmICZKpC4+WaknU1eXtp5vtbQ11DgpE4=@@ -3978,6 +3969,8 @@ gorm.io/driver/sqlite v1.6.0/go.mod h1:AO9V1qIQddBESngQUKWL9yoH93HIeA1X6V633rBwygorm.io/gorm v1.31.1 h1:7CA8FTFz/gRfgqgpeKIBcervUn3xSyPUmr6B2WXJ7kg=gorm.io/gorm v1.31.1/go.mod h1:XyQVbO2k6YkOis7C2437jSit3SsDK72s7n7rsSHd+Gs=gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU=+gotest.tools/v3 v3.5.2 h1:7koQfIKdy+I8UTetycgUqXWSDwpgv193Ka+qRsmBY8Q=+gotest.tools/v3 v3.5.2/go.mod h1:LtdLGcnqToBH83WByAAi/wiwSFCArdFIUV/xxN4pcjA=honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=@@ -4050,6 +4043,8 @@ modernc.org/token v1.0.1/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=modernc.org/token v1.1.0/go.mod h1:UGzOrNV1mAFSEB63lOFHIpNRUVMvYTc6yu1SMY/XTDM=modernc.org/z v1.5.1/go.mod h1:eWFB510QWW5Th9YGZT81s+LwvaAs3Q2yr4sP0rmLkv8=modernc.org/z v1.7.0/go.mod h1:hVdgNMh8ggTuRG1rGU8x+xGRFfiQUIAw0ZqlPy8+HyQ=+pgregory.net/rapid v1.2.0 h1:keKAYRcjm+e1F0oAuU5F5+YPAWcyxNNRK2wud503Gnk=+pgregory.net/rapid v1.2.0/go.mod h1:PY5XlDGj0+V1FCq0o192FdRhpKHGTRIWBgqjDBTrq04=rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=rsc.io/pdf v0.1.1/go.mod h1:n8OzWcQ6Sp37PL01nO98y4iUCRdTGarVfzxY20ICaU4=rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=diff --git a/internal/textconv/data/README.md b/internal/textconv/data/README.mdnew file mode 100644index 000000000..97aec13cc--- /dev/null+++ b/internal/textconv/data/README.md@@ -0,0 +1,23 @@+# Traditional-to-simplified dictionary data++`TSPhrases.txt` and `TSCharacters.txt` are unmodified copies from+[longbridgeapp/opencc v0.3.13](https://github.com/longbridgeapp/opencc/tree/v0.3.13/dictionary),+which distributes OpenCC dictionary data under Apache-2.0. Attribution belongs+to the OpenCC and longbridge/opencc contributors. The full license is retained+in [`licenses/OpenCC-Apache-2.0.txt`](../../../licenses/OpenCC-Apache-2.0.txt).++Only these two text dictionaries are retained. The Go converter, `liuzl/da`,+and the GPL-licensed `cedar-go` implementation are not vendored or imported.+The lookup implementation in the parent directory uses Go standard-library+maps and preserves the previous t2s dictionary order and first-choice values.++SHA-256:++| File | Digest |+| --- | --- |+| TSCharacters.txt | 6b5a0a799bea2bb22c001f635eaa3fc2904310f0c08addbff275477a80ecf09a |+| TSPhrases.txt | b2ef895dd4953b4bb77fc8ef8d26a2a9ca6d43a760ed9a1d767672cfafa6324f |++Dictionary updates can change FAQ normalization and persisted content hashes.+Review them separately from converter changes; the historical corpus test pins+the behavior of the original v0.3.13 converter on 13,177 inputs.diff --git a/internal/textconv/data/TSCharacters.txt b/internal/textconv/data/TSCharacters.txtnew file mode 100644index 000000000..a23651457--- /dev/null+++ b/internal/textconv/data/TSCharacters.txt@@ -0,0 +1,4113 @@+㑮 𫝈+㑯 㑔+㑳 㑇+㑶 㐹+㒓 𠉂+㓄 𪠟+㓨 刾+㔋 𪟎+㖮 𪠵+㗲 𠵾+㗿 𪡛+㘉 𠰱+㘓 𪢌+㘔 𫬐+㘚 㘎+㛝 𫝦+㜄 㚯+㜏 㛣+㜐 𫝧+㜗 𡞋+㜢 𡞱+㜷 𡝠+㞞 𪨊+㟺 𪩇+㠏 㟆+㠣 𫵷+㢗 𪪑+㢝 𢋈+㥮 㤘+㦎 𢛯+㦛 𢗓+㦞 𪫷+㨻 𪮃+㩋 𪮋+㩜 㨫+㩳 㧐+㩵 擜+㪎 𪯋+㯤 𣘐+㰙 𣗙+㵗 𣳆+㵾 𪷍+㶆 𫞛+㷍 𤆢+㷿 𤈷+㸇 𤎺+㹽 𫞣+㺏 𤠋+㺜 𪺻+㻶 𪼋+㿖 𪽮+㿗 𤻊+㿧 𤽯+䀉 𥁢+䀹 𥅴+䁪 𥇢+䁻 䀥+䂎 𥎝+䃮 鿎+䅐 𫀨+䅳 𫀬+䆉 𫁂+䉑 𫁲+䉙 𥬀+䉬 𫂈+䉲 𥮜+䉶 𫁷+䊭 𥺅+䊷 䌶+䊺 𫄚+䋃 𫄜+䋔 𫄞+䋙 䌺+䋚 䌻+䋦 𫄩+䋹 䌿+䋻 䌾+䋼 𫄮+䋿 𦈓+䌈 𦈖+䌋 𦈘+䌖 𦈜+䌝 𦈟+䌟 𦈞+䌥 𦈠+䌰 𦈙+䍤 𫅅+䍦 䍠+䍽 𦍠+䎙 𫅭+䎱 䎬+䓣 𬜯+䕤 𫟕+䕳 𦰴+䖅 𫟑+䗅 𫊪+䗿 𧉞+䙔 𫋲+䙡 䙌+䙱 𧜭+䚩 𫌯+䛄 𫍠+䛳 𫍫+䜀 䜧+䜖 𫟢+䝭 𫎧+䝻 𧹕+䝼 䞍+䞈 𧹑+䞋 𫎪+䞓 𫎭+䟃 𫎺+䟆 𫎳+䟐 𫎱+䠆 𫏃+䠱 𨅛+䡐 𫟤+䡩 𫟥+䡵 𫟦+䢨 𨑹+䤤 𫟺+䥄 𫠀+䥇 䦂+䥑 鿏+䥕 𬭯+䥗 𫔋+䥩 𨱖+䥯 𫔆+䥱 䥾+䦘 𨸄+䦛 䦶+䦟 䦷+䦯 𫔵+䦳 𨷿+䧢 𨸟+䪊 𫖅+䪏 𩏼+䪗 𩐀+䪘 𩏿+䪴 𫖫+䪾 𫖬+䫀 𫖱+䫂 𫖰+䫟 𫖲+䫴 𩖗+䫶 𫖺+䫻 𫗇+䫾 𫠈+䬓 𫗊+䬘 𩙮+䬝 𩙯+䬞 𩙧+䬧 𫗟+䭀 𩠇+䭃 𩠈+䭑 𫗱+䭔 𫗰+䭿 𩧭+䮄 𫠊+䮝 𩧰+䮞 𩨁+䮠 𩧿+䮫 𩨇+䮰 𫘮+䮳 𩨏+䮾 𩧪+䯀 䯅+䯤 𩩈+䰾 鲃+䱀 𫚐+䱁 𫚏+䱙 𩾈+䱧 𫚠+䱬 𩾊+䱰 𩾋+䱷 䲣+䱸 𫠑+䱽 䲝+䲁 鳚+䲅 𫚜+䲖 𩾂+䲘 鳤+䲰 𪉂+䳜 𫛬+䳢 𫛰+䳤 𫛮+䳧 𫛺+䳫 𫛼+䴉 鹮+䴋 𫜅+䴬 𪎈+䴱 𫜒+䴴 𪎋+䴽 𫜔+䵳 𪑅+䵴 𫜙+䶕 𫜨+䶲 𫜳+丟 丢+並 并+乾 干 乾+亂 乱+亙 亘+亞 亚+佇 伫+佈 布+佔 占+併 并+來 来+侖 仑+侶 侣+侷 局+俁 俣+係 系+俓 𠇹+俔 伣+俠 侠+俥 伡+俬 私+倀 伥+倆 俩+倈 俫+倉 仓+個 个+們 们+倖 幸+倫 伦+倲 㑈+偉 伟+偑 㐽+側 侧+偵 侦+偽 伪+傌 㐷+傑 杰+傖 伧+傘 伞+備 备+傢 家+傭 佣+傯 偬+傳 传+傴 伛+債 债+傷 伤+傾 倾+僂 偻+僅 仅+僉 佥+僑 侨+僕 仆+僞 伪+僤 𫢸+僥 侥+僨 偾+僱 雇+價 价+儀 仪+儁 俊+儂 侬+億 亿+儈 侩+儉 俭+儎 傤+儐 傧+儔 俦+儕 侪+儘 尽 侭+償 偿+儣 𠆲+優 优+儭 𠋆+儲 储+儷 俪+儸 㑩+儺 傩+儻 傥+儼 俨+兇 凶+兌 兑+兒 儿+兗 兖+內 内+兩 两+冊 册+冑 胄+冪 幂+凈 净+凍 冻+凙 𪞝+凜 凛+凱 凯+別 别+刪 删+剄 刭+則 则+剋 克 剋+剎 刹+剗 刬+剛 刚+剝 剥+剮 剐+剴 剀+創 创+剷 铲+剾 𠛅+劃 划 㓰+劇 剧+劉 刘+劊 刽+劌 刿+劍 剑+劏 㓥+劑 剂+劚 㔉+勁 劲+勑 𠡠+動 动+務 务+勛 勋+勝 胜+勞 劳+勢 势+勣 𪟝+勩 勚+勱 劢+勳 勋+勵 励+勸 劝+勻 匀+匭 匦+匯 汇+匱 匮+區 区+協 协+卹 恤+卻 却+卽 即+厙 厍+厠 厕+厤 历+厭 厌+厲 厉+厴 厣+參 参+叄 叁+叢 丛+吒 咤+吳 吴+吶 呐+呂 吕+咼 呙+員 员+哯 𠯟+唄 呗+唓 𪠳+唸 念+問 问+啓 启+啞 哑+啟 启+啢 唡+喎 㖞+喚 唤+喪 丧+喫 吃+喬 乔+單 单+喲 哟+嗆 呛+嗇 啬+嗊 唝+嗎 吗+嗚 呜+嗩 唢+嗰 𠮶+嗶 哔+嗹 𪡏+嘆 叹+嘍 喽+嘓 啯+嘔 呕+嘖 啧+嘗 尝+嘜 唛+嘩 哗+嘪 𪡃+嘮 唠+嘯 啸+嘰 叽+嘳 𪡞+嘵 哓+嘸 呒+嘺 𪡀+嘽 啴+噁 恶 𫫇+噅 𠯠+噓 嘘+噚 㖊+噝 咝+噞 𪡋+噠 哒+噥 哝+噦 哕+噯 嗳+噲 哙+噴 喷+噸 吨+噹 当 𪠽+嚀 咛+嚇 吓+嚌 哜+嚐 尝+嚕 噜+嚙 啮+嚛 𪠸+嚥 咽+嚦 呖+嚧 𠰷+嚨 咙+嚮 向+嚲 亸+嚳 喾+嚴 严+嚶 嘤+嚽 𪢕+囀 啭+囁 嗫+囂 嚣+囃 𠱞+囅 冁+囈 呓+囉 啰+囌 苏+囑 嘱+囒 𪢠+囪 囱+圇 囵+國 国+圍 围+園 园+圓 圆+圖 图+團 团+圞 𪢮+垻 坝+埡 垭+埨 𫭢+埬 𪣆+埰 采+執 执+堅 坚+堊 垩+堖 垴+堚 𪣒+堝 埚+堯 尧+報 报+場 场+塊 块+塋 茔+塏 垲+塒 埘+塗 涂+塚 冢+塢 坞+塤 埙+塵 尘+塸 𫭟+塹 堑+塿 𪣻+墊 垫+墜 坠+墠 𫮃+墮 堕+墰 坛+墲 𪢸+墳 坟+墶 垯+墻 墙+墾 垦+壇 坛+壈 𡒄+壋 垱+壎 埙+壓 压+壗 𡋤+壘 垒+壙 圹+壚 垆+壜 坛+壞 坏+壟 垄+壠 垅+壢 坜+壣 𪤚+壩 坝+壪 塆+壯 壮+壺 壶+壼 壸+壽 寿+夠 够+夢 梦+夥 伙 夥+夾 夹+奐 奂+奧 奥+奩 奁+奪 夺+奬 奖+奮 奋+奼 姹+妝 妆+姍 姗+姦 奸+娙 𫰛+娛 娱+婁 娄+婡 𫝫+婦 妇+婭 娅+媈 𫝨+媧 娲+媯 妫+媰 㛀+媼 媪+媽 妈+嫋 袅+嫗 妪+嫵 妩+嫺 娴+嫻 娴+嫿 婳+嬀 妫+嬃 媭+嬇 𫝬+嬈 娆+嬋 婵+嬌 娇+嬙 嫱+嬡 嫒+嬣 𪥰+嬤 嬷+嬦 𫝩+嬪 嫔+嬰 婴+嬸 婶+嬻 𪥿+孃 娘+孄 𫝮+孆 𫝭+孇 𪥫+孋 㛤+孌 娈+孎 𡠟+孫 孙+學 学+孻 𡥧+孾 𪧀+孿 孪+宮 宫+寀 采+寠 𪧘+寢 寝+實 实+寧 宁+審 审+寫 写+寬 宽+寵 宠+寶 宝+將 将+專 专+尋 寻+對 对+導 导+尷 尴+屆 届+屍 尸+屓 屃+屜 屉+屢 屡+層 层+屨 屦+屩 𪨗+屬 属+岡 冈+峯 峰+峴 岘+島 岛+峽 峡+崍 崃+崑 昆+崗 岗+崙 仑 𪨧+崢 峥+崬 岽+嵐 岚+嵗 岁+嵼 𡶴+嵽 𫶇+嵾 㟥+嶁 嵝+嶄 崭+嶇 岖+嶈 𡺃+嶔 嵚+嶗 崂+嶘 𡺄+嶠 峤+嶢 峣+嶧 峄+嶨 峃+嶮 崄+嶸 嵘+嶹 𫝵+嶺 岭+嶼 屿+嶽 岳+巊 𪩎+巋 岿+巒 峦+巔 巅+巖 岩+巗 𪨷+巘 𪩘+巰 巯+巹 卺+帥 帅+師 师+帳 帐+帶 带+幀 帧+幃 帏+幓 㡎+幗 帼+幘 帻+幝 𪩷+幟 帜+幣 币+幩 𪩸+幫 帮+幬 帱+幹 干+幾 几+庫 库+廁 厕+廂 厢+廄 厩+廈 厦+廎 庼+廕 荫+廚 厨+廝 厮+廞 𫷷+廟 庙+廠 厂+廡 庑+廢 废+廣 广+廧 𪪞+廩 廪+廬 庐 𪪏+廳 厅+弒 弑+弔 吊+弳 弪+張 张+強 强+彃 𪪼+彄 𫸩+彆 别+彈 弹+彌 弥+彎 弯+彔 录+彙 汇+彠 彟+彥 彦+彫 雕+彲 彨+彷 彷 仿+彿 佛+後 后+徑 径+從 从+徠 徕+復 复+徵 征 徵+徹 彻+徿 𪫌+恆 恒+恥 耻+悅 悦+悞 悮+悵 怅+悶 闷+悽 凄+惡 恶+惱 恼+惲 恽+惻 恻+愛 爱+愜 惬+愨 悫+愴 怆+愷 恺+愻 𢙏+愾 忾+慄 栗+態 态+慍 愠+慘 惨+慚 惭+慟 恸+慣 惯+慤 悫+慪 怄+慫 怂+慮 虑+慳 悭+慶 庆+慺 㥪+慼 戚+慾 欲+憂 忧+憊 惫+憐 怜+憑 凭+憒 愦+憖 慭+憚 惮+憢 𢙒+憤 愤+憫 悯+憮 怃+憲 宪+憶 忆+憸 𪫺+憹 𢙐+懀 𢙓+懇 恳+應 应+懌 怿+懍 懔+懎 𢠁+懞 蒙+懟 怼+懣 懑+懤 㤽+懨 恹+懲 惩+懶 懒+懷 怀+懸 悬+懺 忏+懼 惧+懾 慑+戀 恋+戇 戆+戔 戋+戧 戗+戩 戬+戰 战 𢧐+戱 戯+戲 戏+戶 户+拋 抛+挩 捝+挱 挲+挾 挟+捨 舍+捫 扪+捱 挨+捲 卷+掃 扫+掄 抡+掆 㧏+掗 挜+掙 挣+掚 𪭵+掛 挂+採 采+揀 拣+揚 扬+換 换+揮 挥+揯 搄+損 损+搖 摇+搗 捣+搵 揾+搶 抢+摋 𢫬+摐 𪭢+摑 掴+摜 掼+摟 搂+摯 挚+摳 抠+摶 抟+摺 折+摻 掺+撈 捞+撊 𪭾+撏 挦+撐 撑+撓 挠+撝 㧑+撟 挢+撣 掸+撥 拨+撧 𪮖+撫 抚+撲 扑+撳 揿+撻 挞+撾 挝+撿 捡+擁 拥+擄 掳+擇 择+擊 击+擋 挡+擓 㧟+擔 担+據 据+擟 𪭧+擠 挤+擣 捣 𢭏+擫 𢬍+擬 拟+擯 摈+擰 拧+擱 搁+擲 掷+擴 扩+擷 撷+擺 摆+擻 擞+擼 撸+擽 㧰+擾 扰+攄 摅+攆 撵+攋 𪮶+攏 拢+攔 拦+攖 撄+攙 搀+攛 撺+攜 携+攝 摄+攢 攒+攣 挛+攤 摊+攪 搅+攬 揽+敎 教+敓 敚+敗 败+敘 叙+敵 敌+數 数+斂 敛+斃 毙+斅 𢽾+斆 敩+斕 斓+斬 斩+斷 断+斸 𣃁+於 于 於+旂 旗+旣 既+昇 升+時 时+晉 晋+晛 𬀪+晝 昼+暈 晕+暉 晖+暐 𬀩+暘 旸+暢 畅+暫 暂+曄 晔+曆 历+曇 昙+曉 晓+曊 𪰶+曏 向+曖 暧+曠 旷+曥 𣆐+曨 昽+曬 晒+書 书+會 会+朥 𦛨+朧 胧+朮 术+東 东+枴 拐+柵 栅+柺 拐+査 查+桱 𣐕+桿 杆+梔 栀+梖 𪱷+梘 枧+梜 𬂩+條 条+梟 枭+梲 棁+棄 弃+棊 棋+棖 枨+棗 枣+棟 栋+棡 㭎+棧 栈+棲 栖+棶 梾+椏 桠+椲 㭏+楇 𣒌+楊 杨+楓 枫+楨 桢+業 业+極 极+榘 矩+榦 干+榪 杩+榮 荣+榲 榅+榿 桤+構 构+槍 枪+槓 杠+槤 梿+槧 椠+槨 椁+槫 𣏢+槮 椮+槳 桨+槶 椢+槼 椝+樁 桩+樂 乐+樅 枞+樑 梁+樓 楼+標 标+樞 枢+樠 𣗊+樢 㭤+樣 样+樤 𣔌+樧 榝+樫 㭴+樳 桪+樸 朴+樹 树+樺 桦+樿 椫+橈 桡+橋 桥+機 机+橢 椭+橫 横+橯 𣓿+檁 檩+檉 柽+檔 档+檜 桧+檟 槚+檢 检+檣 樯+檭 𣘴+檮 梼+檯 台+檳 槟+檵 𪲛+檸 柠+檻 槛+櫃 柜+櫅 𪲎+櫍 𬃊+櫓 橹+櫚 榈+櫛 栉+櫝 椟+櫞 橼+櫟 栎+櫠 𪲮+櫥 橱+櫧 槠+櫨 栌+櫪 枥+櫫 橥+櫬 榇+櫱 蘖+櫳 栊+櫸 榉+櫻 樱+欄 栏+欅 榉+欇 𪳍+權 权+欍 𣐤+欏 椤+欐 𪲔+欑 𪴙+欒 栾+欓 𣗋+欖 榄+欘 𣚚+欞 棂+欽 钦+歎 叹+歐 欧+歟 欤+歡 欢+歲 岁+歷 历+歸 归+歿 殁+殘 残+殞 殒+殢 𣨼+殤 殇+殨 㱮+殫 殚+殭 僵+殮 殓+殯 殡+殰 㱩+殲 歼+殺 杀+殻 壳+殼 壳+毀 毁+毆 殴+毊 𪵑+毿 毵+氂 牦+氈 毡+氌 氇+氣 气+氫 氢+氬 氩+氭 𣱝+氳 氲+氾 泛+汎 泛+汙 污+決 决+沒 没+沖 冲+況 况+泝 溯+洩 泄+洶 汹+浹 浃+浿 𬇙+涇 泾+涗 涚+涼 凉+淒 凄+淚 泪+淥 渌+淨 净+淩 凌+淪 沦+淵 渊+淶 涞+淺 浅+渙 涣+減 减+渢 沨+渦 涡+測 测+渾 浑+湊 凑+湋 𣲗+湞 浈+湧 涌+湯 汤+溈 沩+準 准+溝 沟+溡 𪶄+溫 温+溮 浉+溳 涢+溼 湿+滄 沧+滅 灭+滌 涤+滎 荥+滙 汇+滬 沪+滯 滞+滲 渗+滷 卤+滸 浒+滻 浐+滾 滚+滿 满+漁 渔+漊 溇+漍 𬇹+漚 沤+漢 汉+漣 涟+漬 渍+漲 涨+漵 溆+漸 渐+漿 浆+潁 颍+潑 泼+潔 洁+潕 𣲘+潙 沩+潚 㴋+潛 潜+潣 𫞗+潤 润+潯 浔+潰 溃+潷 滗+潿 涠+澀 涩+澅 𣶩+澆 浇+澇 涝+澐 沄+澗 涧+澠 渑+澤 泽+澦 滪+澩 泶+澫 𬇕+澬 𫞚+澮 浍+澱 淀+澾 㳠+濁 浊+濃 浓+濄 㳡+濆 𣸣+濕 湿+濘 泞+濚 溁+濛 蒙+濜 浕+濟 济+濤 涛+濧 㳔+濫 滥+濰 潍+濱 滨+濺 溅+濼 泺+濾 滤+濿 𪵱+瀂 澛+瀃 𣽷+瀅 滢+瀆 渎+瀇 㲿+瀉 泻+瀋 沈 渖+瀏 浏+瀕 濒+瀘 泸+瀝 沥+瀟 潇+瀠 潆+瀦 潴+瀧 泷+瀨 濑+瀰 弥 㳽+瀲 潋+瀾 澜+灃 沣+灄 滠+灍 𫞝+灑 洒+灒 𪷽+灕 漓+灘 滩+灙 𣺼+灝 灏+灡 㳕+灣 湾+灤 滦+灧 滟+灩 滟+災 灾+為 为+烏 乌+烴 烃+無 无+煇 𪸩+煉 炼+煒 炜+煙 烟+煢 茕+煥 焕+煩 烦+煬 炀+煱 㶽+熂 𪸕+熅 煴+熉 𤈶+熌 𤇄+熒 荧+熓 𤆡+熗 炝+熚 𤇹+熡 𤋏+熰 𬉼+熱 热+熲 颎+熾 炽+燀 𬊤+燁 烨+燈 灯+燉 炖+燒 烧+燖 𬊈+燙 烫+燜 焖+營 营+燦 灿+燬 毁+燭 烛+燴 烩+燶 㶶+燻 熏+燼 烬+燾 焘+爃 𫞡+爄 𤇃+爇 𦶟+爍 烁+爐 炉+爖 𤇭+爛 烂+爥 𪹳+爧 𫞠+爭 争+爲 为+爺 爷+爾 尔+牀 床+牆 墙+牘 牍+牴 牴 抵+牽 牵+犖 荦+犛 牦+犞 𪺭+犢 犊+犧 牺+狀 状+狹 狭+狽 狈+猌 𪺽+猙 狰+猶 犹+猻 狲+獁 犸+獃 呆+獄 狱+獅 狮+獊 𪺷+獎 奖+獨 独+獩 𤞃+獪 狯+獫 猃+獮 狝+獰 狞+獱 㺍+獲 获+獵 猎+獷 犷+獸 兽+獺 獭+獻 献+獼 猕+玀 猡+玁 𤞤+珼 𫞥+現 现+琱 雕+琺 珐+琿 珲+瑋 玮+瑒 玚+瑣 琐+瑤 瑶+瑩 莹+瑪 玛+瑲 玱+瑻 𪻲+瑽 𪻐+璉 琏+璊 𫞩+璕 𬍤+璗 𬍡+璝 𪻺+璡 琎+璣 玑+璦 瑷+璫 珰+璯 㻅+環 环+璵 玙+璸 瑸+璼 𫞨+璽 玺+璾 𫞦+璿 璇+瓄 𪻨+瓅 𬍛+瓊 琼+瓏 珑+瓔 璎+瓕 𤦀+瓚 瓒+瓛 𤩽+甌 瓯+甕 瓮+產 产+産 产+甦 苏+甯 宁+畝 亩+畢 毕+畫 画 划+異 异+畵 画+當 当+畼 𪽈+疇 畴+疊 叠+痙 痉+痠 酸+痮 𪽪+痾 疴+瘂 痖+瘋 疯+瘍 疡+瘓 痪+瘞 瘗+瘡 疮+瘧 疟+瘮 瘆+瘱 𪽷+瘲 疭+瘺 瘘+瘻 瘘+療 疗+癆 痨+癇 痫+癉 瘅+癐 𤶊+癒 愈+癘 疠+癟 瘪+癡 痴+癢 痒+癤 疖+癥 症+癧 疬+癩 癞+癬 癣+癭 瘿+癮 瘾+癰 痈+癱 瘫+癲 癫+發 发+皁 皂+皚 皑+皟 𤾀+皰 疱+皸 皲+皺 皱+盃 杯+盜 盗+盞 盏+盡 尽+監 监+盤 盘+盧 卢+盨 𪾔+盪 荡+眝 𪾣+眞 真+眥 眦+眾 众+睍 𪾢+睏 困+睜 睁+睞 睐+瞘 眍+瞜 䁖+瞞 瞒+瞤 𥆧+瞭 瞭 了+瞶 瞆+瞼 睑+矇 蒙+矉 𪾸+矑 𪾦+矓 眬+矚 瞩+矯 矫+硃 朱+硜 硁+硤 硖+硨 砗+硯 砚+碕 埼+碙 𥐻+碩 硕+碭 砀+碸 砜+確 确+碼 码+碽 䂵+磑 硙+磚 砖+磠 硵+磣 碜+磧 碛+磯 矶+磽 硗+磾 䃅+礄 硚+礆 硷+礎 础+礐 𬒈+礒 𥐟+礙 碍+礦 矿+礪 砺+礫 砾+礬 矾+礮 𪿫+礱 砻+祇 祇 只+祕 秘+祿 禄+禍 祸+禎 祯+禕 祎+禡 祃+禦 御+禪 禅+禮 礼+禰 祢+禱 祷+禿 秃+秈 籼+稅 税+稈 秆+稏 䅉+稜 棱+稟 禀+種 种+稱 称+穀 谷+穇 䅟+穌 稣+積 积+穎 颖+穠 秾+穡 穑+穢 秽+穩 稳+穫 获+穭 穞+窩 窝+窪 洼+窮 穷+窯 窑+窵 窎+窶 窭+窺 窥+竄 窜+竅 窍+竇 窦+竈 灶+竊 窃+竚 𥩟+竪 竖+竱 𫁟+競 竞+筆 笔+筍 笋+筧 笕+筴 䇲+箇 个+箋 笺+箏 筝+節 节+範 范+築 筑+篋 箧+篔 筼+篘 𥬠+篠 筿+篢 𬕂+篤 笃+篩 筛+篳 筚+篸 𥮾+簀 箦+簂 𫂆+簍 篓+簑 蓑+簞 箪+簡 简+簢 𫂃+簣 篑+簫 箫+簹 筜+簽 签+簾 帘+籃 篮+籅 𥫣+籋 𥬞+籌 筹+籔 䉤+籙 箓+籛 篯+籜 箨+籟 籁+籠 笼+籤 签+籩 笾+籪 簖+籬 篱+籮 箩+籲 吁+粵 粤+糉 粽+糝 糁+糞 粪+糧 粮+糰 团+糲 粝+糴 籴+糶 粜+糹 纟+糺 𫄙+糾 纠+紀 纪+紂 纣+紃 𬘓+約 约+紅 红+紆 纡+紇 纥+紈 纨+紉 纫+紋 纹+納 纳+紐 纽+紓 纾+純 纯+紕 纰+紖 纼+紗 纱+紘 纮+紙 纸+級 级+紛 纷+紜 纭+紝 纴+紞 𬘘+紟 𫄛+紡 纺+紬 䌷+紮 扎+細 细+紱 绂+紲 绁+紳 绅+紵 纻+紹 绍+紺 绀+紼 绋+紿 绐+絀 绌+絁 𫄟+終 终+絃 弦+組 组+絅 䌹+絆 绊+絍 𫟃+絎 绗+結 结+絕 绝+絙 𫄠+絛 绦+絝 绔+絞 绞+絡 络+絢 绚+絥 𫄢+給 给+絧 𫄡+絨 绒+絪 𬘡+絰 绖+統 统+絲 丝+絳 绛+絶 绝+絹 绢+絺 𫄨+綀 𦈌+綁 绑+綃 绡+綄 𬘫+綆 绠+綇 𦈋+綈 绨+綉 绣+綋 𫟄+綌 绤+綎 𬘩+綏 绥+綐 䌼+綑 捆+經 经+綖 𫄧+綜 综+綝 𬘭+綞 缍+綟 𫄫+綠 绿+綡 𫟅+綢 绸+綣 绻+綧 𬘯+綪 𬘬+綫 线+綬 绶+維 维+綯 绹+綰 绾+綱 纲+網 网+綳 绷+綴 缀+綵 彩 䌽+綸 纶+綹 绺+綺 绮+綻 绽+綽 绰+綾 绫+綿 绵+緄 绲+緇 缁+緊 紧+緋 绯+緍 𦈏+緑 绿+緒 绪+緓 绬+緔 绱+緗 缃+緘 缄+緙 缂+線 线 缐+緝 缉+緞 缎+緟 𫟆+締 缔+緡 缗+緣 缘+緤 𫄬+緦 缌+編 编+緩 缓+緬 缅+緮 𫄭+緯 纬+緰 𦈕+緱 缑+緲 缈+練 练+緶 缏+緷 𦈉+緸 𦈑+緹 缇+緻 致+緼 缊+縈 萦+縉 缙+縊 缢+縋 缒+縍 𫄰+縎 𦈔+縐 绉+縑 缣+縕 缊+縗 缞+縛 缚+縝 缜+縞 缟+縟 缛+縣 县+縧 绦+縫 缝+縬 𦈚+縭 缡+縮 缩+縯 𬙂+縰 𫄳+縱 纵+縲 缧+縳 䌸+縴 纤+縵 缦+縶 絷+縷 缕+縸 𫄲+縹 缥+縺 𦈐+總 总+績 绩+繂 𫄴+繃 绷+繅 缫+繆 缪+繈 𫄶+繏 𦈝+繐 𰬸+繒 缯+繓 𦈛+織 织+繕 缮+繚 缭+繞 绕+繟 𦈎+繡 绣+繢 缋+繨 𫄤+繩 绳+繪 绘+繫 系+繬 𫄱+繭 茧+繮 缰+繯 缳+繰 缲+繳 缴+繶 𫄷+繷 𫄣+繸 䍁+繹 绎+繻 𦈡+繼 继+繽 缤+繾 缱+繿 䍀+纁 𫄸+纆 𬙊+纇 颣+纈 缬+纊 纩+續 续+纍 累+纏 缠+纓 缨+纔 才+纕 𬙋+纖 纤+纗 𫄹+纘 缵+纚 𫄥+纜 缆+缽 钵+罃 䓨+罈 坛+罌 罂+罎 坛+罰 罚+罵 骂+罷 罢+羅 罗+羆 罴+羈 羁+羋 芈+羣 群+羥 羟+羨 羡+義 义+羵 𫅗+羶 膻+習 习+翫 玩+翬 翚+翹 翘+翽 翙+耬 耧+耮 耢+聖 圣+聞 闻+聯 联+聰 聪+聲 声+聳 耸+聵 聩+聶 聂+職 职+聹 聍+聻 𫆏+聽 听+聾 聋+肅 肃+脅 胁+脈 脉+脛 胫+脣 唇+脥 𣍰+脩 修+脫 脱+脹 胀+腎 肾+腖 胨+腡 脶+腦 脑+腪 𣍯+腫 肿+腳 脚+腸 肠+膃 腽+膕 腘+膚 肤+膞 䏝+膠 胶+膢 𦝼+膩 腻+膹 𪱥+膽 胆+膾 脍+膿 脓+臉 脸+臍 脐+臏 膑+臗 𣎑+臘 腊+臚 胪+臟 脏+臠 脔+臢 臜+臥 卧+臨 临+臺 台+與 与+興 兴+舉 举+舊 旧+舘 馆+艙 舱+艣 𫇛+艤 舣+艦 舰+艫 舻+艱 艰+艷 艳+芻 刍+苧 苎+茲 兹+荊 荆+莊 庄+莖 茎+莢 荚+莧 苋+菕 𰰨+華 华+菴 庵+菸 烟+萇 苌+萊 莱+萬 万+萴 荝+萵 莴+葉 叶+葒 荭+葝 𫈎+葤 荮+葦 苇+葯 药+葷 荤+蒍 𫇭+蒐 搜+蒓 莼+蒔 莳+蒕 蒀+蒞 莅+蒭 𫇴+蒼 苍+蓀 荪+蓆 席+蓋 盖+蓧 𦰏+蓮 莲+蓯 苁+蓴 莼+蓽 荜+蔄 𬜬+蔔 卜+蔘 参+蔞 蒌+蔣 蒋+蔥 葱+蔦 茑+蔭 荫+蔯 𫈟+蔿 𫇭+蕁 荨+蕆 蒇+蕎 荞+蕒 荬+蕓 芸+蕕 莸+蕘 荛+蕝 𫈵+蕢 蒉+蕩 荡+蕪 芜+蕭 萧+蕳 𫈉+蕷 蓣+蕽 𫇽+薀 蕰+薆 𫉁+薈 荟+薊 蓟+薌 芗+薑 姜+薔 蔷+薘 荙+薟 莶+薦 荐+薩 萨+薳 䓕+薴 苧+薵 䓓+薹 苔 薹+薺 荠+藉 藉 借+藍 蓝+藎 荩+藝 艺+藥 药+藪 薮+藭 䓖+藴 蕴+藶 苈+藷 𫉄+藹 蔼+藺 蔺+蘀 萚+蘄 蕲+蘆 芦+蘇 苏+蘊 蕴+蘋 苹 𬞟+蘚 藓+蘞 蔹+蘟 𦻕+蘢 茏+蘭 兰+蘺 蓠+蘿 萝+虆 蔂+虉 𬟁+處 处+虛 虚+虜 虏+號 号+虧 亏+虯 虬+蛺 蛱+蛻 蜕+蜆 蚬+蝀 𬟽+蝕 蚀+蝟 猬+蝦 虾+蝨 虱+蝸 蜗+螄 蛳+螞 蚂+螢 萤+螮 䗖+螻 蝼+螿 螀+蟂 𫋇+蟄 蛰+蟈 蝈+蟎 螨+蟘 𫋌+蟜 𫊸+蟣 虮+蟬 蝉+蟯 蛲+蟲 虫+蟳 𫊻+蟶 蛏+蟻 蚁+蠀 𧏗+蠁 蚃+蠅 蝇+蠆 虿+蠍 蝎+蠐 蛴+蠑 蝾+蠔 蚝+蠙 𧏖+蠟 蜡+蠣 蛎+蠦 𫊮+蠨 蟏+蠱 蛊+蠶 蚕+蠻 蛮+蠾 𧑏+衆 众+衊 蔑+術 术+衕 同+衚 胡+衛 卫+衝 冲+衹 衹 只+袞 衮+裊 袅+裏 里+補 补+裝 装+裡 里+製 制+複 复+褌 裈+褘 袆+褲 裤+褳 裢+褸 褛+褻 亵+襀 𫌀+襇 裥+襉 裥+襏 袯+襓 𫋹+襖 袄+襗 𫋷+襘 𫋻+襝 裣+襠 裆+襤 褴+襪 袜+襬 摆 䙓+襯 衬+襰 𧝝+襲 袭+襴 襕+襵 𫌇+覆 覆 复+覈 核+見 见+覎 觃+規 规+覓 觅+視 视+覘 觇+覛 𫌪+覡 觋+覥 觍+覦 觎+親 亲+覬 觊+覯 觏+覲 觐+覷 觑+覹 𫌭+覺 觉+覼 𫌨+覽 览+覿 觌+觀 观+觴 觞+觶 觯+觸 触+訁 讠+訂 订+訃 讣+計 计+訊 讯+訌 讧+討 讨+訏 𬣙+訐 讦+訑 𫍙+訒 讱+訓 训+訕 讪+訖 讫+託 托 讬+記 记+訛 讹+訜 𫍛+訝 讶+訞 𫍚+訟 讼+訢 䜣+訣 诀+訥 讷+訨 𫟞+訩 讻+訪 访+設 设+許 许+訴 诉+訶 诃+診 诊+註 注+証 证+詀 𧮪+詁 诂+詆 诋+詊 𫟟+詎 讵+詐 诈+詑 𫍡+詒 诒+詓 𫍜+詔 诏+評 评+詖 诐+詗 诇+詘 诎+詛 诅+詝 𬣞+詞 词+詠 咏+詡 诩+詢 询+詣 诣+試 试+詩 诗+詪 𬣳+詫 诧+詬 诟+詭 诡+詮 诠+詰 诘+話 话+該 该+詳 详+詵 诜+詷 𫍣+詼 诙+詿 诖+誂 𫍥+誄 诔+誅 诛+誆 诓+誇 夸+誋 𫍪+誌 志+認 认+誑 诳+誒 诶+誕 诞+誘 诱+誚 诮+語 语+誠 诚+誡 诫+誣 诬+誤 误+誥 诰+誦 诵+誨 诲+說 说+誫 𫍨+説 说+誰 谁+課 课+誳 𫍮+誴 𫟡+誶 谇+誷 𫍬+誹 诽+誺 𫍧+誼 谊+誾 訚+調 调+諂 谄+諄 谆+談 谈+諉 诿+請 请+諍 诤+諏 诹+諑 诼+諒 谅+諓 𬣡+論 论+諗 谂+諛 谀+諜 谍+諝 谞+諞 谝+諟 𬤊+諡 谥+諢 诨+諣 𫍩+諤 谔+諥 𫍳+諦 谛+諧 谐+諫 谏 𫍝+諭 谕+諮 咨 谘+諯 𫍱+諰 𫍰+諱 讳+諲 𬤇+諳 谙+諴 𫍯+諶 谌+諷 讽+諸 诸+諺 谚+諼 谖+諾 诺+謀 谋+謁 谒+謂 谓+謄 誊+謅 诌+謆 𫍸+謉 𫍷+謊 谎+謎 谜+謏 𫍲+謐 谧+謔 谑+謖 谡+謗 谤+謙 谦+謚 谥+講 讲+謝 谢+謠 谣+謡 谣+謨 谟+謫 谪+謬 谬+謭 谫+謯 𫍹+謱 𫍴+謳 讴+謸 𫍵+謹 谨+謾 谩+譁 哗+譂 𫟠+譅 𰶎+譆 𫍻+證 证+譊 𫍢+譎 谲+譏 讥+譑 𫍤+譓 𬤝+譖 谮+識 识+譙 谯+譚 谭+譜 谱+譞 𫍽+譟 噪+譨 𫍦+譫 谵+譭 毁+譯 译+議 议+譴 谴+護 护+譸 诪+譽 誉+譾 谫 𫍿+讀 读+讅 谉+變 变+讋 詟+讌 䜩+讎 雠+讒 谗+讓 让+讕 谰+讖 谶+讚 赞+讜 谠+讞 谳+豈 岂+豎 竖+豐 丰+豔 艳+豬 猪+豵 𫎆+豶 豮+貓 猫+貗 𫎌+貙 䝙+貝 贝+貞 贞+貟 贠+負 负+財 财+貢 贡+貧 贫+貨 货+販 贩+貪 贪+貫 贯+責 责+貯 贮+貰 贳+貲 赀+貳 贰+貴 贵+貶 贬+買 买 𧹒+貸 贷+貺 贶+費 费+貼 贴+貽 贻+貿 贸+賀 贺+賁 贲+賂 赂+賃 赁+賄 贿+賅 赅+資 资+賈 贾+賊 贼+賑 赈+賒 赊+賓 宾+賕 赇+賙 赒+賚 赉+賜 赐+賝 𫎩+賞 赏+賟 𧹖+賠 赔+賡 赓+賢 贤+賣 卖+賤 贱+賦 赋+賧 赕+質 质+賫 赍+賬 账+賭 赌+賰 䞐+賴 赖+賵 赗+賺 赚+賻 赙+購 购+賽 赛+賾 赜+贃 𧹗+贄 贽+贅 赘+贇 赟+贈 赠+贉 𫎫+贊 赞+贋 赝+贍 赡+贏 赢+贐 赆+贑 𫎬+贓 赃+贔 赑+贖 赎+贗 赝+贚 𫎦+贛 赣+贜 赃+赬 赪+趕 赶+趙 赵+趨 趋+趲 趱+跡 迹+踐 践+踰 逾+踴 踊+蹌 跄+蹔 𫏐+蹕 跸+蹟 迹+蹠 跖+蹣 蹒+蹤 踪+蹳 𫏆+蹺 跷+蹻 𫏋+躂 跶+躉 趸+躊 踌+躋 跻+躍 跃+躎 䟢+躑 踯+躒 跞+躓 踬+躕 蹰+躘 𨀁+躚 跹+躝 𨅬+躡 蹑+躥 蹿+躦 躜+躪 躏+軀 躯+軉 𨉗+車 车+軋 轧+軌 轨+軍 军+軏 𫐄+軑 轪+軒 轩+軔 轫+軕 𫐅+軗 𨐅+軛 轭+軜 𫐇+軝 𬨂+軟 软+軤 轷+軨 𫐉+軫 轸+軬 𫐊+軲 轱+軷 𫐈+軸 轴+軹 轵+軺 轺+軻 轲+軼 轶+軾 轼+軿 𫐌+較 较+輄 𨐈+輅 辂+輇 辁+輈 辀+載 载+輊 轾+輋 𪨶+輒 辄+輓 挽+輔 辅+輕 轻+輖 𫐏+輗 𫐐+輛 辆+輜 辎+輝 辉+輞 辋+輟 辍+輢 𫐎+輥 辊+輦 辇+輨 𫐑+輩 辈+輪 轮+輬 辌+輮 𫐓+輯 辑+輳 辏+輶 𬨎+輷 𫐒+輸 输+輻 辐+輼 辒+輾 辗+輿 舆+轀 辒+轂 毂+轄 辖+轅 辕+轆 辘+轇 𫐖+轉 转+轊 𫐕+轍 辙+轎 轿+轐 𫐗+轔 辚+轗 𫐘+轟 轰+轠 𫐙+轡 辔+轢 轹+轣 𫐆+轤 轳+辦 办+辭 辞+辮 辫+辯 辩+農 农+迴 回+逕 迳+這 这+連 连+週 周+進 进+遊 游+運 运+過 过+達 达+違 违+遙 遥+遜 逊+遞 递+遠 远+遡 溯+適 适+遱 𫐷+遲 迟+遷 迁+選 选+遺 遗+遼 辽+邁 迈+還 还+邇 迩+邊 边+邏 逻+邐 逦+郟 郏+郵 邮+鄆 郓+鄉 乡+鄒 邹+鄔 邬+鄖 郧+鄟 𫑘+鄧 邓+鄩 𬩽+鄭 郑+鄰 邻+鄲 郸+鄳 𫑡+鄴 邺+鄶 郐+鄺 邝+酇 酂+酈 郦+醃 腌+醖 酝+醜 丑+醞 酝+醟 蒏+醣 糖+醫 医+醬 酱+醱 酦+醲 𬪩+醶 𫑷+釀 酿+釁 衅+釃 酾+釅 酽+釋 释+釐 厘+釒 钅+釓 钆+釔 钇+釕 钌+釗 钊+釘 钉+釙 钋+釚 𫟲+針 针+釟 𫓥+釣 钓+釤 钐+釦 扣+釧 钏+釨 𫓦+釩 钒+釲 𫟳+釳 𨰿+釴 𬬩+釵 钗+釷 钍+釹 钕+釺 钎+釾 䥺+釿 𬬱+鈀 钯+鈁 钫+鈃 钘+鈄 钭+鈅 钥+鈆 𫓪+鈇 𫓧+鈈 钚+鈉 钠+鈋 𨱂+鈍 钝+鈎 钩+鈐 钤+鈑 钣+鈒 钑+鈔 钞+鈕 钮+鈖 𫟴+鈗 𫟵+鈛 𫓨+鈞 钧+鈠 𨱁+鈡 钟+鈣 钙+鈥 钬+鈦 钛+鈧 钪+鈮 铌+鈯 𨱄+鈰 铈+鈲 𨱃+鈳 钶+鈴 铃+鈷 钴+鈸 钹+鈹 铍+鈺 钰+鈽 钸+鈾 铀+鈿 钿+鉀 钾+鉁 𨱅+鉅 巨 钜+鉆 钻+鉈 铊+鉉 铉+鉊 𬬿+鉋 铇+鉍 铋+鉑 铂+鉔 𫓬+鉕 钷+鉗 钳+鉚 铆+鉛 铅+鉝 𫟷+鉞 钺+鉠 𫓭+鉢 钵+鉤 钩+鉥 𬬸+鉦 钲+鉧 𬭁+鉬 钼+鉭 钽+鉮 𬬹+鉳 锫+鉶 铏+鉷 𫟹+鉸 铰+鉺 铒+鉻 铬+鉽 𫟸+鉾 𫓴+鉿 铪+銀 银+銁 𫓲+銂 𫟻+銃 铳+銅 铜+銈 𫓯+銊 𫓰+銍 铚+銏 𫟶+銑 铣+銓 铨+銖 铢+銘 铭+銚 铫+銛 铦+銜 衔+銠 铑+銣 铷+銥 铱+銦 铟+銨 铵+銩 铥+銪 铕+銫 铯+銬 铐+銱 铞+銳 锐+銶 𨱇+銷 销+銹 锈+銻 锑+銼 锉+鋁 铝+鋂 𰾄+鋃 锒+鋅 锌+鋇 钡+鋉 𨱈+鋌 铤+鋏 铗+鋐 𬭎+鋒 锋+鋗 𫓶+鋙 铻+鋝 锊+鋟 锓+鋠 𫓵+鋣 铘+鋤 锄+鋥 锃+鋦 锔+鋨 锇+鋩 铓+鋪 铺+鋭 锐+鋮 铖+鋯 锆+鋰 锂+鋱 铽+鋶 锍+鋸 锯+鋹 𬬮+鋼 钢+錀 𬬭+錁 锞+錂 𨱋+錄 录+錆 锖+錇 锫+錈 锩+錏 铔+錐 锥+錒 锕+錕 锟+錘 锤+錙 锱+錚 铮+錛 锛+錜 𫓻+錝 𫓽+錞 𬭚+錟 锬+錠 锭+錡 锜+錢 钱+錤 𫓹+錥 𫓾+錦 锦+錨 锚+錩 锠+錫 锡+錮 锢+錯 错+録 录+錳 锰+錶 表+錸 铼+錼 镎+錽 𫓸+鍀 锝+鍁 锨+鍃 锪+鍄 𨱉+鍅 钫+鍆 钔+鍇 锴+鍈 锳+鍉 𫔂+鍊 炼 链 𫔀+鍋 锅+鍍 镀+鍒 𫔄+鍔 锷+鍘 铡+鍚 钖+鍛 锻+鍠 锽+鍤 锸+鍥 锲+鍩 锘+鍬 锹+鍭 𬭤+鍮 𨱎+鍰 锾+鍵 键+鍶 锶+鍺 锗+鍼 针+鍾 钟 锺+鎂 镁+鎄 锿+鎇 镅+鎈 𫟿+鎊 镑+鎌 镰+鎍 𫔅+鎓 𬭩+鎔 镕+鎖 锁+鎘 镉+鎙 𫔈+鎚 锤+鎛 镈+鎝 𨱏+鎞 𫔇+鎡 镃+鎢 钨+鎣 蓥+鎦 镏+鎧 铠+鎩 铩+鎪 锼+鎬 镐+鎭 镇+鎮 镇+鎯 𨱍+鎰 镒+鎲 镋+鎳 镍+鎵 镓+鎶 鿔+鎷 𨰾+鎸 镌+鎿 镎+鏃 镞+鏆 𨱌+鏇 旋 镟+鏈 链+鏉 𨱒+鏌 镆+鏍 镙+鏏 𬭬+鏐 镠+鏑 镝+鏗 铿+鏘 锵+鏚 𬭭+鏜 镗+鏝 镘+鏞 镛+鏟 铲+鏡 镜+鏢 镖+鏤 镂+鏥 𫔊+鏦 𫓩+鏨 錾+鏰 镚+鏵 铧+鏷 镤+鏹 镪+鏺 䥽+鏻 𬭸+鏽 锈+鏾 𫔌+鐃 铙+鐄 𨱑+鐇 𫔍+鐈 𫓱+鐋 铴+鐍 𫔎+鐎 𨱓+鐏 𨱔+鐐 镣+鐒 铹+鐓 镦+鐔 镡+鐘 钟+鐙 镫+鐝 镢+鐠 镨+鐥 䦅+鐦 锎+鐧 锏+鐨 镄+鐩 𬭼+鐪 𫓺+鐫 镌+鐮 镰+鐯 䦃+鐲 镯+鐳 镭+鐵 铁+鐶 镮+鐸 铎+鐺 铛+鐼 𫔁+鐽 𫟼+鐿 镱+鑀 𰾭+鑄 铸+鑉 𫠁+鑊 镬+鑌 镔+鑑 鉴+鑒 鉴+鑔 镲+鑕 锧+鑞 镴+鑠 铄+鑣 镳+鑥 镥+鑪 𬬻+鑭 镧+鑰 钥+鑱 镵+鑲 镶+鑴 𫔔+鑷 镊+鑹 镩+鑼 锣+鑽 钻+鑾 銮+鑿 凿+钁 镢 䦆+钂 镋+長 长+門 门+閂 闩+閃 闪+閆 闫+閈 闬+閉 闭+開 开 𫔭+閌 闶+閍 𨸂+閎 闳+閏 闰+閐 𨸃+閑 闲+閒 闲 𫔮+間 间+閔 闵+閗 𫔯+閘 闸+閝 𫠂+閞 𫔰+閡 阂+閣 阁+閤 合+閥 阀+閨 闺+閩 闽+閫 阃+閬 阆+閭 闾+閱 阅+閲 阅+閵 𫔴+閶 阊+閹 阉+閻 阎+閼 阏+閽 阍+閾 阈+閿 阌+闃 阒+闆 板+闇 暗+闈 闱+闉 𬮱+闊 阔+闋 阕+闌 阑+闍 阇+闐 阗+闑 𫔶+闒 阘+闓 闿+闔 阖+闕 阙+闖 闯+關 关+闞 阚+闠 阓+闡 阐+闢 辟+闤 阛+闥 闼+阪 阪 坂+陘 陉+陝 陕+陞 升+陣 阵+陰 阴+陳 陈+陸 陆+陽 阳+隉 陧+隊 队+階 阶+隑 𬮿+隕 陨+際 际+隤 𬯎+隨 随+險 险+隮 𬯀+隯 陦+隱 隐+隴 陇+隸 隶+隻 只+雋 隽+雖 虽+雙 双+雛 雏+雜 杂+雞 鸡+離 离+難 难+雲 云+電 电+霑 沾+霢 霡+霣 𫕥+霧 雾+霼 𪵣+霽 霁+靂 雳+靄 霭+靆 叇+靈 灵+靉 叆+靚 靓+靜 静+靝 靔+靦 腼 䩄+靧 𫖃+靨 靥+鞏 巩+鞝 绱+鞦 秋+鞽 鞒+鞾 𫖇+韁 缰+韃 鞑+韆 千+韉 鞯+韋 韦+韌 韧+韍 韨+韓 韩+韙 韪+韚 𫠅+韛 𫖔+韜 韬+韝 鞲 𫖕+韞 韫+韠 𫖒+韻 韵+響 响+頁 页+頂 顶+頃 顷+項 项+順 顺+頇 顸+須 须+頊 顼+頌 颂+頍 𫠆+頎 颀+頏 颃+預 预+頑 顽+頒 颁+頓 顿+頔 𬱖+頗 颇+領 领+頜 颌+頠 𬱟+頡 颉+頤 颐+頦 颏+頫 𫖯+頭 头+頮 颒+頰 颊+頲 颋+頴 颕+頵 𫖳+頷 颔+頸 颈+頹 颓+頻 频+頽 颓+顂 𩓋+顃 𩖖+顅 𫖶+顆 颗+題 题+額 额+顎 颚+顏 颜+顒 颙+顓 颛+顔 颜+顗 𫖮+願 愿 𫖸+顙 颡+顛 颠+類 类+顢 颟+顣 𫖹+顥 颢+顧 顾+顫 颤+顬 颥+顯 显+顰 颦+顱 颅+顳 颞+顴 颧+風 风+颭 飐+颮 飑+颯 飒+颰 𩙥+颱 台+颳 刮+颶 飓+颷 𩙪+颸 飔+颺 飏+颻 飖+颼 飕+颾 𩙫+飀 飗+飄 飘+飆 飙+飈 飚+飋 𫗋+飛 飞+飠 饣+飢 饥+飣 饤+飥 饦+飦 𫗞+飩 饨+飪 饪+飫 饫+飭 饬+飯 饭+飱 飧+飲 饮+飴 饴+飵 𫗢+飶 𫗣+飼 饲+飽 饱+飾 饰+飿 饳+餃 饺+餄 饸+餅 饼+餈 糍+餉 饷+養 养+餌 饵+餎 饹+餏 饻+餑 饽+餒 馁+餓 饿+餔 𫗦+餕 馂+餖 饾+餗 𫗧+餘 余 馀+餚 肴+餛 馄+餜 馃+餞 饯+餡 馅+餦 𫗠+餧 𫗪+館 馆+餪 𫗬+餫 𫗥+餬 糊 𫗫+餭 𫗮+餱 糇 𫗯+餳 饧+餵 喂 𫗭+餶 馉+餷 馇+餸 𩠌+餺 馎+餼 饩+餾 馏+餿 馊+饁 馌+饃 馍+饅 馒+饈 馐+饉 馑+饊 馓+饋 馈+饌 馔+饑 饥+饒 饶+饗 飨+饘 𫗴+饜 餍+饞 馋+饟 𫗵+饠 𫗩+饢 馕+馬 马+馭 驭+馮 冯+馯 𫘛+馱 驮+馳 驰+馴 驯+馹 驲+馼 𫘜+駁 驳+駃 𫘝+駉 𬳶+駊 𫘟+駎 𩧨+駐 驻+駑 驽+駒 驹+駓 𬳵+駔 驵+駕 驾+駘 骀+駙 驸+駚 𩧫+駛 驶+駝 驼+駞 𫘞+駟 驷+駡 骂+駢 骈+駤 𫘠+駧 𩧲+駩 𩧴+駪 𬳽+駫 𫘡+駭 骇+駰 骃+駱 骆+駶 𩧺+駸 骎+駻 𫘣+駼 𬳿+駿 骏+騁 骋+騂 骍+騃 𫘤+騄 𫘧+騅 骓+騉 𫘥+騊 𫘦+騌 骔+騍 骒+騎 骑+騏 骐+騑 𬴂+騔 𩨀+騖 骛+騙 骗+騚 𩨊+騜 𫘩+騝 𩨃+騞 𬴃+騟 𩨈+騠 𫘨+騤 骙+騧 䯄+騪 𩨄+騫 骞+騭 骘+騮 骝+騰 腾+騱 𫘬+騴 𫘫+騵 𫘪+騶 驺+騷 骚+騸 骟+騻 𫘭+騼 𫠋+騾 骡+驀 蓦+驁 骜+驂 骖+驃 骠+驄 骢 𩨂+驅 驱+驊 骅+驋 𩧯+驌 骕+驍 骁+驎 𬴊+驏 骣+驓 𫘯+驕 骄+驗 验+驙 𫘰+驚 惊+驛 驿+驟 骤+驢 驴+驤 骧+驥 骥+驦 骦+驨 𫘱+驪 骊+驫 骉+骯 肮+髏 髅+髒 脏+體 体+髕 髌+髖 髋+髮 发+鬆 松+鬍 胡+鬖 𩭹+鬚 须+鬠 𫘽+鬢 鬓+鬥 斗+鬧 闹+鬨 哄+鬩 阋+鬮 阄+鬱 郁+鬹 鬶+魎 魉+魘 魇+魚 鱼+魛 鱽+魟 𫚉+魢 鱾+魥 𩽹+魦 𫚌+魨 鲀+魯 鲁+魴 鲂+魵 𫚍+魷 鱿+魺 鲄+魽 𫠐+鮀 𬶍+鮁 鲅+鮃 鲆+鮄 𫚒+鮅 𫚑+鮆 𫚖+鮈 𬶋+鮊 鲌+鮋 鲉+鮍 鲏+鮎 鲇+鮐 鲐+鮑 鲍+鮒 鲋+鮓 鲊+鮚 鲒+鮜 鲘+鮝 鲞+鮞 鲕+鮟 𩽾+鮠 𬶏+鮡 𬶐+鮣 䲟+鮤 𫚓+鮦 鲖+鮪 鲔+鮫 鲛+鮭 鲑+鮮 鲜+鮯 𫚗+鮰 𫚔+鮳 鲓+鮵 𫚛+鮶 鲪+鮸 𩾃+鮺 鲝+鮿 𫚚+鯀 鲧+鯁 鲠+鯄 𩾁+鯆 𫚙+鯇 鲩+鯉 鲤+鯊 鲨+鯒 鲬+鯔 鲻+鯕 鲯+鯖 鲭+鯗 鲞+鯛 鲷+鯝 鲴+鯞 𫚡+鯡 鲱+鯢 鲵+鯤 鲲+鯧 鲳+鯨 鲸+鯪 鲮+鯫 鲰+鯬 𫚞+鯰 鲶+鯱 𩾇+鯴 鲺+鯶 𩽼+鯷 鳀+鯻 𬶟+鯽 鲫+鯾 𫚣+鯿 鳊+鰁 鳈+鰂 鲗+鰃 鳂+鰆 䲠+鰈 鲽+鰉 鳇+鰊 𬶠+鰋 𫚢+鰌 䲡+鰍 鳅+鰏 鲾+鰐 鳄+鰑 𫚊+鰒 鳆+鰓 鳃+鰕 𫚥+鰛 鳁+鰜 鳒+鰟 鳑+鰠 鳋+鰣 鲥+鰤 𫚕+鰥 鳏+鰦 𫚤+鰧 䲢+鰨 鳎+鰩 鳐+鰫 𫚦+鰭 鳍+鰮 鳁+鰱 鲢+鰲 鳌+鰳 鳓+鰵 鳘+鰶 𬶭+鰷 鲦+鰹 鲣+鰺 鲹+鰻 鳗+鰼 鳛+鰽 𫚧+鰾 鳔+鱀 𬶨+鱂 鳉+鱄 𫚋+鱅 鳙+鱆 𫠒+鱇 𩾌+鱈 鳕+鱉 鳖+鱊 𫚪+鱒 鳟+鱔 鳝+鱖 鳜+鱗 鳞+鱘 鲟+鱚 𬶮+鱝 鲼+鱟 鲎+鱠 鲙+鱢 𫚫+鱣 鳣+鱤 鳡+鱧 鳢+鱨 鲿+鱭 鲚+鱮 𫚈+鱯 鳠+鱲 𫚭+鱷 鳄+鱸 鲈+鱺 鲡+鳥 鸟+鳧 凫+鳩 鸠+鳬 凫+鳲 鸤+鳳 凤+鳴 鸣+鳶 鸢+鳷 𫛛+鳼 𪉃+鳽 𫛚+鳾 䴓+鴀 𫛜+鴃 𫛞+鴅 𫛝+鴆 鸩+鴇 鸨+鴉 鸦+鴐 𫛤+鴒 鸰+鴔 𫛡+鴕 鸵+鴗 𫁡+鴛 鸳+鴜 𪉈+鴝 鸲+鴞 鸮+鴟 鸱+鴣 鸪+鴥 𫛣+鴦 鸯+鴨 鸭+鴮 𫛦+鴯 鸸+鴰 鸹+鴲 𪉆+鴳 𫛩+鴴 鸻+鴷 䴕+鴻 鸿+鴽 𫛪+鴿 鸽+鵁 䴔+鵂 鸺+鵃 鸼+鵊 𫛥+鵏 𬷕+鵐 鹀+鵑 鹃+鵒 鹆+鵓 鹁+鵚 𪉍+鵜 鹈+鵝 鹅+鵟 𫛭+鵠 鹄+鵡 鹉+鵧 𫛨+鵩 𫛳+鵪 鹌+鵫 𫛱+鵬 鹏+鵮 鹐+鵯 鹎+鵰 雕 𫛲+鵲 鹊+鵷 鹓+鵾 鹍+鶄 䴖+鶇 鸫+鶉 鹑+鶊 鹒+鶌 𫛵+鶒 𫛶+鶓 鹋+鶖 鹙+鶗 𫛸+鶘 鹕+鶚 鹗+鶠 𬸘+鶡 鹖+鶥 鹛+鶦 𫛷+鶩 鹜+鶪 䴗+鶬 鸧+鶭 𫛯+鶯 莺+鶰 𫛫+鶱 𬸣+鶲 鹟+鶴 鹤+鶹 鹠+鶺 鹡+鶻 鹘+鶼 鹣+鶿 鹚+鷀 鹚+鷁 鹢+鷂 鹞+鷄 鸡+鷅 𫛽+鷉 䴘+鷊 鹝+鷐 𫜀+鷓 鹧+鷔 𪉑+鷖 鹥+鷗 鸥+鷙 鸷+鷚 鹨+鷟 𬸦+鷣 𫜃+鷤 𫛴+鷥 鸶+鷦 鹪+鷨 𪉊+鷩 𫜁+鷫 鹔+鷭 𬸪+鷯 鹩+鷲 鹫+鷳 鹇+鷴 鹇+鷷 𫜄+鷸 鹬+鷹 鹰+鷺 鹭+鷽 鸴+鷿 𬸯+鸂 㶉+鸇 鹯+鸊 䴙+鸋 𫛢+鸌 鹱+鸏 鹲+鸑 𬸚+鸕 鸬+鸗 𫛟+鸘 鹴+鸚 鹦+鸛 鹳+鸝 鹂+鸞 鸾+鹵 卤+鹹 咸+鹺 鹾+鹼 碱+鹽 盐+麗 丽+麥 麦+麨 𪎊+麩 麸+麪 面 麺+麫 面+麬 𤿲+麯 曲+麲 𪎉+麳 𪎌+麴 曲 麹+麵 面 麺+麷 𫜑+麼 么 麽+麽 么 麽+黃 黄+黌 黉+點 点+黨 党+黲 黪+黴 霉+黶 黡+黷 黩+黽 黾+黿 鼋+鼂 鼌+鼉 鼍+鼕 冬+鼴 鼹+齊 齐+齋 斋+齎 赍+齏 齑+齒 齿+齔 龀+齕 龁+齗 龂+齘 𬹼+齙 龅+齜 龇+齟 龃+齠 龆+齡 龄+齣 出+齦 龈+齧 啮 𫜩+齩 𫜪+齪 龊+齬 龉+齭 𫜭+齮 𬺈+齯 𫠜+齰 𫜬+齲 龋+齴 𫜮+齶 腭+齷 龌+齼 𬺓+齾 𫜰+龍 龙+龎 厐+龐 庞+龑 䶮+龓 𫜲+龔 龚+龕 龛+龜 龟+龭 𩨎+龯 𨱆+鿁 䜤+鿓 鿒+𠁞 𠀾+𠌥 𠆿+𠏢 𠉗+𠐊 𫝋+𠗣 㓆+𠞆 𠛆+𠠎 𠚳+𠬙 𪠡+𠽃 𪠺+𠿕 𪜎+𡂡 𪢒+𡃄 𪡺+𡃕 𠴛+𡃤 𪢐+𡄔 𠴢+𡄣 𠵸+𡅏 𠲥+𡅯 𪢖+𡑍 𫭼+𡑭 𡋗+𡓁 𪤄+𡓾 𡋀+𡔖 𡍣+𡞵 㛟+𡟫 𫝪+𡠹 㛿+𡢃 㛠+𡮉 𡭜+𡮣 𡭬+𡳳 𡳃+𡸗 𪨩+𡹬 𪨹+𡻕 岁+𡽗 𡸃+𡾱 㟜+𡿖 𪩛+𢍰 𪪴+𢠼 𢙑+𢣐 𪬚+𢣚 𢘝+𢣭 𢘞+𢤩 𪫡+𢤱 𢘙+𢤿 𪬯+𢯷 𪭝+𢶒 𪭯+𢶫 𢫞+𢷮 𢫊+𢹿 𢬦+𢺳 𪮳+𣈶 暅+𣋋 𣈣+𣍐 𫧃+𣙎 㭣+𣜬 𪳗+𣝕 𣘷+𣞻 𣘓+𣠩 𣞎+𣠲 𣑶+𣯩 𣯣+𣯴 𣭤+𣯶 毶+𣽏 𪶮+𣾷 㳢+𣿉 𣶫+𤁣 𣺽+𤄷 𪶒+𤅶 𣷷+𤑳 𤎻+𤑹 𪹀+𤒎 𤊀+𤒻 𪹹+𤓌 𪹠+𤓎 𤎺+𤓩 𤊰+𤘀 𪺣+𤛮 𤙯+𤛱 𫞢+𤜆 𪺪+𤠮 𪺸+𤢟 𤝢+𤢻 𢢐+𤩂 𫞧+𤪺 㻘+𤫩 㻏+𤬅 𪼴+𤳷 𪽝+𤳸 𤳄+𤷃 𪽭+𤸫 𤶧+𤺔 𪽴+𥊝 𥅿+𥌃 𥅘+𥏝 𪿊+𥕥 𥐰+𥖅 𥐯+𥖲 𪿞+𥗇 𪿵+𥗽 𬒗+𥜐 𫀓+𥜰 𫀌+𥞵 𥞦+𥢢 䅪+𥢶 𫞷+𥢷 𫀮+𥨐 𥧂+𥪂 𥩺+𥯤 𫁳+𥴨 𫂖+𥴼 𫁺+𥵃 𥱔+𥵊 𥭉+𥶽 𫁱+𥸠 𥮋+𥻦 𫂿+𥼽 𥹥+𥽖 𥺇+𥾯 𫄝+𥿊 𦈈+𦀖 𫄦+𦂅 𦈒+𦃄 𦈗+𦃩 𫄯+𦅇 𫄪+𦅈 𫄵+𦆲 𫟇+𦒀 𫅥+𦔖 𫅼+𦘧 𡳒+𦟼 𫆝+𦠅 𫞅+𦡝 𫆫+𦢈 𣍨+𦣎 𦟗+𦧺 𫇘+𦪙 䑽+𦪽 𦨩+𦱌 𫇪+𦾟 𦶻+𧎈 𧌥+𧒯 𫊹+𧔥 𧒭+𧕟 𧉐+𧜗 䘞+𧜵 䙊+𧝞 䘛+𧞫 𫌋+𧟀 𧝧+𧡴 𫌫+𧢄 𫌬+𧦝 𫍞+𧦧 𫍟+𧩕 𫍭+𧩙 䜥+𧩼 𫍶+𧫝 𫍺+𧬤 𫍼+𧭈 𫍾+𧭹 𫍐+𧳟 𧳕+𧵳 䞌+𧶔 𧹓+𧶧 䞎+𧷎 𪠀+𧸘 𫎨+𧹈 𪥠+𧽯 𫎸+𨂐 𫏌+𨄣 𨀱+𨅍 𨁴+𨆪 𫏕+𨇁 𧿈+𨇞 𨅫+𨇤 𫏨+𨇰 𫏞+𨇽 𫏑+𨈊 𨂺+𨈌 𨄄+𨊰 䢀+𨊸 䢁+𨊻 𨐆+𨋢 䢂+𨌈 𫐍+𨍰 𫐔+𨎌 𫐋+𨎮 𨐉+𨏠 𨐇+𨏥 𨐊+𨞺 𫟫+𨟊 𫟬+𨢿 𨡙+𨣈 𨡺+𨣞 𨟳+𨣧 𨠨+𨤻 𨤰+𨥛 𨱀+𨥟 𫓫+𨦫 䦀+𨧀 𬭊+𨧜 䦁+𨧰 𫟽+𨧱 𨱊+𨨏 𬭛+𨨛 𫓼+𨨢 𫓿+𨩰 𫟾+𨪕 𫓮+𨫒 𨱐+𨬖 𫔏+𨭆 𬭶+𨭎 𬭳+𨭖 𫔑+𨭸 𫔐+𨮂 𨱕+𨮳 𫔒+𨯅 䥿+𨯟 𫔓+𨰃 𫔉+𨰋 𫓳+𨰥 𫔕+𨰲 𫔃+𨲳 𫔖+𨳑 𨸁+𨳕 𨸀+𨴗 𨸅+𨴹 𫔲+𨵩 𨸆+𨵸 𨸇+𨶀 𨸉+𨶏 𨸊+𨶮 𨸌+𨶲 𨸋+𨷲 𨸎+𨼳 𫔽+𨽏 𨸘+𩀨 𫕚+𩅙 𫕨+𩎖 𫖑+𩎢 𩏾+𩏂 𫖓+𩏠 𫖖+𩏪 𩏽+𩏷 𫃗+𩑔 𫖪+𩒎 𫖭+𩓣 𩖕+𩓥 𫖵+𩔑 𫖷+𩔳 𫖴+𩖰 𫠇+𩗀 𩙦+𩗓 𫗈+𩗴 𫗉+𩘀 𩙩+𩘝 𩙭+𩘹 𩙨+𩘺 𩙬+𩙈 𩙰+𩚛 𩟿+𩚥 𩠀+𩚩 𫗡+𩚵 𩠁+𩛆 𩠂+𩛌 𫗤+𩛡 𫗨+𩛩 𩠃+𩜇 𩠉+𩜦 𩠆+𩜵 𩠊+𩝔 𩠋+𩝽 𫗳+𩞄 𩠎+𩞦 𩠏+𩞯 䭪+𩟐 𩠅+𩟗 𫗚+𩠴 𩠠+𩡣 𩡖+𩡺 𩧦+𩢡 𩧬+𩢴 𩧵+𩢸 𩧳+𩢾 𩧮+𩣏 𩧶+𩣑 䯃+𩣫 𩧸+𩣵 𩧻+𩣺 𩧼+𩤊 𩧩+𩤙 𩨆+𩤲 𩨉+𩤸 𩨅+𩥄 𩨋+𩥇 𩨍+𩥉 𩧱+𩥑 𩨌+𩦠 𫠌+𩧆 𩨐+𩭙 𩬣+𩯁 𫙂+𩯳 𩯒+𩰀 𩬤+𩰹 𩰰+𩳤 𩲒+𩴵 𩴌+𩵦 𫠏+𩵩 𩽺+𩵹 𩽻+𩶁 𫚎+𩶘 䲞+𩶰 𩽿+𩶱 𩽽+𩷰 𩾄+𩸃 𩾅+𩸄 𫚝+𩸡 𫚟+𩸦 𩾆+𩻗 𫚨+𩻬 𫚩+𩻮 𫚘+𩼶 𫚬+𩽇 𩾎+𩿅 𫠖+𩿤 𫛠+𩿪 𪉄+𪀖 𫛧+𪀦 𪉅+𪀾 𪉋+𪁈 𪉉+𪁖 𪉌+𪂆 𪉎+𪃍 𪉐+𪃏 𪉏+𪃒 𫛻+𪃧 𫛹+𪄆 𪉔+𪄕 𪉒+𪅂 𫜂+𪆷 𫛾+𪇳 𪉕+𪈼 𱊜+𪉸 𫜊+𪋿 𫧮+𪌭 𫜓+𪍠 𫜕+𪓰 𫜟+𪔵 𪔭+𪘀 𪚏+𪘯 𪚐+𪙏 𫜯+𪟖 𠛾+𪷓 𣶭+𫒡 𫓷+𫜦 𫜫diff --git a/internal/textconv/data/TSPhrases.txt b/internal/textconv/data/TSPhrases.txtnew file mode 100644index 000000000..36e4dec4d--- /dev/null+++ b/internal/textconv/data/TSPhrases.txt@@ -0,0 +1,277 @@+一目瞭然 一目了然+上鍊 上链+不瞭解 不了解+么麼 幺麽+么麽 幺麽+乾乾淨淨 干干净净+乾乾脆脆 干干脆脆+乾元 乾元+乾卦 乾卦+乾嘉 乾嘉+乾圖 乾图+乾坤 乾坤+乾坤一擲 乾坤一掷+乾坤再造 乾坤再造+乾坤大挪移 乾坤大挪移+乾宅 乾宅+乾斷 乾断+乾旦 乾旦+乾曜 乾曜+乾清宮 乾清宫+乾盛世 乾盛世+乾紅 乾红+乾綱 乾纲+乾縣 乾县+乾象 乾象+乾造 乾造+乾道 乾道+乾陵 乾陵+乾隆 乾隆+乾隆年間 乾隆年间+乾隆皇帝 乾隆皇帝+二噁英 二𫫇英+以免藉口 以免借口+以功覆過 以功复过+侔德覆載 侔德复载+傢俱 家具+傷亡枕藉 伤亡枕藉+八濛山 八濛山+凌藉 凌借+出醜狼藉 出丑狼藉+函覆 函复+千鍾粟 千锺粟+反反覆覆 反反复复+反覆 反复+反覆思維 反复思维+反覆思量 反复思量+反覆性 反复性+名覆金甌 名复金瓯+哪吒 哪吒+回覆 回复+壺裏乾坤 壶里乾坤+大目乾連冥間救母變文 大目乾连冥间救母变文+宫商角徵羽 宫商角徵羽+射覆 射复+尼乾陀 尼乾陀+幺麼 幺麽+幺麼小丑 幺麽小丑+幺麼小醜 幺麽小丑+康乾 康乾+張法乾 张法乾+彷彿 仿佛+彷徨 彷徨+徵弦 徵弦+徵絃 徵弦+徵羽摩柯 徵羽摩柯+徵聲 徵声+徵調 徵调+徵音 徵音+情有獨鍾 情有独钟 情有独锺+憑藉 凭借+憑藉着 凭借着+手鍊 手链+扭轉乾坤 扭转乾坤+找藉口 找借口+拉鍊 拉链+拉鍊工程 拉链工程+拜覆 拜复+據瞭解 据了解+文錦覆阱 文锦复阱+於世成 於世成+於乎 於乎+於仲完 於仲完+於倫 於伦+於其一 於其一+於則 於则+於勇明 於勇明+於呼哀哉 於呼哀哉+於單 於单+於坦 於坦+於崇文 於崇文+於忠祥 於忠祥+於惟一 於惟一+於戲 於戏+於敖 於敖+於梨華 於梨华+於清言 於清言+於潛 於潜+於琳 於琳+於穆 於穆+於竹屋 於竹屋+於菟 於菟+於邑 於邑+於陵子 於陵子+旋乾轉坤 旋乾转坤+旋轉乾坤 旋转乾坤+旋轉乾坤之力 旋转乾坤之力+明瞭 明了+明覆 明复+書中自有千鍾粟 书中自有千锺粟+有序 有序+朝乾夕惕 朝乾夕惕+木吒 木吒+李乾德 李乾德+李澤鉅 李泽钜+李鍊福 李链福+李鍾郁 李锺郁+樊於期 樊於期+沈沒 沉没+沈沒成本 沉没成本+沈積 沉积+沈船 沉船+沈默 沉默+流徵 流徵+浪蕩乾坤 浪荡乾坤+滑藉 滑借+無序 无序+牴牾 抵牾+牴觸 抵触+狐藉虎威 狐借虎威+珍珠項鍊 珍珠项链+甚鉅 甚钜+申覆 申复+畢昇 毕昇+發覆 发复+瞭如 了如+瞭如指掌 了如指掌+瞭望 瞭望+瞭然 了然+瞭然於心 了然于心+瞭若指掌 了若指掌+瞭解 了解+瞭解到 了解到+示覆 示复+神祇 神祇+稟覆 禀复+竺乾 竺乾+答覆 答复+篤麼 笃麽+簡單明瞭 简单明了+籌畫 筹划+素藉 素借+老態龍鍾 老态龙钟 老态龙锺+肘手鍊足 肘手链足+茵藉 茵借+萬鍾 万锺+蒜薹 蒜薹+蕓薹 芸薹+蕩覆 荡复+蕭乾 萧乾+藉代 借代+藉以 借以+藉助 借助+藉助於 借助于+藉卉 借卉+藉口 借口+藉喻 借喻+藉寇兵 借寇兵+藉寇兵齎盜糧 借寇兵赍盗粮+藉手 借手+藉據 借据+藉故 借故+藉故推辭 借故推辞+藉方 借方+藉條 借条+藉槁 借槁+藉機 借机+藉此 借此+藉此機會 借此机会+藉甚 借甚+藉由 借由+藉着 借着+藉端 借端+藉端生事 借端生事+藉箸代籌 借箸代筹+藉草枕塊 借草枕块+藉藉 藉藉+藉藉无名 藉藉无名+藉詞 借词+藉讀 借读+藉資 借资+衹得 只得+衹見樹木 只见树木+衹見樹木不見森林 只见树木不见森林+袖裏乾坤 袖里乾坤+覆上 复上+覆住 复住+覆信 复信+覆冒 复冒+覆呈 复呈+覆命 复命+覆墓 复墓+覆宗 复宗+覆帳 复帐+覆幬 复帱+覆成 复成+覆按 复按+覆文 复文+覆杯 复杯+覆校 复校+覆瓿 复瓿+覆盂 复盂+覆盆 覆盆+覆盆子 覆盆子+覆盤 覆盘+覆育 复育+覆蕉尋鹿 复蕉寻鹿+覆逆 复逆+覆醢 复醢+覆醬瓿 复酱瓿+覆電 复电+覆露 复露+覆鹿尋蕉 复鹿寻蕉+覆鹿遺蕉 复鹿遗蕉+覆鼎 复鼎+見覆 见复+角徵 角徵+角徵羽 角徵羽+計畫 计划+變徵 变徵+變徵之聲 变徵之声+變徵之音 变徵之音+貂覆額 貂复额+買臣覆水 买臣复水+踅門瞭戶 踅门了户+躪藉 躏借+郭子乾 郭子乾+酒逢知己千鍾少 酒逢知己千锺少+酒逢知己千鍾少話不投機半句多 酒逢知己千锺少话不投机半句多+醞藉 酝借+重覆 重复+金吒 金吒+金鍊 金链+鈞覆 钧复+鉅子 钜子+鉅萬 钜万+鉅防 钜防+鉸鍊 铰链+銀鍊 银链+錢鍾書 钱锺书+鍊墜 链坠+鍊子 链子+鍊形 链形+鍊條 链条+鍊錘 链锤+鍊鎖 链锁+鍛鍾 锻锺+鍾繇 钟繇 锺繇+鍾萬梅 锺万梅+鍾重發 锺重发+鍾鍛 锺锻+鍾馗 锺馗+鎖鍊 锁链+鐵鍊 铁链+鑽石項鍊 钻石项链+雁杳魚沈 雁杳鱼沉+雖覆能復 虽覆能复+電覆 电复+露覆 露复+項鍊 项链+頗覆 颇复+頸鍊 颈链+顛乾倒坤 颠乾倒坤+顛倒乾坤 颠倒乾坤+顧藉 顾借+麼些族 麽些族+黄鍾公 黄锺公+龍鍾 龙钟 龙锺diff --git a/internal/textconv/simplified.go b/internal/textconv/simplified.gonew file mode 100644index 000000000..a574a82a8--- /dev/null+++ b/internal/textconv/simplified.go@@ -0,0 +1,80 @@+// Package textconv provides the text conversion used by FAQ normalization.+package textconv++import (+ _ "embed"+ "strings"+ "unicode/utf8"+)++// These Apache-2.0 dictionaries are pinned to the previous converter's data.+// See data/README.md for provenance and licenses/OpenCC-Apache-2.0.txt.+//+//go:embed data/TSPhrases.txt+var phrasesText string++//go:embed data/TSCharacters.txt+var charactersText string++var traditionalToSimplified = newConverter(phrasesText, charactersText)++type dictionary struct {+ values map[string]string+ maxRunes int+}++type converter []dictionary++func newConverter(texts ...string) converter {+ result := make(converter, 0, len(texts))+ for _, text := range texts {+ d := dictionary{values: make(map[string]string)}+ for line := range strings.SplitSeq(text, "\n") {+ key, alternatives, ok := strings.Cut(strings.TrimSpace(line), "\t")+ values := strings.Fields(alternatives)+ if !ok || key == "" || len(values) == 0 {+ continue+ }+ d.values[key] = values[0]+ d.maxRunes = max(d.maxRunes, utf8.RuneCountInString(key))+ }+ result = append(result, d)+ }+ return result+}++// ToSimplified preserves the historical FAQ conversion: phrase dictionary+// before character dictionary, longest match within each, first alternative.+// Dictionaries are read-only after initialization, so conversion is concurrent-safe.+func ToSimplified(text string) string {+ return traditionalToSimplified.convert(text)+}++func (c converter) convert(text string) string {+ runes := []rune(text)+ var result strings.Builder+ result.Grow(len(text))+ for pos := 0; pos < len(runes); {+ matched := false+ for _, d := range c {+ // The previous converter searched at most ten input runes.+ limit := min(10, d.maxRunes, len(runes)-pos)+ for size := limit; size > 0; size-- {+ if replacement, ok := d.values[string(runes[pos:pos+size])]; ok {+ result.WriteString(replacement)+ pos += size+ matched = true+ break+ }+ }+ if matched {+ break+ }+ }+ if !matched {+ result.WriteRune(runes[pos])+ pos+++ }+ }+ return result.String()+}diff --git a/internal/textconv/simplified_test.go b/internal/textconv/simplified_test.gonew file mode 100644index 000000000..b434e12d7--- /dev/null+++ b/internal/textconv/simplified_test.go@@ -0,0 +1,61 @@+package textconv++import (+ "crypto/sha256"+ "fmt"+ "strings"+ "testing"+)++func TestToSimplified(t *testing.T) {+ for _, tc := range []struct{ input, want string }{+ {"", ""},+ {"請聯繫客服,開發環境", "请联系客服,开发环境"},+ {"乾隆年間乾乾淨淨的頭髮", "乾隆年间干干净净的头发"},+ {"一目瞭然,不瞭解?", "一目了然,不了解?"},+ {"😀臺灣ABC𠮷\x00後", "😀台湾ABC𠮷\x00后"},+ } {+ t.Run(tc.input, func(t *testing.T) {+ t.Parallel()+ if got := ToSimplified(tc.input); got != tc.want {+ t.Errorf("ToSimplified(%q) = %q, want %q", tc.input, got, tc.want)+ }+ })+ }+}++// Captured from longbridgeapp/opencc v0.3.13's t2s conversion before removing+// that dependency. Every dictionary key is exercised alone, in context and+// repeated. Changing this digest requires reviewing FAQ hash compatibility.+func TestHistoricalConversionCorpus(t *testing.T) {+ h := sha256.New()+ count := 0+ check := func(input string) {+ if _, err := fmt.Fprintf(h, "%s\x00%s\x00", input, ToSimplified(input)); err != nil {+ t.Fatal(err)+ }+ count+++ }+ for _, data := range []string{phrasesText, charactersText} {+ for _, line := range strings.Split(strings.TrimSuffix(data, "\n"), "\n") {+ key, _, _ := strings.Cut(line, "\t")+ for _, input := range []string{key, "前" + key + "後", key + key} {+ check(input)+ }+ }+ }+ for _, input := range []string{"乾隆年間乾乾淨淨的頭髮", "一目瞭然,不瞭解?", "請聯繫客服,開發環境", "😀臺灣ABC𠮷\x00後", "乾坤大挪移", "著作權與軟體開發", ""} {+ check(input)+ }+ const want = "f3afa240ee7460932bbef67207d23302c5d9722b70c1f706ce071d2f35bfbcc0"+ if got := fmt.Sprintf("%x", h.Sum(nil)); got != want || count != 13177 {+ t.Fatalf("historical conversion changed: count=%d digest=%s, want 13177/%s", count, got, want)+ }+}++func TestDictionaryPrecedenceAndAlternatives(t *testing.T) {+ c := newConverter("甲乙\t首選 次選\n甲乙丙\t最長\n", "甲乙丙丁\t不應優先\n丁\t尾\n")+ if got := c.convert("甲乙丙丁甲乙"); got != "最長尾首選" {+ t.Fatalf("phrase precedence/longest match/first alternative changed: %q", got)+ }+}diff --git a/internal/types/faq.go b/internal/types/faq.goindex ecb515d68..c0da41ec0 100644--- a/internal/types/faq.go+++ b/internal/types/faq.go@@ -10,7 +10,7 @@ import ("time""unicode"- "github.com/longbridgeapp/opencc"+ "github.com/Tencent/WeKnora/internal/textconv")// FAQChunkMetadata 定义 FAQ 条目在 Chunk.Metadata 中的结构@@ -571,18 +571,6 @@ const (URLKeepDomainAndPath)-// t2sConverter 繁体转简体转换器(单例)-var t2sConverter *opencc.OpenCC--func init() {- var err error- t2sConverter, err = opencc.New("t2s") // Traditional to Simplified- if err != nil {- // 初始化失败时使用空转换器,不影响其他功能- t2sConverter = nil- }-}-// NormalizeQuestion 对问题文本进行归一化处理以提高向量匹配命中率// 处理顺序参考: query = convert_st(trim_url(query.lower().strip().strip("?。,;、:""!?.,;!:'\"")), 1)// 1. 去除首尾空白@@ -749,14 +737,7 @@ func parseURL(raw string) (domain, path string) {// toSimplified 繁体中文转简体中文func toSimplified(s string) string {- if t2sConverter == nil {- return s- }- result, err := t2sConverter.Convert(s)- if err != nil {- return s- }- return result+ return textconv.ToSimplified(s)}// toHalfWidth 将全角字符转换为半角字符diff --git a/licenses/OpenCC-Apache-2.0.txt b/licenses/OpenCC-Apache-2.0.txtnew file mode 100644index 000000000..261eeb9e9--- /dev/null+++ b/licenses/OpenCC-Apache-2.0.txt@@ -0,0 +1,201 @@+ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/licenses/Wails-MIT.txt b/licenses/Wails-MIT.txtnew file mode 100644index 000000000..28f2a3683--- /dev/null+++ b/licenses/Wails-MIT.txt@@ -0,0 +1,21 @@+MIT License++Copyright (c) 2018-Present Lea Anthony++Permission is hereby granted, free of charge, to any person obtaining a copy+of this software and associated documentation files (the "Software"), to deal+in the Software without restriction, including without limitation the rights+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell+copies of the Software, and to permit persons to whom the Software is+furnished to do so, subject to the following conditions:++The above copyright notice and this permission notice shall be included in all+copies or substantial portions of the Software.++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE+SOFTWARE.diff --git a/licenses/go-m1cpu-MPL-2.0.txt b/licenses/go-m1cpu-MPL-2.0.txtnew file mode 100644index 000000000..be2cc4dfb--- /dev/null+++ b/licenses/go-m1cpu-MPL-2.0.txt@@ -0,0 +1,362 @@+Mozilla Public License, version 2.0++1. Definitions++1.1. "Contributor"++ means each individual or legal entity that creates, contributes to the+ creation of, or owns Covered Software.++1.2. "Contributor Version"++ means the combination of the Contributions of others (if any) used by a+ Contributor and that particular Contributor's Contribution.++1.3. "Contribution"++ means Covered Software of a particular Contributor.++1.4. "Covered Software"++ means Source Code Form to which the initial Contributor has attached the+ notice in Exhibit A, the Executable Form of such Source Code Form, and+ Modifications of such Source Code Form, in each case including portions+ thereof.++1.5. "Incompatible With Secondary Licenses"+ means++ a. that the initial Contributor has attached the notice described in+ Exhibit B to the Covered Software; or++ b. that the Covered Software was made available under the terms of+ version 1.1 or earlier of the License, but not also under the terms of+ a Secondary License.++1.6. "Executable Form"++ means any form of the work other than Source Code Form.++1.7. "Larger Work"++ means a work that combines Covered Software with other material, in a+ separate file or files, that is not Covered Software.++1.8. "License"++ means this document.++1.9. "Licensable"++ means having the right to grant, to the maximum extent possible, whether+ at the time of the initial grant or subsequently, any and all of the+ rights conveyed by this License.++1.10. "Modifications"++ means any of the following:++ a. any file in Source Code Form that results from an addition to,+ deletion from, or modification of the contents of Covered Software; or++ b. any new file in Source Code Form that contains any Covered Software.++1.11. "Patent Claims" of a Contributor++ means any patent claim(s), including without limitation, method,+ process, and apparatus claims, in any patent Licensable by such+ Contributor that would be infringed, but for the grant of the License,+ by the making, using, selling, offering for sale, having made, import,+ or transfer of either its Contributions or its Contributor Version.++1.12. "Secondary License"++ means either the GNU General Public License, Version 2.0, the GNU Lesser+ General Public License, Version 2.1, the GNU Affero General Public+ License, Version 3.0, or any later versions of those licenses.++1.13. "Source Code Form"++ means the form of the work preferred for making modifications.++1.14. "You" (or "Your")++ means an individual or a legal entity exercising rights under this+ License. For legal entities, "You" includes any entity that controls, is+ controlled by, or is under common control with You. For purposes of this+ definition, "control" means (a) the power, direct or indirect, to cause+ the direction or management of such entity, whether by contract or+ otherwise, or (b) ownership of more than fifty percent (50%) of the+ outstanding shares or beneficial ownership of such entity.+++2. License Grants and Conditions++2.1. Grants++ Each Contributor hereby grants You a world-wide, royalty-free,+ non-exclusive license:++ a. under intellectual property rights (other than patent or trademark)+ Licensable by such Contributor to use, reproduce, make available,+ modify, display, perform, distribute, and otherwise exploit its+ Contributions, either on an unmodified basis, with Modifications, or+ as part of a Larger Work; and++ b. under Patent Claims of such Contributor to make, use, sell, offer for+ sale, have made, import, and otherwise transfer either its+ Contributions or its Contributor Version.++2.2. Effective Date++ The licenses granted in Section 2.1 with respect to any Contribution+ become effective for each Contribution on the date the Contributor first+ distributes such Contribution.++2.3. Limitations on Grant Scope++ The licenses granted in this Section 2 are the only rights granted under+ this License. No additional rights or licenses will be implied from the+ distribution or licensing of Covered Software under this License.+ Notwithstanding Section 2.1(b) above, no patent license is granted by a+ Contributor:++ a. for any code that a Contributor has removed from Covered Software; or++ b. for infringements caused by: (i) Your and any other third party's+ modifications of Covered Software, or (ii) the combination of its+ Contributions with other software (except as part of its Contributor+ Version); or++ c. under Patent Claims infringed by Covered Software in the absence of+ its Contributions.++ This License does not grant any rights in the trademarks, service marks,+ or logos of any Contributor (except as may be necessary to comply with+ the notice requirements in Section 3.4).++2.4. Subsequent Licenses++ No Contributor makes additional grants as a result of Your choice to+ distribute the Covered Software under a subsequent version of this+ License (see Section 10.2) or under the terms of a Secondary License (if+ permitted under the terms of Section 3.3).++2.5. Representation++ Each Contributor represents that the Contributor believes its+ Contributions are its original creation(s) or it has sufficient rights to+ grant the rights to its Contributions conveyed by this License.++2.6. Fair Use++ This License is not intended to limit any rights You have under+ applicable copyright doctrines of fair use, fair dealing, or other+ equivalents.++2.7. Conditions++ Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted in+ Section 2.1.+++3. Responsibilities++3.1. Distribution of Source Form++ All distribution of Covered Software in Source Code Form, including any+ Modifications that You create or to which You contribute, must be under+ the terms of this License. You must inform recipients that the Source+ Code Form of the Covered Software is governed by the terms of this+ License, and how they can obtain a copy of this License. You may not+ attempt to alter or restrict the recipients' rights in the Source Code+ Form.++3.2. Distribution of Executable Form++ If You distribute Covered Software in Executable Form then:++ a. such Covered Software must also be made available in Source Code Form,+ as described in Section 3.1, and You must inform recipients of the+ Executable Form how they can obtain a copy of such Source Code Form by+ reasonable means in a timely manner, at a charge no more than the cost+ of distribution to the recipient; and++ b. You may distribute such Executable Form under the terms of this+ License, or sublicense it under different terms, provided that the+ license for the Executable Form does not attempt to limit or alter the+ recipients' rights in the Source Code Form under this License.++3.3. Distribution of a Larger Work++ You may create and distribute a Larger Work under terms of Your choice,+ provided that You also comply with the requirements of this License for+ the Covered Software. If the Larger Work is a combination of Covered+ Software with a work governed by one or more Secondary Licenses, and the+ Covered Software is not Incompatible With Secondary Licenses, this+ License permits You to additionally distribute such Covered Software+ under the terms of such Secondary License(s), so that the recipient of+ the Larger Work may, at their option, further distribute the Covered+ Software under the terms of either this License or such Secondary+ License(s).++3.4. Notices++ You may not remove or alter the substance of any license notices+ (including copyright notices, patent notices, disclaimers of warranty, or+ limitations of liability) contained within the Source Code Form of the+ Covered Software, except that You may alter any license notices to the+ extent required to remedy known factual inaccuracies.++3.5. Application of Additional Terms++ You may choose to offer, and to charge a fee for, warranty, support,+ indemnity or liability obligations to one or more recipients of Covered+ Software. However, You may do so only on Your own behalf, and not on+ behalf of any Contributor. You must make it absolutely clear that any+ such warranty, support, indemnity, or liability obligation is offered by+ You alone, and You hereby agree to indemnify every Contributor for any+ liability incurred by such Contributor as a result of warranty, support,+ indemnity or liability terms You offer. You may include additional+ disclaimers of warranty and limitations of liability specific to any+ jurisdiction.++4. Inability to Comply Due to Statute or Regulation++ If it is impossible for You to comply with any of the terms of this License+ with respect to some or all of the Covered Software due to statute,+ judicial order, or regulation then You must: (a) comply with the terms of+ this License to the maximum extent possible; and (b) describe the+ limitations and the code they affect. Such description must be placed in a+ text file included with all distributions of the Covered Software under+ this License. Except to the extent prohibited by statute or regulation,+ such description must be sufficiently detailed for a recipient of ordinary+ skill to be able to understand it.++5. Termination++5.1. The rights granted under this License will terminate automatically if You+ fail to comply with any of its terms. However, if You become compliant,+ then the rights granted under this License from a particular Contributor+ are reinstated (a) provisionally, unless and until such Contributor+ explicitly and finally terminates Your grants, and (b) on an ongoing+ basis, if such Contributor fails to notify You of the non-compliance by+ some reasonable means prior to 60 days after You have come back into+ compliance. Moreover, Your grants from a particular Contributor are+ reinstated on an ongoing basis if such Contributor notifies You of the+ non-compliance by some reasonable means, this is the first time You have+ received notice of non-compliance with this License from such+ Contributor, and You become compliant prior to 30 days after Your receipt+ of the notice.++5.2. If You initiate litigation against any entity by asserting a patent+ infringement claim (excluding declaratory judgment actions,+ counter-claims, and cross-claims) alleging that a Contributor Version+ directly or indirectly infringes any patent, then the rights granted to+ You by any and all Contributors for the Covered Software under Section+ 2.1 of this License shall terminate.++5.3. In the event of termination under Sections 5.1 or 5.2 above, all end user+ license agreements (excluding distributors and resellers) which have been+ validly granted by You or Your distributors under this License prior to+ termination shall survive termination.++6. Disclaimer of Warranty++ Covered Software is provided under this License on an "as is" basis,+ without warranty of any kind, either expressed, implied, or statutory,+ including, without limitation, warranties that the Covered Software is free+ of defects, merchantable, fit for a particular purpose or non-infringing.+ The entire risk as to the quality and performance of the Covered Software+ is with You. Should any Covered Software prove defective in any respect,+ You (not any Contributor) assume the cost of any necessary servicing,+ repair, or correction. This disclaimer of warranty constitutes an essential+ part of this License. No use of any Covered Software is authorized under+ this License except under this disclaimer.++7. Limitation of Liability++ Under no circumstances and under no legal theory, whether tort (including+ negligence), contract, or otherwise, shall any Contributor, or anyone who+ distributes Covered Software as permitted above, be liable to You for any+ direct, indirect, special, incidental, or consequential damages of any+ character including, without limitation, damages for lost profits, loss of+ goodwill, work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses, even if such party shall have been+ informed of the possibility of such damages. This limitation of liability+ shall not apply to liability for death or personal injury resulting from+ such party's negligence to the extent applicable law prohibits such+ limitation. Some jurisdictions do not allow the exclusion or limitation of+ incidental or consequential damages, so this exclusion and limitation may+ not apply to You.++8. Litigation++ Any litigation relating to this License may be brought only in the courts+ of a jurisdiction where the defendant maintains its principal place of+ business and such litigation shall be governed by laws of that+ jurisdiction, without reference to its conflict-of-law provisions. Nothing+ in this Section shall prevent a party's ability to bring cross-claims or+ counter-claims.++9. Miscellaneous++ This License represents the complete agreement concerning the subject+ matter hereof. If any provision of this License is held to be+ unenforceable, such provision shall be reformed only to the extent+ necessary to make it enforceable. Any law or regulation which provides that+ the language of a contract shall be construed against the drafter shall not+ be used to construe this License against a Contributor.+++10. Versions of the License++10.1. New Versions++ Mozilla Foundation is the license steward. Except as provided in Section+ 10.3, no one other than the license steward has the right to modify or+ publish new versions of this License. Each version will be given a+ distinguishing version number.++10.2. Effect of New Versions++ You may distribute the Covered Software under the terms of the version+ of the License under which You originally received the Covered Software,+ or under the terms of any subsequent version published by the license+ steward.++10.3. Modified Versions++ If you create software not governed by this License, and you want to+ create a new license for such software, you may create and use a+ modified version of this License if you rename the license and remove+ any references to the name of the license steward (except to note that+ such modified license differs from this License).++10.4. Distributing Source Code Form that is Incompatible With Secondary+ Licenses If You choose to distribute Source Code Form that is+ Incompatible With Secondary Licenses under the terms of this version of+ the License, the notice described in Exhibit B of this License must be+ attached.++Exhibit A - Source Code Form License Notice++ This Source Code Form is subject to the+ terms of the Mozilla Public License, v.+ 2.0. If a copy of the MPL was not+ distributed with this file, You can+ obtain one at+ http://mozilla.org/MPL/2.0/.++If it is not possible or desirable to put the notice in a particular file,+then You may include the notice in a location (such as a LICENSE file in a+relevant directory) where a recipient would be likely to look for such a+notice.++You may add additional accurate notices of copyright ownership.++Exhibit B - "Incompatible With Secondary Licenses" Notice++ This Source Code Form is "Incompatible+ With Secondary Licenses", as defined by+ the Mozilla Public License, v. 2.0.diff --git a/licenses/go-sql-driver-mysql-MPL-2.0.txt b/licenses/go-sql-driver-mysql-MPL-2.0.txtnew file mode 100644index 000000000..a612ad981--- /dev/null+++ b/licenses/go-sql-driver-mysql-MPL-2.0.txt@@ -0,0 +1,373 @@+Mozilla Public License Version 2.0+==================================++1. Definitions+--------------++1.1. "Contributor"+ means each individual or legal entity that creates, contributes to+ the creation of, or owns Covered Software.++1.2. "Contributor Version"+ means the combination of the Contributions of others (if any) used+ by a Contributor and that particular Contributor's Contribution.++1.3. "Contribution"+ means Covered Software of a particular Contributor.++1.4. "Covered Software"+ means Source Code Form to which the initial Contributor has attached+ the notice in Exhibit A, the Executable Form of such Source Code+ Form, and Modifications of such Source Code Form, in each case+ including portions thereof.++1.5. "Incompatible With Secondary Licenses"+ means++ (a) that the initial Contributor has attached the notice described+ in Exhibit B to the Covered Software; or++ (b) that the Covered Software was made available under the terms of+ version 1.1 or earlier of the License, but not also under the+ terms of a Secondary License.++1.6. "Executable Form"+ means any form of the work other than Source Code Form.++1.7. "Larger Work"+ means a work that combines Covered Software with other material, in+ a separate file or files, that is not Covered Software.++1.8. "License"+ means this document.++1.9. "Licensable"+ means having the right to grant, to the maximum extent possible,+ whether at the time of the initial grant or subsequently, any and+ all of the rights conveyed by this License.++1.10. "Modifications"+ means any of the following:++ (a) any file in Source Code Form that results from an addition to,+ deletion from, or modification of the contents of Covered+ Software; or++ (b) any new file in Source Code Form that contains any Covered+ Software.++1.11. "Patent Claims" of a Contributor+ means any patent claim(s), including without limitation, method,+ process, and apparatus claims, in any patent Licensable by such+ Contributor that would be infringed, but for the grant of the+ License, by the making, using, selling, offering for sale, having+ made, import, or transfer of either its Contributions or its+ Contributor Version.++1.12. "Secondary License"+ means either the GNU General Public License, Version 2.0, the GNU+ Lesser General Public License, Version 2.1, the GNU Affero General+ Public License, Version 3.0, or any later versions of those+ licenses.++1.13. "Source Code Form"+ means the form of the work preferred for making modifications.++1.14. "You" (or "Your")+ means an individual or a legal entity exercising rights under this+ License. For legal entities, "You" includes any entity that+ controls, is controlled by, or is under common control with You. For+ purposes of this definition, "control" means (a) the power, direct+ or indirect, to cause the direction or management of such entity,+ whether by contract or otherwise, or (b) ownership of more than+ fifty percent (50%) of the outstanding shares or beneficial+ ownership of such entity.++2. License Grants and Conditions+--------------------------------++2.1. Grants++Each Contributor hereby grants You a world-wide, royalty-free,+non-exclusive license:++(a) under intellectual property rights (other than patent or trademark)+ Licensable by such Contributor to use, reproduce, make available,+ modify, display, perform, distribute, and otherwise exploit its+ Contributions, either on an unmodified basis, with Modifications, or+ as part of a Larger Work; and++(b) under Patent Claims of such Contributor to make, use, sell, offer+ for sale, have made, import, and otherwise transfer either its+ Contributions or its Contributor Version.++2.2. Effective Date++The licenses granted in Section 2.1 with respect to any Contribution+become effective for each Contribution on the date the Contributor first+distributes such Contribution.++2.3. Limitations on Grant Scope++The licenses granted in this Section 2 are the only rights granted under+this License. No additional rights or licenses will be implied from the+distribution or licensing of Covered Software under this License.+Notwithstanding Section 2.1(b) above, no patent license is granted by a+Contributor:++(a) for any code that a Contributor has removed from Covered Software;+ or++(b) for infringements caused by: (i) Your and any other third party's+ modifications of Covered Software, or (ii) the combination of its+ Contributions with other software (except as part of its Contributor+ Version); or++(c) under Patent Claims infringed by Covered Software in the absence of+ its Contributions.++This License does not grant any rights in the trademarks, service marks,+or logos of any Contributor (except as may be necessary to comply with+the notice requirements in Section 3.4).++2.4. Subsequent Licenses++No Contributor makes additional grants as a result of Your choice to+distribute the Covered Software under a subsequent version of this+License (see Section 10.2) or under the terms of a Secondary License (if+permitted under the terms of Section 3.3).++2.5. Representation++Each Contributor represents that the Contributor believes its+Contributions are its original creation(s) or it has sufficient rights+to grant the rights to its Contributions conveyed by this License.++2.6. Fair Use++This License is not intended to limit any rights You have under+applicable copyright doctrines of fair use, fair dealing, or other+equivalents.++2.7. Conditions++Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted+in Section 2.1.++3. Responsibilities+-------------------++3.1. Distribution of Source Form++All distribution of Covered Software in Source Code Form, including any+Modifications that You create or to which You contribute, must be under+the terms of this License. You must inform recipients that the Source+Code Form of the Covered Software is governed by the terms of this+License, and how they can obtain a copy of this License. You may not+attempt to alter or restrict the recipients' rights in the Source Code+Form.++3.2. Distribution of Executable Form++If You distribute Covered Software in Executable Form then:++(a) such Covered Software must also be made available in Source Code+ Form, as described in Section 3.1, and You must inform recipients of+ the Executable Form how they can obtain a copy of such Source Code+ Form by reasonable means in a timely manner, at a charge no more+ than the cost of distribution to the recipient; and++(b) You may distribute such Executable Form under the terms of this+ License, or sublicense it under different terms, provided that the+ license for the Executable Form does not attempt to limit or alter+ the recipients' rights in the Source Code Form under this License.++3.3. Distribution of a Larger Work++You may create and distribute a Larger Work under terms of Your choice,+provided that You also comply with the requirements of this License for+the Covered Software. If the Larger Work is a combination of Covered+Software with a work governed by one or more Secondary Licenses, and the+Covered Software is not Incompatible With Secondary Licenses, this+License permits You to additionally distribute such Covered Software+under the terms of such Secondary License(s), so that the recipient of+the Larger Work may, at their option, further distribute the Covered+Software under the terms of either this License or such Secondary+License(s).++3.4. Notices++You may not remove or alter the substance of any license notices+(including copyright notices, patent notices, disclaimers of warranty,+or limitations of liability) contained within the Source Code Form of+the Covered Software, except that You may alter any license notices to+the extent required to remedy known factual inaccuracies.++3.5. Application of Additional Terms++You may choose to offer, and to charge a fee for, warranty, support,+indemnity or liability obligations to one or more recipients of Covered+Software. However, You may do so only on Your own behalf, and not on+behalf of any Contributor. You must make it absolutely clear that any+such warranty, support, indemnity, or liability obligation is offered by+You alone, and You hereby agree to indemnify every Contributor for any+liability incurred by such Contributor as a result of warranty, support,+indemnity or liability terms You offer. You may include additional+disclaimers of warranty and limitations of liability specific to any+jurisdiction.++4. Inability to Comply Due to Statute or Regulation+---------------------------------------------------++If it is impossible for You to comply with any of the terms of this+License with respect to some or all of the Covered Software due to+statute, judicial order, or regulation then You must: (a) comply with+the terms of this License to the maximum extent possible; and (b)+describe the limitations and the code they affect. Such description must+be placed in a text file included with all distributions of the Covered+Software under this License. Except to the extent prohibited by statute+or regulation, such description must be sufficiently detailed for a+recipient of ordinary skill to be able to understand it.++5. Termination+--------------++5.1. The rights granted under this License will terminate automatically+if You fail to comply with any of its terms. However, if You become+compliant, then the rights granted under this License from a particular+Contributor are reinstated (a) provisionally, unless and until such+Contributor explicitly and finally terminates Your grants, and (b) on an+ongoing basis, if such Contributor fails to notify You of the+non-compliance by some reasonable means prior to 60 days after You have+come back into compliance. Moreover, Your grants from a particular+Contributor are reinstated on an ongoing basis if such Contributor+notifies You of the non-compliance by some reasonable means, this is the+first time You have received notice of non-compliance with this License+from such Contributor, and You become compliant prior to 30 days after+Your receipt of the notice.++5.2. If You initiate litigation against any entity by asserting a patent+infringement claim (excluding declaratory judgment actions,+counter-claims, and cross-claims) alleging that a Contributor Version+directly or indirectly infringes any patent, then the rights granted to+You by any and all Contributors for the Covered Software under Section+2.1 of this License shall terminate.++5.3. In the event of termination under Sections 5.1 or 5.2 above, all+end user license agreements (excluding distributors and resellers) which+have been validly granted by You or Your distributors under this License+prior to termination shall survive termination.++************************************************************************+* *+* 6. Disclaimer of Warranty *+* ------------------------- *+* *+* Covered Software is provided under this License on an "as is" *+* basis, without warranty of any kind, either expressed, implied, or *+* statutory, including, without limitation, warranties that the *+* Covered Software is free of defects, merchantable, fit for a *+* particular purpose or non-infringing. The entire risk as to the *+* quality and performance of the Covered Software is with You. *+* Should any Covered Software prove defective in any respect, You *+* (not any Contributor) assume the cost of any necessary servicing, *+* repair, or correction. This disclaimer of warranty constitutes an *+* essential part of this License. No use of any Covered Software is *+* authorized under this License except under this disclaimer. *+* *+************************************************************************++************************************************************************+* *+* 7. Limitation of Liability *+* -------------------------- *+* *+* Under no circumstances and under no legal theory, whether tort *+* (including negligence), contract, or otherwise, shall any *+* Contributor, or anyone who distributes Covered Software as *+* permitted above, be liable to You for any direct, indirect, *+* special, incidental, or consequential damages of any character *+* including, without limitation, damages for lost profits, loss of *+* goodwill, work stoppage, computer failure or malfunction, or any *+* and all other commercial damages or losses, even if such party *+* shall have been informed of the possibility of such damages. This *+* limitation of liability shall not apply to liability for death or *+* personal injury resulting from such party's negligence to the *+* extent applicable law prohibits such limitation. Some *+* jurisdictions do not allow the exclusion or limitation of *+* incidental or consequential damages, so this exclusion and *+* limitation may not apply to You. *+* *+************************************************************************++8. Litigation+-------------++Any litigation relating to this License may be brought only in the+courts of a jurisdiction where the defendant maintains its principal+place of business and such litigation shall be governed by laws of that+jurisdiction, without reference to its conflict-of-law provisions.+Nothing in this Section shall prevent a party's ability to bring+cross-claims or counter-claims.++9. Miscellaneous+----------------++This License represents the complete agreement concerning the subject+matter hereof. If any provision of this License is held to be+unenforceable, such provision shall be reformed only to the extent+necessary to make it enforceable. Any law or regulation which provides+that the language of a contract shall be construed against the drafter+shall not be used to construe this License against a Contributor.++10. Versions of the License+---------------------------++10.1. New Versions++Mozilla Foundation is the license steward. Except as provided in Section+10.3, no one other than the license steward has the right to modify or+publish new versions of this License. Each version will be given a+distinguishing version number.++10.2. Effect of New Versions++You may distribute the Covered Software under the terms of the version+of the License under which You originally received the Covered Software,+or under the terms of any subsequent version published by the license+steward.++10.3. Modified Versions++If you create software not governed by this License, and you want to+create a new license for such software, you may create and use a+modified version of this License if you rename the license and remove+any references to the name of the license steward (except to note that+such modified license differs from this License).++10.4. Distributing Source Code Form that is Incompatible With Secondary+Licenses++If You choose to distribute Source Code Form that is Incompatible With+Secondary Licenses under the terms of this version of the License, the+notice described in Exhibit B of this License must be attached.++Exhibit A - Source Code Form License Notice+-------------------------------------------++ This Source Code Form is subject to the terms of the Mozilla Public+ License, v. 2.0. If a copy of the MPL was not distributed with this+ file, You can obtain one at http://mozilla.org/MPL/2.0/.++If it is not possible or desirable to put the notice in a particular+file, then You may include the notice in a location (such as a LICENSE+file in a relevant directory) where a recipient would be likely to look+for such a notice.++You may add additional accurate notices of copyright ownership.++Exhibit B - "Incompatible With Secondary Licenses" Notice+---------------------------------------------------------++ This Source Code Form is "Incompatible With Secondary Licenses", as+ defined by the Mozilla Public License, v. 2.0.diff --git a/licenses/sources/SHA256SUMS b/licenses/sources/SHA256SUMSnew file mode 100644index 000000000..31b69a027--- /dev/null+++ b/licenses/sources/SHA256SUMS@@ -0,0 +1,2 @@+0ceab2ec73ef7d1291bd7663dd39203ee7037ee9dccb6fc3381ad819bd8550d1 go-m1cpu-v0.1.6.zip+dc93f5770556406e82bf750a980d2316f882a19d883a3689eadb820708c2b651 mysql-v1.10.0.zipdiff --git a/licenses/sources/go-m1cpu-v0.1.6.zip b/licenses/sources/go-m1cpu-v0.1.6.zipnew file mode 100644index 000000000..15727b253Binary files /dev/null and b/licenses/sources/go-m1cpu-v0.1.6.zip differdiff --git a/licenses/sources/mysql-v1.10.0.zip b/licenses/sources/mysql-v1.10.0.zipnew file mode 100644index 000000000..a7ec58d17Binary files /dev/null and b/licenses/sources/mysql-v1.10.0.zip differdiff --git a/scripts/check-license-bundle.sh b/scripts/check-license-bundle.shnew file mode 100755index 000000000..bd3637e46--- /dev/null+++ b/scripts/check-license-bundle.sh@@ -0,0 +1,34 @@+#!/usr/bin/env bash+set -euo pipefail++license_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"+cd "${license_root}"++# A retained build-graph dependency would bring the GPL converter back even if+# application code no longer imported it directly.+if grep -Eq 'github.com/(longbridgeapp/opencc|liuzl/(da|cedar-go)|adamzy/cedar-go)([[:space:]]|$)' go.mod go.sum; then+ echo "Removed conversion dependencies have reappeared in go.mod/go.sum" >&2+ exit 1+fi++for module_pin in 'github.com/go-sql-driver/mysql v1.10.0' 'github.com/shoenig/go-m1cpu v0.1.6'; do+ read -r module_name module_version <<< "${module_pin}"+ actual_version="$(awk -v name="${module_name}" '$1 == name { print $2 }' go.mod)"+ if [ "${actual_version}" != "${module_version}" ]; then+ echo "Update the license/source bundle for ${module_name}: expected ${module_version}, got ${actual_version}" >&2+ exit 1+ fi+done++for file in LICENSE THIRD_PARTY_NOTICES.md licenses/OpenCC-Apache-2.0.txt \+ licenses/go-sql-driver-mysql-MPL-2.0.txt licenses/go-m1cpu-MPL-2.0.txt \+ licenses/Wails-MIT.txt; do+ test -s "${file}"+done++cd licenses/sources+if command -v sha256sum >/dev/null 2>&1; then+ sha256sum -c SHA256SUMS+else+ shasum -a 256 -c SHA256SUMS+fidiff --git a/scripts/copy-licenses.sh b/scripts/copy-licenses.shnew file mode 100755index 000000000..ddfe03287--- /dev/null+++ b/scripts/copy-licenses.sh@@ -0,0 +1,15 @@+#!/usr/bin/env bash+set -euo pipefail++# Include this directory unchanged alongside every backend/desktop distribution.+if [ "$#" -ne 1 ] || [ -z "$1" ]; then+ echo "Usage: $0 DESTINATION_DIRECTORY" >&2+ exit 1+fi++license_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"+license_dest="$1"+bash "${license_root}/scripts/check-license-bundle.sh"+mkdir -p "${license_dest}/licenses"+cp "${license_root}/LICENSE" "${license_root}/THIRD_PARTY_NOTICES.md" "${license_dest}/"+cp -R "${license_root}/licenses/." "${license_dest}/licenses/"diff --git a/scripts/package-lite.sh b/scripts/package-lite.shindex a3212f922..9862fd650 100755--- a/scripts/package-lite.sh+++ b/scripts/package-lite.sh@@ -68,6 +68,7 @@ rm -rf "${DIST_DIR}"mkdir -p "${DIST_DIR}/web"cp WeKnora-lite "${DIST_DIR}/"+bash ./scripts/copy-licenses.sh "${DIST_DIR}"if [ -d web ] && [ -f web/index.html ]; thencp -r web/* "${DIST_DIR}/web/"fidiff --git a/scripts/package-mac-app.sh b/scripts/package-mac-app.shindex b7944ebd5..549b12d63 100755--- a/scripts/package-mac-app.sh+++ b/scripts/package-mac-app.sh@@ -78,6 +78,7 @@ cp -R "cmd/desktop/build/bin/${APP_BUNDLE}" "dist/"RESOURCES_DIR="${DIST_DIR}/Contents/Resources"mkdir -p "${RESOURCES_DIR}/config"mkdir -p "${RESOURCES_DIR}/migrations/sqlite"+bash ./scripts/copy-licenses.sh "${RESOURCES_DIR}"if [ -f .env.lite.example ]; thencp .env.lite.example "${RESOURCES_DIR}/.env"