marisa-trie icon indicating copy to clipboard operation
marisa-trie copied to clipboard

read/map v0.1.6 trie with v>=0.2.6?

Open jmr opened this issue 3 years ago • 0 comments

It would be nice to be able to read and map (or mostly map and read the rest) data from 0.1.5, which I know uses a different format. Are the formats close enough that it would be a moderately small amount of extra code to read? At first glance, I see Trie and MarisaTrie have most fields in common, but 0.1.6 has labels_ and links_ while 0.2.6 has bases_ and extras_. I didn't look at whether the formats of BitVector or other classes changed.

jmr avatar Jan 05 '21 09:01 jmr