String searching algorithm for Chinese characters.

Posted by Jack Low on Stack Overflow See other posts from Stack Overflow or by Jack Low
Published on 2010-03-24T10:46:48Z Indexed on 2010/03/24 10:53 UTC
Read the original article Hit count: 384

Filed under:
|
|
|

There are Python code available for existing algorithms for normal string searching e.g. Boyer-Moore Algorithm. I am looking to use this on Chinese characters and it doesn't seem like the same implementation would work. What would I go about doing in order to make the algorithm work on Chinese characters? I am referring to this:

http://en.literateprograms.org/Boyer-Moore_string_search_algorithm_(Python)#References

© Stack Overflow or respective owner

Related posts about python

Related posts about string-search