January 9, 2011

first day with fsp

As i said earlier, what happens here is you write the FSP code or rather the model to represent the concurrent behavior. So let's get started..

First of all, download the LTSA tool from here. This tool will let you type in the FSP model and it can generate the Labelled Transition Systems or the LTS for you. What I feel is that this LTS diagram is what that really brings out the meaning of the model. So what you downloaded is the LTS Analyzer tool. Apart from generating the LTS, this tool also has an option to run animation, which helps to know whether our model is actually what you want. Stay tuned...I'l update this post soon with my FPS stuff. A little busy now. :)

January 8, 2011


FSP...????for those who don't know , google and see.., you will be surprised..it definitely does not appear on the first page..:P now try "finite state process"..there u go..now that's better..still not much luck in learning FSP. ha ha

Now what is this FSP?? It's supposed to be used for modelling the concurrent behavior, though I am not very sure how it's done. But, from what I read, it is hardly used today..but sadly, that's how we learn concurrency at APIIT. :D Of course, there  are better models to learn concurrency. However.., we are stuck with this. The only source I found, that I could understand FSP from was, this which is from the book our syllabus is based on.

Although the start was kind of bad.. gotta say..I enjoyed trying out this.its a little fun I would say. I will put down some of the FSP stuff I learnt today..

January 3, 2011


the final domain...

ah..just got to know that the PPF submission has been postponed to next week..yipee...:D

Lets talk about this domain...My first idea was to create a translator. My supervisor explained to me that it is almost impossible to do such a huge thing in 8 months. I would have to identify my scope. A very limited scope. According to him, doing the translation (Sinhala to English) itself is  a huge thing and therefore I don't have to worry about making scope wider. He said its very risky to do this in 8 months still and that is really huge work for FYP. He gave me an idea to develop a Sinhala spell checker instead. he said it would give me a fall back option.

and then vacation started..and i was asked to research about the domain. I researched and sent him a mail but he did not reply me. So I was blank on what to finalize on. Finally just the day vacation ended he sent me a msg in reply asking to meet him the following day. During that time I made a post in the Sinhala Unicode group about my FYP. Dr. Ruvan Weerasinghe sent me a mail after seeing my post mentioning some of the areas he thinks I could focus for FYP and one of it interested me. That's POS tagging. I researched a lot about it and made up my mind to do it. When I met my supervisor the following day, he told me to choose anyone I like and that both were ok. But he said he thinks I better do the spell checker. And I mentioned to him about my new interest in POS tagging. And he said that it is not gonna work out. It's too wide and if I limit it to a domain, that means I am being unfair to it..and.."Dr.Ruvan told you about it because that has been his research area for past 10 years" :P phew..that was a narrow escape..

Translation has a small problem. It means I need to find a domain as well as a POS tagged word list. And if I could not get the word list from UCSC I will had to do it myself, which means that's 2 projects. :( I don't think I can handle it..So am back to the spell checker.I think doing a browser plug-in would be more worth than for an editor. But am still working on it..good luck to me..:D
Later :

I decided to do my FYP on POS Tagger and the scope was achievable. I got help from LTRL and Dr. Ruvan. I finally finished the FYP and gained a 1st class :)


Ok...now am gonna write about my FYP progress. I am horrified at the thought that I need to submit the PPF tomorrow.. :( I still don't now what to do...

I'll start from the beginning.

I didn't want to continue with my 3rd year because I was null with most of stuff. But, then again  I changed my mind. And most of all, if I take a semester break APIIT will increase fees :P..don't have to pay them more than they deserve..

Ok..so then I started my mission FYP. Since long time back, I wanted to do something related to databases. However, after some googling I had changed my course to data mining without even knowing. So I went through the projects in the library as well. I wanted to do a "Stock price predicting system". So I went to meet the lecturer who had been doing databases for our batch through out the degree program. He and also PM told me it's a highly uncertain domain. They asked me to either choose a different domain. But since I am not creative, I couldn't find another domain..I gave up data mining.

My next idea was an "offline signature verification system" . PM said this was ok unless it's different from what is already done at APIIT. So i made it a ANN system. And that was stupid. PM said "you can't say it's NN. You have to research.Perhaps there are many other better ways to approach" ok..now i started to have my dilemma again..do or not to do..and although I did research alot about image processing, I felt that it wasn't really my thing.

Then...the 3rd topic. I was helpless. I didn't want to mess up with image processing or audio. Something people will use.  My to-be-supervisor gave me an idea to develop a speech to formula generator. It seemed ok. And i was told I could use the Java Speech API. I had a inclass exam at uni and had to go to that and i missed a FYP session. Unfortunately, that day someone else has got approval to it. My to-be-supervisor had mentioned it to him and asked him to check with me and he didnt. so i lost that topic as well..

And then....a report generator plugin for PHP in eclipse ;), a text summarizer, a audio summarizer, english to sinhala subtitle generator...bang!!! i hit my final domain. Natural Language Processing in Sinhala..this redirected me to my to-be-supervisor. He was very interested and had even talked with PM and taken me for his supervisee even before I had finalised my topic..And have to say.., I have not yet even finalised it..Lets talk about it in the next post..