Kuang-che Wu

Results 37 comments of Kuang-che Wu

This error is caused by the incompatibility between python2 and python3. PR is welcome. This project is no longer developed. I will only accept PR to fix issues like this.

How about this? ``` python3 -c 'print("-"*375, "-"*142448, "-"*142233, "-"*7182753, sep="\n")' > long.txt lnav long.txt ``` This is the crash file. [crash-2022-05-20-17-29-20.1620112.log](https://github.com/tstack/lnav/files/8738360/crash-2022-05-20-17-29-20.1620112.log) Here are gdb log ``` Thread 1 "lnav"...

Could you reproduce this issue?

- Only tile-2 in additional search: this is because the possibility of tile-2 is far larger than tile-4. For example, 0.920=0.1215 > 0.1. That means even the possibility of consecutive...

My extra 2-tiles search just provided as short-cut: if dead in few moves, don't try this move. Otherwise,still keep original search. You can see my `root_search_move()` for the detail. Yes,...

@czchen could you take a look? I found you add this assertion. `assert( pci->nTotalChoice > 0 );` https://github.com/chewing/libchewing/commit/98afedfb0dde6a228873d3a41081c7937f3493d4 I'm wondering did you really mean `assert( pci->nTotalChoice > 0 );` or...

init_database.c is tolerance to errors and more robust. For example, - init_database.c allows delimiter has more than one space or trailing space. - init_database.c allows illegal bopomofo sequence like `ˊ`....

These two definitely should be rejected by init_database.c - init_database.c allows illegal bopomofo sequence like `ˊ`. - init_database.c allows negative numbers or even non-decimal 0xab For blank line and extra...

Yes, it is dynamic programming for the typical phrasing problem. However, it may become not DP after applying some heuristic. (This was discussed on mailing list in the past, IIRC....

I need some time to find the discussion. Regarding to NextCut(), I mean this function https://github.com/chewing/libchewing/blob/master/src/tree.c#L866 which is triggered here https://github.com/chewing/libchewing/blob/master/src/chewingio.c#L875 When users press [Tab] at the end of input,...