Youreofftask.com

Contains 0% CMS!

[1.5.1] Ars Linguārum: Deep Parsing

Mar 23, 2015 18:15:37

I removed the loading animation because it froze Safari (8.0.5, MBP w/ OS X 10.10.3). I replaced it with animated rotation transforms for the logo. Parsing has been improved: it can now quickparse 4th declension nouns with -ubus dat/abl pl (e.g. quercus, -ūs f.), and deep parsing support has been added (just for nouns right now). Deep parsing looks up all the forms of all the lexicon entries and checks for matches, so it will definitely be slower than quickparsing with a large enough lexicon (right now, the speed difference is unnoticeable). Deep parsing uses the same query syntax as quickparsing, but with !dparse instead of !parse.

To do:

[1.5.0] Ars Linguārum: Async Searching

Mar 22, 2015 18:55:50

I used Web Workers to make searching async. This also meant I could add a loading animation, so I added the one I made earlier. You can test it by doing a search with "!wait 5 " before the query, such as "!wait 5 #food".
I also made a logo and added it to the navbar. It's also in the center of the loading animation. HTML5/CSS3/other cool features used so far:

[1.4.1] Ars Linguārum

Mar 20, 2015 23:26:10

Fixed a bug that caused the loader to freeze the browser (Safari 8.0.3 on Mac OS X 10.10.2) at n=69.18. Also some other things probably, but I can't remember them. #qualitycoding

[1.4.0] Ars Linguārum Update

Mar 20, 2015 4:56:14

Entries now have image support. I pretty much added this just so I could add dank memes to the entries about dank memes (memīcīda is my favorite so far). Also, I've begun work on the deflector (un-inflector). Currently, it works with nouns, but I plan to add support for more parts of speech. You can use it by doing a search like "!parse amicus" or "!parse %ami_co_" (the % indicates that macrons shouldn't be ignored). I've also made a nifty loader animation using canvas (including -webkit-canvas on WebKit; excellent feature). It's not used anywhere as of this writing, but you can add it yourself by doing a search and then running new BackgroundLoader(50).apply($("#tab-results").css({minHeight: "80px"})). Pretty neat, right? I plan to use the loader when a search is being performed, as complex queries will take a noticeable amount of time when the lexicon is large. Web Workers will come in handy for that.

These are the HTML5/CSS3/etc things I've used for Ars Linguārum so far:

It's great that no one has to care about IE support anymore.

[1.3.0] Ars Linguārum Update: Tags

Mar 17, 2015 6:32:53

I added tag support. Tag entries are now viewable (and can contain links to sources) and have a link to do a search for all entries that have that tag. In addition, every entry has a list of tags at the bottom. Clicking on a tag will take you to that tag's entry if it has one, or do a search for the tag otherwise. Tags can have human-friendlier names; if a tag has an alternate name, its alternate name will be shown to the user, with the original name visible as a tooltip.

[1.2.1] Ars Linguārum Update

Mar 16, 2015 23:32:19

I've added quite a few dank maymays. Noun phrases have been added too; so far, I've added "Ars Linguārum" (of course). They're treated like nouns, and under the hood, they're almost identical in structure. Noun phrases still have a noun type but contain their entry[1].word is an instantiation of ArsLinguarum.nounPhrase, which is has mostly the same structure as ArsLinguarum.noun but does inflection and lemma storage differently.

To do:


Update 2015-03-17 04:07:33: Added adjective support for noun phrases (they previously accepted only nouns). I also un-abbreviated field names in various part of speech classes, but that's not a change that's visible to a user.

[1.2.0] Syntax Highlighting

Mar 13, 2015 7:52:51

I added syntax highlighting to Ars Linguarum. It's magic. Also, the verb tabler won't die if it doesn't find any imperatives for ?-declension verbs; instead, it'll skip over them. Same for some indicative/subjunctive forms. To do: add tag support to the browser (as in letting it show both tag entries and the tags of an entry) and add support for noun phrases (e.g. "acipēnser crūdus" being declinable as "acipēnserī crūdo", "acipēnseris crūdī" and so on, rather than "acipēnser crūdī", "acipēnser crūdō", "acipēnser crūdōrum", etc.).

I'm also adding some internet humor and meme-related entries to the default dictionary from Mema Interretialia and O, Eheu!

