| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update check_pinyin_options and check_chewing_options functionsHEADmainfuzzy-correct | Peng Wu | 31 hours | 2 | -4/+5 |
| | | |||||
| * | Update src/storage/pinyin_parser_table.h | Peng Wu | 31 hours | 1 | -0/+2 |
| | | |||||
| * | Add CMake workflow | Qijia Liu | 9 days | 1 | -0/+3 |
| | | |||||
| * | Fix some typo | Peng Wu | 2025-11-18 | 1 | -1/+1 |
| | | |||||
| * | Update Makefile.am | Peng Wu | 2025-11-18 | 1 | -1/+3 |
| | | |||||
| * | Fix crash | Peng Wu | 2025-11-13 | 4 | -5/+9 |
| | | |||||
| * | Rename store_db method to save_db method | Peng Wu | 2025-11-13 | 14 | -19/+19 |
| | | |||||
| * | Update Makefile.am | Peng Wu | 2025-11-13 | 1 | -0/+11 |
| | | |||||
| * | Update chewing_large_table2.h | Peng Wu | 2025-11-13 | 1 | -0/+6 |
| | | |||||
| * | Write chewing_large_table2_tkrzwdb.cpp | Peng Wu | 2025-11-13 | 1 | -0/+544 |
| | | |||||
| * | Write chewing_large_table2_tkrzwdb.h | Peng Wu | 2025-11-13 | 1 | -0/+133 |
| | | |||||
| * | Fix some typos | Peng Wu | 2025-11-12 | 2 | -1/+7 |
| | | |||||
| * | Write phrase_large_table3_tkrzwdb.cpp | Peng Wu | 2025-11-12 | 1 | -0/+317 |
| | | |||||
| * | Write phrase_large_table3_tkrzwdb.h | Peng Wu | 2025-11-12 | 1 | -0/+77 |
| | | |||||
| * | Fix some typos | Peng Wu | 2025-11-12 | 3 | -2/+8 |
| | | |||||
| * | Write ngram_tkrzwdb.cpp | Peng Wu | 2025-11-12 | 1 | -0/+213 |
| | | |||||
| * | Write ngram_tkrzwdb.h | Peng Wu | 2025-11-11 | 1 | -0/+154 |
| | | |||||
| * | Fix some typos | Peng Wu | 2025-11-10 | 6 | -7/+18 |
| | | |||||
| * | Write flexible_ngram_tkrzwdb.h | Peng Wu | 2025-11-10 | 1 | -0/+435 |
| | | |||||
| * | Write punct_table_tkrzwdb.cpp | Peng Wu | 2025-11-07 | 1 | -0/+185 |
| | | |||||
| * | Write punct_table_tkrzwdb.h | Peng Wu | 2025-11-07 | 1 | -0/+71 |
| | | |||||
| * | Write tkrzwdb_utils.h | Peng Wu | 2025-11-07 | 1 | -0/+77 |
| | | |||||
| * | Fix unaligned access in get_range() | John Paul Adrian Glaubitz | 2025-10-31 | 1 | -1/+1 |
| | | |||||
| * | Fix memory leaks in kyotodb based tables | czxdev | 2025-05-07 | 2 | -0/+10 |
| | | |||||
| * | Update class PunctTable | Peng Wu | 2024-09-29 | 5 | -64/+62 |
| | | |||||
| * | Update class PunctTable | Peng Wu | 2024-09-27 | 4 | -23/+42 |
| | | |||||
| * | Fix compile | Peng Wu | 2024-09-24 | 5 | -19/+19 |
| | | |||||
| * | Update src/storage/Makefile.am | Peng Wu | 2024-09-24 | 1 | -4/+10 |
| | | |||||
| * | Write class PunctTable with Kyoto Cabinet in progress | Peng Wu | 2024-09-23 | 2 | -0/+272 |
| | | |||||
| * | Write class PunctTable with Berkeley DB in progress | Peng Wu | 2024-09-23 | 2 | -0/+333 |
| | | |||||
| * | Write class PunctArray in progress | Peng Wu | 2024-09-18 | 2 | -0/+227 |
| | | |||||
| * | Fix warnings | Peng Wu | 2024-07-31 | 2 | -5/+5 |
| | | |||||
| * | Update class UserTableInfo | Peng Wu | 2024-07-03 | 2 | -0/+30 |
| | | |||||
| * | Fix code style | Peng Wu | 2023-01-14 | 2 | -3/+3 |
| | | |||||
| * | Fix libpinyin crash on ARMv7 | Matias Larsson | 2022-11-29 | 5 | -20/+27 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the alignment trap in get_unigram_frequency(). Fix also other places where this same trap could happen (depending on compiler and surrounding code). The trap happened when the ARM GCC generated a SIMD instruction (specifically VLDR) to load 32 bits in a single instruction, and when the memory address was not aligned to 32 bits. VLDR traps if the address is not aligned. GCC generated the instruction because of the cast to uint32 from the address. The fix is to allocate a uint32 variable in stack and use memcpy to copy the data to that variable. This way we ensure that appropriate instructions are generated. **Links** About the issue with GCC: https://trust-in-soft.com/blog/2020/04/06/gcc-always-assumes-aligned-pointer-accesses/ How Linux does it: https://elixir.bootlin.com/linux/v5.10.155/source/include/linux/unaligned/memmove.h#L13 ARM documentation: https://documentation-service.arm.com/static/5f8dc043f86e16515cdbbc92?token= See 'A3.2.1 Unaligned data access' | ||||
| * | Support longer candidate | Peng Wu | 2022-09-21 | 1 | -1/+1 |
| | | |||||
| * | Write search_suggestion_with_matrix function | Peng Wu | 2022-09-14 | 2 | -0/+99 |
| | | |||||
| * | Write FacadeChewingTable2::search_suggestion method | Peng Wu | 2022-09-09 | 1 | -0/+26 |
| | | |||||
| * | Write ChewingLargeTable2::search_suggesion method for Kyoto Cabinet | Peng Wu | 2022-09-08 | 3 | -1/+167 |
| | | |||||
| * | Write ChewingLargeTable2::search_suggesion method for Berkeley DB | Peng Wu | 2022-09-07 | 2 | -0/+164 |
| | | |||||
| * | Write ChewingTableEntry::search_suggestion method | Peng Wu | 2022-09-02 | 2 | -4/+82 |
| | | |||||
| * | Fix Kyoto Cabinet usage | Peng Wu | 2022-08-30 | 2 | -3/+8 |
| | | |||||
| * | Fix pinyin.cpp | Peng Wu | 2022-08-29 | 1 | -1/+1 |
| | | |||||
| * | Write FacadePhraseTable3::search_suggestion method | Peng Wu | 2022-08-25 | 1 | -0/+25 |
| | | |||||
| * | Fix a typo | Peng Wu | 2022-08-25 | 1 | -1/+1 |
| | | |||||
| * | Write search_suggestion method | Peng Wu | 2022-07-26 | 5 | -5/+119 |
| | | |||||
| * | Write compare_phrase function | Peng Wu | 2022-07-19 | 2 | -0/+76 |
| | | |||||
| * | Use abort function instead of assert macro | Peng Wu | 2022-06-06 | 12 | -40/+40 |
| | | |||||
| * | Use check_result macro in src directory | Peng Wu | 2022-06-01 | 10 | -37/+41 |
| | | |||||
| * | Switch from GrassDB to ProtoTreeDB | Peng Wu | 2022-03-30 | 2 | -4/+4 |
| | | |||||
