Skip to content

Wasm#606

Merged
mosuka merged 5 commits intomainfrom
wasm
Jan 31, 2026
Merged

Wasm#606
mosuka merged 5 commits intomainfrom
wasm

Conversation

@mosuka
Copy link
Copy Markdown
Member

@mosuka mosuka commented Jan 31, 2026

No description provided.

- Consolidate Makefile functionality into root Makefile
  - Removed lindera-python/Makefile and lindera-wasm/Makefile
  - Added python-clean, wasm-clean, wasm-build-example, wasm-run-example targets
  - Reorganized targets for better readability
- Optimize .gitignore
  - Consolidated rules from python/wasm sub-directories into root .gitignore
- Enhance CI workflows
  - Split publish-wasm into build-wasm and publish-npm in release.yml
  - Add test-python and test-wasm jobs to periodic.yml
  - Update deploy-docs.yml to build and deploy WASM example under /demo
- Cargo.toml
  - Added lindera-wasm to workspace members
- Modularize lindera-wasm into separate files for better maintainability.
- Implement Token, Mode, Penalty, Dictionary, UserDictionary, Metadata, Schema, Segmenter, and LinderaError classes to achieve full API parity with lindera-python.
- Support direct Tokenizer initialization through a constructor and add top-level dictionary management functions.
- Add snake_case method aliases for a more idiomatic Python-like experience in JavaScript.
- Update the WASM example application to utilize the new API and improve the result visualization UI.
- Ensure proper serialization with toJSON method on Token class.
- Verify correctness with wasm-pack tests.
- Retain modularized lindera-wasm structure with full API parity.
- Integrate documentation improvements from main branch.
- Resolve conflicts in example application, preserving new table-based visualization.
@mosuka mosuka merged commit 6cb8a3c into main Jan 31, 2026
10 checks passed
@mosuka mosuka deleted the wasm branch January 31, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant