Searching through morphologically analyzed texts — 8 Nov 2011

I just finished the first draft of a tool that lets me search through a text which is morphologically analyzed on the fly (via XFST). It's rough for now, but quite awesome. Eventually I'll extend it to include morphologically disambiguated analyses such as those that vislcg would provide. For now, this will help me much to figure some things out. In addition, it provided another experience to learn; thus, quite worth it even if something like this exists already.

Here's a quick example, but you'll probably have to take my word for it (although the genitive is marked with -ood. I searched for the pattern Num N+Fem+Sg+Indef+Gen, or a numeral followed by a (feminine) noun in the genitive:

(waayo, Yoo'aab iyo reer binu Israa'iil oo dhammu halkaasay iska joogeen intii lix bilood ah, ilaa uu wada jaray wixii lab ahaa ee Edom joogay oo dhan;)

(For six months did Joab remain there with all Israel, until he had cut off every male in Edom:)

--

Markaasaa Axiiyaah qabsaday dharkii cusbaa oo uu qabay, oo wuxuu u kala jeexjeexay laba iyo toban meelood.

And Ahijah caught the new garment that {was} on him, and rent it {in} twelve pieces:

--

Kolkaasuu Yaaraabcaam ku yidhi, Toban meelood qaado, waayo, Rabbiga Ilaaha reer binu Israa'iil ah wuxuu leeyahay, Boqortooyada waan ka xoogayaa Sulaymaan, oo toban qabiil ayaan ku siinayaa,

And he said to Jeroboam, Take thee ten pieces: for thus saith the LORD, the God of Israel, Behold, I will rend the kingdom from the hand of Solomon, and will give ten tribes to thee:

--

Oo wakhtigii Sulaymaan reer binu Israa'iil oo dhan Yeruusaalem boqorka ugu ahaa wuxuu ahaa afartan sannadood.

And the time that Solomon reigned in Jerusalem over all Israel {was} forty years.

The results all come from the Old Testament, which has been pretty useful as far as being a huge text (and providing some out of context and humorous sentences). The translations come from another tool I wrote for searching through aligned texts.

In any case, there are some things left to do before this is "complete", but it's a good start!

Recent Photos

A photo on Flickr
A photo on Flickr
A photo on Flickr
A photo on Flickr
A photo on Flickr
A photo on Flickr
A photo on Flickr
A photo on Flickr
A photo on Flickr