From 801e315cc3f70816cab4d6e21cdf35514011b808 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 7 May 2026 15:04:44 +0000 Subject: [PATCH 1/2] Bump DavidAnson/markdownlint-cli2-action from 23 to 23.1.0 Bumps [DavidAnson/markdownlint-cli2-action](https://github.com/davidanson/markdownlint-cli2-action) from 23 to 23.1.0. - [Release notes](https://github.com/davidanson/markdownlint-cli2-action/releases) - [Commits](https://github.com/davidanson/markdownlint-cli2-action/compare/v23...v23.1.0) --- updated-dependencies: - dependency-name: DavidAnson/markdownlint-cli2-action dependency-version: 23.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/markdownlint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/markdownlint.yml b/.github/workflows/markdownlint.yml index da8a9a641..d7dd798e9 100644 --- a/.github/workflows/markdownlint.yml +++ b/.github/workflows/markdownlint.yml @@ -28,7 +28,7 @@ jobs: with: fetch-depth: 0 - - uses: DavidAnson/markdownlint-cli2-action@v23 + - uses: DavidAnson/markdownlint-cli2-action@v23.1.0 with: globs: | **/*.md From 1c8ea115e61fb4db20ae746f51980573a370c3a3 Mon Sep 17 00:00:00 2001 From: "Leon.C" <160379708+zichen0116@users.noreply.github.com> Date: Sat, 9 May 2026 17:55:35 +0800 Subject: [PATCH 2/2] fix: remove duplicate .replace mid-tone in _clean_ipa (#1409) The second .replace mid-tone removal on line 31 is identical to line 30 and is dead code. After line 30 removes all mid-tone characters, line 31 has no effect. --- pythainlp/soundex/sound.py | 1 - 1 file changed, 1 deletion(-) diff --git a/pythainlp/soundex/sound.py b/pythainlp/soundex/sound.py index 450968d1f..42010fd58 100644 --- a/pythainlp/soundex/sound.py +++ b/pythainlp/soundex/sound.py @@ -28,7 +28,6 @@ def _clean_ipa(ipa: str) -> str: .replace("˨˩", "") .replace("˦˥", "") .replace("˧", "") - .replace("˧", "") .replace(" .", ".") .replace(". ", ".") .strip()