Commit graph

18 commits

Author SHA1 Message Date
copilot-swe-agent[bot]
513ce92739 Refactor Java StreamProvider to use lazy streaming instead of loading all data into memory
- Replace synchronous InputStream reading with custom JavaStreamAdapter
- Implement JavaStreamBuf that reads data on-demand via underflow()
- Disable seeking operations as Java InputStream doesn't support random access
- Proper JNI lifecycle management with thread attachment/detachment
- Memory-efficient chunk-based reading (8KB buffer) instead of loading entire files
- Similar pattern to CStreamAdapter in C API for consistency

Co-authored-by: bab2min <19266222+bab2min@users.noreply.github.com>
2025-09-12 17:04:18 +00:00
bab2min
89cb859beb Add JStreamProvider class and update JKiwiBuilder to use JRef for stream provider 2025-09-13 01:51:17 +09:00
copilot-swe-agent[bot]
07c8eb10fb Address PR feedback: remove jobject specialization, unify ctor names, merge WASM build functions, add chunked stream API
Co-authored-by: bab2min <19266222+bab2min@users.noreply.github.com>
2025-09-13 01:51:14 +09:00
copilot-swe-agent[bot]
0c42704de1 Add StreamProvider support to C API, Java, and WASM bindings
Co-authored-by: bab2min <19266222+bab2min@users.noreply.github.com>
2025-09-13 01:51:12 +09:00
bab2min
705a76a19e Refactor args of Kiwi::analyze to struct AnalyzeOption 2025-05-01 01:42:55 +09:00
bab2min
21e7883b9b Fix compilation errors in bindings 2025-04-27 21:28:17 +09:00
bab2min
51dfac482e Update KiwiJava binding to 0.21.0 2025-03-24 02:46:47 +09:00
bab2min
f1d2e83402 Implement KiwiJava API for lengthening typos 2024-09-16 16:45:45 +09:00
bab2min
48982474a6 updated KiwiJava binding 2024-04-13 15:54:28 +09:00
bab2min
7fb06fd93f fixed Java binding bugs 2023-10-30 02:00:57 +09:00
bab2min
1265c0cf54 fixed compile errors at x86-32 system 2023-08-31 16:45:19 +09:00
bab2min
e768b29dce implemented asyncAnalyze & pretokenizedSpans to KiwiJava 2023-08-31 16:45:16 +09:00
bab2min
776588e373 updated Java API implementation 2023-08-12 14:42:04 +09:00
bab2min
c0bea922e6 implemented getVersion & entrypoint for java 2023-07-04 02:52:55 +09:00
bab2min
1720c32169 fixed compile errors in gcc 2023-07-04 02:52:15 +09:00
bab2min
0956859aec implemented TypoTransformer, AddPreAnalyzedWord 2023-07-04 01:13:18 +09:00
bab2min
23a5b188c0 implemented KiwiJava more 2023-07-03 01:38:18 +09:00
bab2min
3781bb775d implemented basic KiwiJava binds 2023-07-02 00:51:15 +09:00