[1.1.0] Ars Linguarum Update: History and Custom Dictionary

Mar 10, 2015 2:21:24

Ars Linguarum now uses the History API (HTML5 is a wonderful thing!) via History.js. In addition, the user can modify, save and reset the dictionary. Dictionary modifications are stored with localStorage. Next to add is support for download custom dictionaries as .txt files.

Update 02:54:08: Download support is complete.

[1.0.0] Ars Linguarum Status

Mar 9, 2015 5:11:44

Ars Linguarum is pretty polished now, and it has basically all the features I wanted to add. All that's currently left on the to-do list is to add a display of tags in search results and inflection tables, and also to add a Tags category to the Browse Dictionary section. (An entry in said category would give an explanation of the tag; e.g. no ppp => Applied to verbs that lack a perfect passive participle, such as deponent or active-only verbs.)

[0.9.0] Parser

Mar 9, 2015 3:00:45

I finished making a recursive descent parser that I plan to use for tag searching in Ars Linguarum. It'll be possible to do searches like "type:noun & ~(food | drink)" once I add support to Ars Linguarum. I finalized the parser at 3:00 AM too. :)

Update 03:42:46: The search bar works! However, right now all it does is display a list of the lemma form of each result.
Update 05:00:10: Now it displays results separated into lists by type and then sorted alphabetically within each type. Clicking on a result will show its inflection table in the Browse Dictionary tab.

Ars Linguarum Interface Improvements

Feb 24, 2015 18:38:08

I'm currently working on some major interface improvements to the Ars Linguarum page. Instead of a barebones button + textarea combo, it's going to have some overdone Bootstrap UI (~classic web developer~ amirite?).

[0.2.1] Ars Linguarum Cleanup

Feb 23, 2015 23:39:40

I've been working on cleaning up Ars Linguarum. The most recent backup (made a minute or so ago) is very messy. Nouns, adjectives, pronouns and verbs are all represented pretty differently. Some use a plain old constructor, one uses a static .parse() method, and the other returns a function that just calls a static allForms function from ArsLinguarum.verbs.conjugation with arguments from the parsed text. It's a horrible mess. So I've been working on remedying this. I'm currently working on the verbs to make them a bit nicer.

Update Feb 24 1:07:44: The cleanup is finally done (until I find something else to clean, that is). T_T

Ludus Finalis Prorsusque Celatus Artis Linguarum Incepti

Feb 23, 2015 4:33:11

Ars Linguarum's endgame is to be the foundation of a planned project. I haven't named it yet, but it's going to automatically generate a story. I plan to manually do part-of-speech tagging on (and other analysis of) some stories, including my own Modificatio Aeneidis, and write a program to generate characters, settings and plots to produce an entire story. It's perhaps a bit ambitious (not sure how I'm going to do the plot-generation part), but it can't hurt to try.

5:04:36 AM: Vocabitur Artem Fabularum.

[0.2.0] Ars Linguārum: Pronouns

Feb 17, 2015 20:47:22

I added pronoun support to Ars Linguarum. It can handle tricky ones like quis (common + neuter in the singular, masc + fem + neuter in the plural).

[0.1.1] More conjugations

Feb 15, 2015 22:26:04

I added more verb conjugations to Ars Linguarum (1st, 2nd, 3rd and 4th deponent + 3rd, 3.5th and 4th). Fun. I plan to add guessing support to verbs. Principal parts unambiguously provide all necessary information to fully conjugate a regular verb, so it should be easy.

[0.1.0] Ars Linguārum

Feb 14, 2015 2:54:38

I've been working on this thing that inflects Latin words. Its name (probably subject to change) is Ars Linguarum. It's pretty cool, so you should check it out. A pretty cool feature is that it's good at guessing missing parts of noun entries. Examples:

It autofills verb forms for regular verbs (though 2nd and 3rd conjugation require multiple principal parts). For 1st conjugation, it only requires the first principal part!

Previously, it guessed that laus,laudis:f is 2nd declension (as though it were laus,laī:m!) and pretty much discarded its genitive, but I fixed that by making it check the genitive to make sure it also looks like it's 2nd declension.

:)

Feb 14, 2015 1:33:10

Ahoy!

Feb 14, 2015 1:05:07

Greetings! I made some awful blog thing. It's absolutely terrible. Sorry.