Форматы BGL и DSL

Ветка для общения разработчиков и координации разработки

Форматы BGL и DSL

Postby dark_elf » Sat Jul 02, 2011 2:39 am

Добрый день

Хочу разобраться с работой со словарными базами. Форматы StarDict/DICTD/XDXF открыты но есть ли у кого-то описание форматов DSL (Lingvo) и BGL (Babylon)?

Заранее благодарен за ответ
Posts: 15
Joined: Fri Apr 24, 2009 4:02 pm

Re: Форматы BGL и DSL

Postby kubtek » Sat Jul 02, 2011 6:36 am

Описание формата DSL можно найти в файле справки для ABBYY Lingvo. Например, в справке для Lingvo x3 нужно открыть узел Appendix->DSL Compiler.

Формат BGL закрытый, официального описания нет. Однако стараниями добровольцев этот формат достаточно неплохо изучен. Рекомендую обратить внимание на PyGlossary (https://github.com/ilius/pyglossary). На настоящий момент (по моему мнению) это лучшая читалка BGL файлов. Смотреть файл bgl.py. В этом же проекте есть неплохой векторный рисунок, объясняющий структуру BGL формата, смотри файл bgl_structure.svgz.
Last edited by kubtek on Sat Jul 02, 2011 8:02 am, edited 1 time in total.
Posts: 8
Joined: Tue Jun 14, 2011 5:48 pm

Re: Форматы BGL и DSL

Postby Tvangeste » Sat Jul 02, 2011 7:51 am

dark_elf wrote:Eсть ли у кого-то описание форматов DSL (Lingvo) и BGL (Babylon)?

Как уже заметили, полноценное описание DSL формата есть в справке Lingvo. Вполне неплохое описание всех тэгов, примеры всевозможные. В общем и целом, формат очень простой, обычный текст (в UTF-16LE, но GD понимает и UTF-8). Заголовок карточки - все, что не начинается с пробела или таба. Тело карточки - все, что начинается с пробела или таба. Разметка самая простая, тэги i, b, u - типичные (курсив, жирный, подчеркивание). Есть тэг для отступов - m. Ну и еще совсем чуть-чуть тэгов для примеров, комментариев, звуков и помет.
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: Форматы BGL и DSL

Postby evaheseo » Thu Sep 07, 2017 7:57 am

I am so sad. Only know why live so tired . now, around people, around things, do not know how to face . began to get used to a person, like a person . do not know when to start like The quiet, fell in love with the silence . found that he is really changed! It's time to change and change me! I always thought I was a very strong person, but I still did not imagine the strong . The tears, on the dead of night, listening to sad music, secretly cryingNight, sometimes want to sleep, but also cranky, delay can not sleep! Sometimes, inexplicably wake up from a dream, want to cry, so want to cry, as if everything Cheap Nike Shoes Sale is inexplicable .Around the people coming and going, the rise of the chest, take the pace of self-confidence, and I was head down . Want to live a simple, hate complex, but now life is not complicated, why I feel annoying, disgusted .Heart good soreness, may occur in the side of the right and wrong, I can only remain silent! The heart is so badly hurt good pain, good aggrieved. Always tell yourself to be strong, tears can not live up to live on the fall of the tears is the heart can not tell the taste . is so painful, so sad. Authentic Women's Nike Shoes So helpless, so fall.Thought to leave, but I can not! I: 'family, when you pay for me, I do not know how to thank, complain about that Jordan Six Rings complain, complaining, always let you unhappy, I am not intentional.I was just sad to others to play to bring me an accident led to the life may be a good illness, the result. This price is too big! Brain trauma had epilepsy, left brain injury, resulting in the right hand and foot is not flexible, language ability to damage, because the disease I can not learn, childhood dream - the university will burst to always learn to be talented, knowledge change fate The what a pity! Do you know how much damage I have for this? How much is it lost? There are many, the other I do not want to mention, you do not know, you really do not know, because it is too far away from you! When I want my hands to create my beautiful tomorrow, I find my hand is not flexible, and when I want to use my mind to create my future, I find that my head has been hurt! What do i do with people compete, what to compete with people! What else can be used as capital? I Cheap Nike Air Max Shoes think of the future, I can not think too much, do not dare to plan their own future because I will cry .All this is really ironic! I was not afraid, have been moving forward, and now I have no confidence, what to do, feel that they will not, do not understand anything, no confidence . even my family did not me Confidence, and this I can still feel out, take me to find a job, my dad said I only suitable for a simple job, do not do complex, over time I think they can only do simple things
Posts: 977
Joined: Wed Aug 23, 2017 5:10 am

Return to Разработка

Who is online

Users browsing this forum: No registered users and 3 guests