s-yata / marisa-trie

MARISA: Matching Algorithm with Recursively Implemented StorAge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

jmr opened this issue · 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.