Page 1 of 1
gloss2lang
Posted: Sat Apr 09, 2011 5:03 pm
by personak
I just made a script that translates interlinear glosses into specific languages, via G2LF files:
http://personak.weebly.com/gloss2lang.html
For example, type
man.GEN.PLR in the text box with a
latin.g2lf file, and it comes up with
hominum.
The sample G2LF file should tell you how to create G2LF files.
Comments? Criticisms? Suggestions? (especially suggestions)
EDIT: there should now be instructions
Re: gloss2lang
Posted: Sat Apr 09, 2011 8:28 pm
by Bedelato
The syntax of those .g2lf files looks a little intimidating (the fact that over half of the sample file consisted of comments didn't help).
That's only my first impression; it's nothing I couldn't learn if I felt like taking the time to play with it. That said, you should probably describe the input format in an HTML format or something, instead of doing it as embedded comments.
Re: gloss2lang
Posted: Sat Apr 09, 2011 9:57 pm
by personak
Gotcha; I figured I should do a better job.
Re: gloss2lang
Posted: Sat Apr 09, 2011 11:03 pm
by personak
There are now instructions.
Re: gloss2lang
Posted: Sun Apr 10, 2011 8:23 am
by Mr. Z
I still don't understand how that thing works. How can I define the language?
Re: gloss2lang
Posted: Sun Apr 10, 2011 12:31 pm
by personak
The G2LF file is the language.
Re: gloss2lang
Posted: Sun Apr 10, 2011 12:44 pm
by Mr. Z
Where is the G2LF file?
Re: gloss2lang
Posted: Sun Apr 10, 2011 10:35 pm
by personak
You make the G2LF file. Most of the stuff on the page is how to make one.
Re: gloss2lang
Posted: Sun Apr 10, 2011 11:21 pm
by faiuwle
Looks interesting, but what would be even more useful is something that could go the other way, probably - an autoglosser.
Re: gloss2lang
Posted: Mon Apr 11, 2011 11:21 am
by personak
The main purpose is for writing grammars. When you are in the syntax section, who wants to constantly go back to the morphology section every time you use an example?
Re: gloss2lang
Posted: Mon Apr 11, 2011 11:57 am
by Cedh
faiuwle wrote:Looks interesting, but what would be even more useful is something that could go the other way, probably - an autoglosser.
You can do that with SIL's
Toolbox. (Also, supposedly, with the newer but much more complex
Fieldworks, which I have no personal experience with.)
Re: gloss2lang
Posted: Mon Apr 11, 2011 7:35 pm
by Bedelato
Fieldworks requires Microsoft SQL Server though. Complete with hardware compatibility issues. (Yeah, that's right: hardware issues. Microsoft's support page said something about MS SQL Server not working on multi-core processors, or something like that.)