|
本帖最后由 Slav 于 2016-8-5 20:39 编辑
Just started to dive into the regex expressions field since it is really a good idea to parse MDX source. Will check it out later on.
The idea about creating MDX from TXT is following. The following thoughts are just my fantasy, but I believe it can be released in this software.
You define the structure of TXT file, where a user have some fields (words, transcriptions, definitions, examples, etc). When this user starts your application, the only he need to do is to link these fields from TXT to customized fields in your program (words to words, transcriptions to transcriptions, etc). This is because user can have limited set of fields in his dictionary. Like me, I need to have only 4 fields, such as words, definitions, transcriptions, and part of speech. But other people could have examples for each part of speech or more complicated structure.
Your applications just parses TXT file to the program database, keeping in mind these links. The next step, based on the general logic of MDX source file to create a simple MDX (with help of MdxBuilder, for example). Style creation is also can be embedded to the applications using the same logic of linking users fields to program ones.
As for me MDX is not necessary feature, I just need simple dictionaries w\o any multimedia files. But these are my needs only.
The same can be done when this application parses MDX to MDX source or text file. User could define which fields from MDX he need, what is the purpose of each field and get a final TXT or Excel file for the further processing.
|
|