Thursday, September 17, 2009

CasualConc and CasualTagger updates

Tonight, I uploaded newer versions of CasualConc and CasualTagger.

CasualConc's update is minor.

New features:
- Fisher's Exact Test in Collocation Stats Calculators (experimental)
- Calculator for 2x2 contingency table

The first one is added upon request by someone who kindly checked accuracies of stats calculation.  Thank you, Sebastian!  It looks like most of the stats are reasonably accurate.  Anyway, because the calculation of the Fisher's p-value is CPU intensive (esp. with large N), I made it as an option.  To include Fisher's p-value, go to Preferences -> Other and check 'Include Fisher's Exact Test'.  I haven't got report of the accuracy of this, so I'm not sure how well it works.  If anyone can test it, I'd appreciate it.  The contingency table calculator is based on the same formulas with other stats calculation.  It returns Log-Likelihood, chi-square and Fisher's Exact Test (optional).   I hope this is useful for someone.

The update to CasualTagger is also feature enhancements.

Enhanced features:
- word count now works with untagged text ('None' is added to options)
- kwic search for specified word(s)/phrase(s) is available (it was only possible from a word list)
- simple sort in kwic
- word count and kwic with multiple files (optional)
- editor now accepts text files encoded other than UTF-8 (set in Preferences)
- ignore specified tags or file information (by specifying an end marker/tag) in word count and kwic

Because I made so many changes, there might be many bugs.  Now I'm trying to tag my own corpus, so I've been making changes to suit to my needs.  I'll make more changes as I need them, but if you ever try CasualTagger and have nice ideas, please let me know.  I'll try to include them if they are not too complicated or they look useful for my work.  Also I'll try to update the documentation.


Also I checked CasualMecab on Snow Leopard, but it doesn't work.  I installed MeCab and MeCab-Ruby on Snow Leopard and it works fine from Ruby scripts (I tested the exact same script).  But somehow MeCab-Ruby doesn't work in an application.  I'll try to fix it if I can find any solution.

Sunday, September 13, 2009

CasualPConc update

Somehow, CasualPConc didn't run well in Snow Leopard.  This could be because Ruby in Snow Leopard is updated to 1.8.7 from 1.8.6 and this change might have caused errors. 

Anyway, I fixed some major bugs.  There might be some other bugs which are caused by the same source (related to Array Controller).  I also updated the how-to on the site.

If you find any bugs, please let me know.

Saturday, September 5, 2009

CasualConc bug fix

I found a bug in Word Count when I was cleaning up the codes for it. 

Bug fix
- crashed when creating n-gram list in the Database mode.

This bug was introduced when I added a warning message for missing files in the last update.

As for the clean-up, the problem was in Cluster and Word Count, separate codes were written for each table (right and left).  This was because of my lack of scripting skill (I still don't have much).  I couldn't think of a good way to identify which button was clicked and process them accordingly.  If you know how Cocoa works, this should be obvious, but when I started this project, I had no experience in Cocoa.

The new version is 0.9.9.7.  It's almost 1.0, so I'll try to wrap up to make it 1.0 soon.  This means no more major feature before 1.0 and I'll focus on bug fixes.  But unless I hear a lot from users whether it is mostly bug free or still has many bugs, I'm not confident enough to make it out of beta, though beta simply means (to me) it's not tested enough.  Computer programs will never be bug-free.

Anyway, if you find any bug, esp. in Word Count and Cluster, please let me know.

Saturday, August 29, 2009

Snow Leopard

Apple's new OS, Mac OS 10.6 Snow Leopard was released yesterday. I installed it on my Mac mini and did some tests with CasualConc. All the basic functions seem to work fine. I haven't checked every single feature, but I don't expect to see any serious issues with this upgrade.

Yet, if you find any broken feature or any other bugs, please let me know.

Thursday, August 27, 2009

CasualConc minor update

I uploaded a newer version of CasualConc last week. I haven't had time to work on this for a while, but I got one bug report and one minor feature request, so I fixed the bug and added the feature. The new version is 0.9.9.6.

Bug fix
- crashed when a lemma file is selected and the Lemma mode is on but CasualConc can't find the selected lemma file (it was moved, deleted, etc.).

New feature
- file name (FN) can be selected in sorting Concord results


If you find any other bugs, send it to me at casualconc (at) gmail.com. If the bug is very serious, I'll try to fix it as soon as possible.