Sunday, November 8, 2009

CasualConc update and CasualTranscriber

Well, I stated here that there would be no more new feature in version 1.0, but I changed my mind...  This is due to a couple of reasons.  One is I found a couple of bugs and I had to fixed them.  Another is adding them was not so time consuming.  I added to the current beta first and mostly simply copy/paste the items and scripts to version 1.0.  Especially one of the new features is what I wanted to include in version 1.0, but hadn't figured out how.

Anyway, the current version is 1.0.2 and here's the list of bug fixes and added features.

CasualConc Version 1.0.2

Bug fix
- In Cluster, the same cluster was counted twice if a search word/phrase appears twice in a cluster (such as 'is that is')
- Related to the above one: in Cluster, if a search word appears twice in a cluster, only one word was colored
- In Cluster and Collocation with Lemma search is on, not all words with the same lemma appear in the list (right most column)

The bug in Cluster was a little serious.  In the original script, clusters were collected on every search word.  This means that if there is a sequence 'is that is' and you search 'is', 'is that is' was counted twice (once with the first 'is' and then with the second 'is' in the cluster).  Now, when this happens duplicates are eliminated, so 'is that is' is counted only once.  And because it was assumed the search word appears only once in a cluster, only one of them was colored.  Now if there are two occurrence of the search word in a cluster, both should be colored.

The bug with Lemma is a minor one, which just means I don't expect many people use this function.  When you run Cluster or Collocation with the Lemma feature on, CasualConc shows the frequencies of words in the same lemma (or clusters with them) on the very right column.  But when Lemma contains only one word, it didn't display correctly.  Now all the words should be displayed.

New features
- Concordance Plot -- you need to set 'Scope of Context' to 'File' and check 'Create Concordance Plot'
- Search word/context search word history

Concordance Plot shows where in a file the search word appears.  The plots are generated when you run Concord with 'Scope of Context' set as 'File' and 'Create Concordance Plot' is checked in Preferences.

Another new feature is search word/context search word history.  CasualConc remembers the words you searched in Concord/Cluster/Collocation and you can select one from the pull-down menu.  You can set how many search/context search words to remember in Preferences (in General [Search Word] and Concord [Context Word]).

I hope these new features didn't introduce new bugs.

I also updated CasualTranscriber, a transcription helper application.  Now it should run on Mac OS X 10.6 Snow Leopard.  I also fixed some bugs and added new features.  It should be a little more stable.

The new/enhanced features are insert tag function and much more powerful regular expression search/replace.

To use tag function, go to Menu -> Window -> Tag Panel.  Then enter tags under Tag.  To insert a tag, type Command + Option + (the number on the left).  So to insert the tag in 1, type Command + Option + 1.  If Tag is laugh, the tag will be inserted as .  If any text is selected on the text view, it appears between the tags.  If you check the box and enter options, they appear like attributes in XML.  Options will be divided by a comma (,) so if you enter option1,option2 in the Options box, the inserted tag will be .  The selected text appears between tags.

If you don't want to type the combination, you can click a button to insert a tag.  On the main window, you will see a button on the top right corner (the one to show tool bar on any Cocoa application).  Click it to show an icon like a gear.  Clicking the gear icon shows a drawer on the right.  Click a button next to the tag you want to insert.  You can change the tag on the drawer (the change will be reflected on the panel).  But if you want to change the options, you need to do that on the panel.

I fixed some bugs, but I can't tell which ones.  This is because so many things broke in Snow Leopard and I couldn't tell which bugs were in the previous version and which ones were due to change in the OS.

Anyway, if you try either of them and find any bug, please let me know.


Priyadarshan said...

Thank you very much for CasualConc. It is the best concordancer, by far, of all those I could test on the Os X platform. It is fast and very intuitive.

I will submit my user experience here if I may, in the near future.

Wonderful work, thank you once again.

Yasu said...

Thank you for your comment, Priyadarshan. It's very encouraging to know someone actually uses CasualConc (and other applications). I'd really like to hear what you think about the application, esp. which features are useful, not easy to use/need improvement, or any suggestions for the future versions.

I hope CasualConc will help your research/teaching or whatever you do.

Priyadarshan said...

I started using CasualConc and I am impressed with the quality of your software. Even the manual is very good.

I was looking in CasualConc for a tool similar to the one you have in your CasualPConc application:
"Stop word/skip character lists" but I could not find it.

I am not sure if this is the place to ask such questions, if you wish I can repost it somewhere else.

Thank you for the excellent wotk


Yasu said...

Well, I thought about it, but because it requires a lot more changes than simply copying the interface and the scripts, I decided not to. Unlike the plot, which was originally designed to be included, the original scripts didn't have codes to deal with stop words/skip character in the way CasualPConc/CasualMultiPConc handles them. Implementing these could have introduced much more bugs to the version 1.0, so I decided to add them in the next release version.

A couple of days ago, I uploaded the current beta (version 1.1) to the site. You can access the beta download page from CasualConc download page. This beta has a few new functions including stop word/skip character handling. But as I wrote, I had to make a lot of changes to the scripts, so it could be unstable. And because I haven't really tested the functionality, they might not work as intended. If you are interested, please check it and see if they work. Any bug report would be helpful.


Anonymous said...

Thank you very much. I sent a message to the address provided on the download page.