Message Boards Message Boards

Making a .trie file

Posted 5 years ago

Mathematica uses .trie files for its auto-completion system. I have no idea how to make them (and neither does mathematica.se).

How do I do this?

I asked support and I got the ever unhelpful: "you don't have premier service so we don't care about your questions" response.

Anyone with a line to John Fultz want to forward him this question?

POSTED BY: b3m2a1 ​ 
2 Replies

(1) Not sure if you knew about these, but there are some related threads on MSE that might be of interest.

https://mathematica.stackexchange.com/questions/441/can-a-trie-be-implemented-efficiently

https://mathematica.stackexchange.com/questions/8111/building-a-tree

https://mathematica.stackexchange.com/questions/136641/how-to-use-classical-data-structure-in-mathematica/137422#137422

(2) I think the Support response, presumably worded a bit differently, is quite fair. Such a question could take real developer time to tackle, and, at a minimum,there would be a modest expenditure of resources just in communications between developer(s) and Support.

(3) I did send a link to the person I suspect is most knowledgeable about this. Which is zero guarantee of any reply.

POSTED BY: Daniel Lichtblau
Posted 5 years ago

Thanks for sending the link.

I did know about those. Unfortunately they're all about implementing the trie data structure in Mathematica, not building one of these .trie search files the FE uses. My assumption has always been that a .trie file is not a .mx dump of the data structure as built in the first of those links, but I could be wrong.

POSTED BY: b3m2a1 ​ 
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract