Pages

Monday, November 1, 2010

Full of suprise



01 /11/10 what a significant...cantek kut the number...
hari ni full of suprise
first of all
-my cik ude dok perli2 (next year nak jadi wife 2 somebody--> semalam lol yg ni)
-susu was engaged to fakrul razzi
(dah tgk kat fb someone is engged but ignore jer..x tau lak saper)
-second is suha's bf asking her to marry



full of excitement rite?
unexpected ....




keje lak..even the warranty dah bis setahun tuk esewa nyer system
we still doin their request

hari ni mintak ubh no penyata pemungut ikut kod pejebat lak
(sazly dah mengeluh)--> one u ubh kat server need to do kat lappy utk kutipan lak
and sazly still pening with esewa beli

next week on 8 n 9 will be FAT n Training

need to prepared for the training (takut that boy do last minutes decision lak)
tibe2 suh ckp kat dpn mcm last one




everyone dah having a plan nak berkeluarga
susu, kak shu, kak ecah dah engaged ....
by next year mesti byk wedding nak kene attend
me== mcm mana la plak
plan gak p how bout to continue my study
can cik ude afford ?


we both dah pening (mcm mana to save the money)
when think bout money me dizzy~~~~


xoxo-::-
ct

Friday, October 29, 2010

My saturday

6.45am -->take a shower,subuh then bubom balik
around 9 something (dengar bising2 kat luar-> good wedding mah cik B)









11.00am-->completely conscious he3
wash cloth,
having my bf (hot tea n 3 pieces of cookies).
give a call to my cik ude (he's working in kuala kangsar site)
after that termenung......




1.15pm--> attend the wedding with kak hawa n her friend
meet cik b, cik nani other neighbors
mencekik having my lunch
the bride cantek sangat
(hujan la plak....)



2.00pm --> dah x tau nak buat per
get my lappy
checking over facebook (anything new)
then start to update my blog
then start la merepek2




2.42pm--> heard people karaoke in the wedding (ader yg suara hancur lak)
after this do know wht to do dah
cik ude not going to see me this week (dah pokai)

Thursday, October 28, 2010

Inilah hasil keje aku masa x der keje

Let have some overview about me

was name as: SITI ASMAH BT AB AZIZ
nick name: normally people call me ct,cik ct, asmah



me


now hired in zamrud
thi s is my working environment




and some example of my work

transfer this using
[HTML]
to


my patient is





previous of me


celebrating

and







my pet




my stuff




this some story about my life.....
simple thing that I've done, make my life shine


Xoxo-::-
ct

Tuesday, October 26, 2010

Aku kene ckp kat dpn

2times kene tolak kedepan untuk bercakap:-

1. during esewabeli UAT (use acceptance training)
2. esewa training

sazly ko suker buat keputusan on d spot...argg
p i don't mind (coz dia byk tlg aku) --> merangkap my sifu untuk esewabeli n esewa
x der dia mati aku kat cni (BPA)


traning fell like not successful as i aspect. lots of things been querying...
sometime aku pon x tau how to answer.


huh such a unknown felling (did i perform well as a trainer?). that is the biggest question mark.
but yang peliknya...x der rasa takut pon (different from before).


try my hard to improve.
tp aku ni pemalas ckit
different compared to working in tcs (dlu rajin explore)
but now hermmmm...no answer


try to be nice to everybody
try to keep my smile
try my hard to calm down n keep my patient
i'm trying
trying not to pening


wish me a good luck yaaaa


p/s: jadi lah org yang lebih sabar and give the best


Xoxo-::-
ct

What a hectic day



Today just attend a meeting discussing on esewabeli
i juz hate when think about it now
give me not good felling (mad,tired,gone lost my patient) one after another


the most horrible thing is dealing with user (dah byk kali keep explaining the same thing, tp x paham2, geram jerrr menyirap jer darah) the data n the structure for the system was terrified, horrible dan aper2 jer lah yg sama waktu dengan nyer...


and one more problem, now i'm goin to follow who (either bos or sazly&nash co?)
problem2..make me sick to think


going back to the system (lot more need to add on)asking so many thing to do. me will try my hard to help sazly(my colleague), doin all the add on.


tomorrow need to handle a training on esewa (dah berkulat dah sytem 2 ader gak yg nak traning lagi).


hope tomorrow's training will be running smoothly....
the reality of working (start to burden my shoulder)
guyzz wish me ggod luck doing this



Xoxo -::-
ct

Friday, October 22, 2010

I'm a lonely

lonely not mean that don't have my special one (cik ude) but now interm of staying at home, going to work...have no friends, all have to b independent....



last time, i have kak amy (she give me a left to work) and came back from working having chat with her bout wht happen on that day



but now...hermmm... she move to putrajaya...me==lonely (no body to be talk to, no friend while watching tv especially biler watch siti kelembai show--> our fav show :D ).


biler dok sorang(staying alone) all the memory came to my head...some is suck and some make me fell so???
don't how to explain the felling (sometime it is killing me)... but nothing to b repent on what have i decide "no regret ct"


have to move to one stage to another...do not stick in the safe zone or else you have no changes in yor life "no improvement at all"





P/s dare to change--> result
(enjoying the job even it is busy and a lot thing to be complete in the time constrain )

XoxO;
ct

Tuesday, September 14, 2010

6 syawal bersamaan 15 sept

life was not always beautiful, not always wonderful, not always like u aspect to be like...
now i was hired to b a programmer n support in zamrud alliance,
much more happy rather than stay in KL (pandan Jaya)
the working environment just love it even get low payment compared to KL one
but i think as long make me comfort, then sure can gain something without any forcing.



relationship
worst then ever, this is the worst ever stage for both of us..(may b too close)
just hate having a fight with him
but try to find what are the real problem with us



p/s wish for both of us will b ok soon


xoxo
ct
:)

Thursday, September 2, 2010

friday --> 7days b4 raya

1.33pm

staying alone in the SUK...have a chat with suha. nothing much today, sazly n hilmi dah cabut (sembahyang jumaat)...



last night went to sri malaysia for break fasting....bring kak amy together..have a great menu...
mine is nasi goreng petai, kurma meat ball, ikan sweat sower, scramble egg and petola goreng (can't take that one becouse the taste is bitter).



kak amy n me joint mr u-the office mate..most of them are construction guy..me n kak amy tersesat kat c2... me, kak amy, u-the, yanie n panjang went there in one car...they all buat lawak all the way...loughing like anything



after break fasting, we went to GM, went there bout last 3year.. then last night was the 1'st visit after last 3years. juz window shopping, nothing that we bought. juz walk around cuci mata....



last night bit bengang ngn u-the, talking a nonsense thing....come on la behave la ckit..is a public maaa???? sampai panjang pun tegur dia...


juz love joint to hang out...make the moment become so cheerful.

today think u-the will fetch me, gone stay in yanie house....


xoxo
cik ct
:-)

Tuesday, August 24, 2010

3rd days in SUK

yesterday still revise the way they code the system n i was ask to learn e-sewabeli...but the system is still under construction. they convert from stand alone to web page. keep asking sazlye about the code...he3...just a nice person, can explain well to every question.


love the environment of working so so much, they cooperate well...so as the intern (adi n hilmi). may b it is more suitable can work wit the guys...


yesterday try to do auto generate no rujukan in pro_projku.php yes i made it...tp ambik sql create by sazlye...he3..just give a little touch jer...


last night have a little fight wit my busukkk (pasal nak balik raya), keep trying finding a reason to bring him together. but at the end i have to take a bus... dah la tiket fare mahal (tiket balik =rm 27 an return rm 24)...


kak aimi help me to find those ticket, thanks kak aimi...today going to follow her bukak puasa kat Cheng Ho...


n now i'm happy being staying in this small town ipoh....
hope 2day can shine up my life, learn new things..gaining experience more n more...


xoxo
cik ct
:-)

Sunday, August 22, 2010

1'st day with Zamrud

i've been hired in zamrud sdb bhd. nice to meet all the colleagues (adi,hilmi,azmi and sazly). kind da fund having chat with them.


in zamrud i'm the only girl, and rest of the staff is men. and i'm the first girlz been hired in zamrud...break the record.


hari ni study the way they code the e-Sewe. some can't understand
1. maxima_post('still don't get it????','file been use','form name')


hope i can perform well in zamrud. can contribute benefit to them... can't wait to study oracle...learn a new thing lagi...


i've been working in SUK now, cover the system here.this morning system down, Azmi fix it. alo rugi lak x g tgk tadi mcm mana dia buat...


all of them just left SUK, balik office in silibin. n again i'm all alone here again.

i think i should be ok here. but i term of career growth i don't have any answer for that.


xoxo
cik ct
mood :-)

Thursday, August 12, 2010

Last day in ebusinessoft

13hb august 2010....last day working in ebusinessoft pandan jaya...this is the time that i'm waiting 4. actually this is my 1'st officially job after graduate from UiTM, tapi rase macam x sesuai nak keje cni, lots of preasure keep coming..and + with the unhealthy environment...


lega sangat dapat bertahan sampai ke 13hb... i though juz want to resign without any official latter(ingat aku nak cabut jer), but thanks to allah (give me the strength).

ramai yang me advice tuk stay till 30days notice..thanks yaaa...


and today plan is, after working hour, will heading to shah alam see budak2 ni kat saner...and mr u-the fetch me from office, hati2 drive dear. and after see them, we'll shift all my stuff to the car..nak move to ipoh lak..don't know nak gerak biler, either after sahur or after shift barang2..all depand to mr u-the, but i think better move after sahur, b4 that can rest dlu...


with a better environment hoping that can snap byk2 picture, after this my post akan dipenuhi dengan picture la plak, penat dah nak wording, sakit mata pun ada tgk blog aku ni, penuh dengan words jer.

so hope after this will be get a better environment.

dah rindu padang sgt2 ni..love to grass smell likes..


so wish me best of luck with 2'nd job ...hope everything will be back to normal



xoxo
love
ct :-)

Wednesday, August 11, 2010

2nd last day

arggg hari ni pagi2 dah sakit perut...still dalam process adaption dgn puasa..
smalam bukak puasa dengan bihun sup jer n dah kul 11mlm jadi hantu dapur cari makanan..:D
pagi tdo pengsan...x terjaga sendiri untuk sahur, sib baik kak nana kejutkan thanks kak nana <3 love u....

then pas sahur and solat subuh nak tdo balik, p perut meragam, x leh nak tdo...ergggg sakitnye perutku....
and aku mcm biasa la counting the day nak habiskan notice 30 hari untuk resign...x per2 esok jer 1 hari lagi..sabo yer..tomorrow u will b free n your lovely one .....suke3. hope hari ni x banyak problem sangat..problem smalam sumer dah ok but 10.08.10 delay banyak...sib baik aku keje sampai esok jer...he3

kak watie x sampai2 lagi...slalu mcm 2...geram pun ader..tp x per ct esok jer last ko ngadap office ni, then pas ni, ko keje la ngn cik nuar plak...think gone love it nanti...all the best for me to work in ipoh...yebaba..

esok aku dah last day in pandan jaya (ebusinessoft)pas ni dah x payah nak mengadap jam mcm per kat depan 2...hope semua berjalan dengan lancar...

hari ni pasar malam kat blakang rumah, nak beli per eak? sahur terakhir ngan kak nana pagi esok jer...then after that pindah to ipoh lak...suke nye hati kuuuuuu :D

Tuesday, August 10, 2010

Berikanlah aku kekuatan

3hari lagi sebelum resign. aku x tau la, may b time last2 mcm ni yang rasa lama, keep counting the day, hari2 tgk jam jer...hope i will end as soon as possible. tommorow dah khamis...alhamdulillah..n nak tunggu jumaat jer, the friday nite nak nak move ke ipoh.

hari ni 11 august 2010 bersamaan 1 ramadan (1st day puasa untuk this year). hope aku dapat saba dengan segala cubaan pada hari ni and hari seterusnya. kak watie dah kul 9.45am pon x sampai2 lagi office..sakit hati gak rasernyer.

aku tahu la aku byk menyusahkan dia, tp tinggal braper hari jer lagi...lepas ni u will not see me kat office ni dah. aku pon dah x larat nak mengadap office ni...sume aku buat terpaksa jer...semata-mata nak habiskan notice 30hari.

ya allah aku pohon padamu, berikanlah aku kekuatan untuk habiskan 3 hari lagi kerja kat cni. berikanlah aku kekuatan....amin3 yarabalalamin

Monday, August 9, 2010

hari ni aku jaga office sorang-sorang...

10 august 2010...keep counting the day nak habiskan this week. this week gone be the last week aku kat ebusinessoft, enough is enough aku dah x tahan dah, ni pon kuatkan semangat nak datang office, aku dah x larat nak mengadap jam, asap, bau sampah and sumer bender kat KL ni.
i just want a peaceful life jer, x kesah klo gaji cukup-cukup makan jer...

today just saw ammar in fb, dia baru balik dari PLKN kem for 1 week. hope he is doin ok there, dah la nak puasa ni..kesian betul...aisyah pon samer baru balik dari kem PLKN..hope u doin great to...berkhidmat untuk negara.

aku kuatkan semangat nak tepoh hari-hari untuk minggu ni, dah x sabar nak tunggu friday, mr u-the datang that day, he fetch me from office then we'll head to shah alam to get my kebaya yang tertinggal kat saner. aidil ader dekat ole2, hope can see him too nanti, klo der kesempatan la...

ya allah kuatkanlah semangat aku nak lalui ujian mu, kuatkan lah hatiku untuk atasi semua masalah, tunjukan lah aku ke jalan yang benar, ke jalan sepatutnya aku berada. permudahkan lah segala urusan aku, segala pekerjaan aku. jadikan lah aku hamba yang bersyukur dengan segala nikmat mu, rezeki yang engkau limpahkan kepada aku...amin...

so today kak watie x der g ampang training, farizal pon x der(dia ader exam). so aku akan jaga support sorang-sorang. hope hari ni x der call masuk sangat n chatboard x der sangat n problem dapat solute (amin).

aku rase aku x sesuai untuk kerja kat cni, aku x suka dengan environment office, the coll, the bos.. sumer jadi x sempat, lunch kadang-kadang x sempat, sembahyang kene pandai ejas masa, jam lagi, n skang dah nak puasa(aku x sangup nak bukak puasa dalam bus). satu hal lagi slalu gak la balik lambat, dah la kat depan 2 gelap.... klo in ipoh ader gak aku nak mintak tolong klo emergency. but in KL i've no one to help me....

may be rezeki aku bukan kat cni, tuhan dah tunjuk kan aku yg tempat ni x sesuai untuk aku. aku terima rezeki yang dia bagi untuk aku alhamdulilah( itu yang mampu aku ucap sekarang). so after this akan kerja kat ipoh, kerja dengan Cik Nuar, hope everything akan back to normal.....

doakan kesejateraan aku, semoga aku dimurakan rezeki, dah hidup diberkati,amin....

love ,
ct :)

siapa aku???

good question 4 me. who is me actually? everybody call me ct, but klo cikgu or lecturer call me asmah(sounds wierd kan?). aku ni jenis pendiam klo dengan orang yang x kenal. but if i know them better...paler otak bleh giler gak... aku ni Chinese+malay blood (but nothing to be proud of that, org ckp mix ni pandain cun, tp aku xder lah superb pon mcm mix yg lain...). aku ni tembam, pendek, tp org ckp cute la....aku pon x tahu la cute tang maner? :D

aku ni nampak jenis manja, tp klo depan2 nampak cool jer, biler ngn org yg close sensetif. pantang kene usik mula la berkaca, he3. aku putih la...anak cina biasa la, mata sepet, klo free hair x der saper cam pon aku malay... aku ni jenis on off gak....tudung kadang2 ader kadang2 x lekat kat paler.

aku ader degree, tp keje hampeh g...blajo jer tinggi...aku suker berkawan, suke hang out, suke g shoping, tapi jarang beli... aku jenis simple wearing...kasut flat x leh pakai hill(kejap jer pakai dah kene tukar flat :D), pakai jean, tshirt rambut sangul or ikat (rimas la klo lepaskan rambut). gigi depan aku der lohong(make me different from other).

aku suke makan, aku suka bau rumput pas potong, suke outdoor. aku ni jenis yang kene tunjuk satu persatu...klo x alamatnyer hancur la keje 2...kene guide satu2 sampai kau pandai, pas 2 baru leh buat.

aku ader lesen tp penakut nak drive...he3. aku suke tgk tv, especially tgk anime...sumer kawan yang dapat sumer jenis bkn kaki hantu(sume baik2)...aku ni jenis suke main2 gak. tp jenis ikut arahan ckit...penakut nak langgar peraturan(minah skema la ckit).

aku ni jenis mengelabah ckit...when deliver msg kadang2 x sampai msg nyer..x reti nak explaint. aku ni jenis melawan, klo lagi dilarang lagi aku buat...degil kepala batu, kepala angin sume aku la 2.

tapi hati baik tau, klo org x wat dajal ngn aku, aku x der la wat dajal...tp klo dah terkene sekali, aku ingat sampai biler2 (pendendam). yang paling penting aku ni jenis innocent ckit :D

Sunday, August 8, 2010

9th august 2010

just 5 days to go...after this i'll b move to ipoh, i already send the resign letter to ebusinessoft. After this will be work with Encik Nuar (Old bos). Hope everything will be ok in ipoh. i just hate being stuck in KL...hate KL so so much..damn hate it especially near by pandan...it was hectic like anything, i just can't cope with the environment.

ipoh just a nice place to live.. everything there but not like crowded as KL. Somebody there to help me, my uncle, auntie, my special one, and a friends. Hope all my life will be back as normal as before, just desperately need my life back, want my green field back, my movie, my friends.

i just miss the smell of the grass after it was cut. miss the smell before raining, miss my small eye when me is smiling, miss my lough(miss all of them), miss my books, miss my assignment. i just need some simple life with modesty, normal friends, normal life...that simple thing i really need.

since shift to pandan i lost all of those things, it make me think dulu never appreciate all of that but now you'll b miss all those thing biler dah hilang. i just want my normal life back to me, just a simple life. that only thing i need now...hope i have the bless from HIM.

may god bless me,
ct :)

Sunday, June 20, 2010

1st day in pandan indah

today is the first day in pandan indah. i mive here to cope with the distance problem. last time was staying in shah alam, it take about 2 hour to reach to the office in pandan jaya. so to handle it, try to find the nearest place to the office.

it most the hectic week since i finished my study. 2 days traveling to KL from shah alam, take bus to sek 2, sek 2 to kl sentral, kl sentral to masjid jamek and the last is from masjid jamek to pandan jaya..it take time to b in office and cost me a lot.

i manage to house in pandan indah, staying with mimi's sis (kak nana), n one teacher (kak yah) and there is still one gilrz n i don't know her name yet.

2days take to move from shah alam to pandan.... even i don't have any forfeitures...but the clothes n books were a lot...n the most impotant is it was heavy like anything...i have to get all the thing downs from 4th floor to basement by using stair only (shah alam, lucky have friend help me out) and move all the thing to 3rd floor (no lift was provided imagine it....huh)


but i was not the as bad from being separated my BFFs.....all the way drive to pandan i cry..hermmm..(susah nak dapat friends mcm deorg..gone miss u guys so muchhhhh)...ude try to calm me down...(try to pujuk me n saying everything positive to stop me from crying....he3). naper la sensitive sangat hari ni...raser mcm x nangis td maser nak salam ngn budak2 ni td. but once it entered the car....dah raser semacam....


after move all the things in the room. i go 4 shop to buy few things....ude bring me to ampang carfour. cost me about RM 70++ gak...all the way back find a shop to duplicate the key...and after that ude went to the restaurant to see his old friends.....(lamer gak borak citer2 dak2 KK)


after taht he send me home and after that arrange my thing to tide up...letih sangat2....lot of thing to rearrange back...after magrib manage to finish it.

and 2morrow learn how to take abus from pandan indah to pandan jaya...

p/s what a hectic week....b strong ct...the lift is just begin...

by,
Cik Ct

Monday, June 14, 2010

DL stand for Dean List or AD stand for Anugerah Dekan

this semester i manage to get the title (DL)....hu3 cannot imagine... it really out of my imagination. something sound impossible to achieve. but alhamdulilah....wht was i'm dreaming on 2 become a reality.

No. COURSE CODE NAME OF COURSE CREDIT HOURS *GRADE RESULT

1 IPK503 ETHICS IN ISLAMIC INFORMATION TECHNOLOGY 3.0 A- LU
2 ITS690 INFORMATION TECHNOLOGY PROJECT 6.0 A- LU
3 IPK501 SHARI'AH AND TRANSACTION 3.0 B LU

CURRENT SEMESTER 3.50
SEMESTERS IN TOTAL 3.03


and the most important thing i manage to grad with 3 (2nd class upper) and get 1 start..yepeeee
I managed to finished the degree with CGPA 3:03 (alhamdulillah).


p/s thanks to god answer my prayer....

by cik ct :P

i really have a bad cold n cough

14 June 2010... 4 days before my birthday.

poorly now i'm suffered having a bad cold and cough. i keep sneezing from morning till now. argggg nose blocking, headache, sweating, it make me lost my energy...

in d noon i went to clinic...ramainyer manusia kat c2..the time was killed juz waiting 2 be called by the nurse... arggg x suker sgt2... dah la sneezing like anything, 1 packet of tissue selesai hari ni...and have 2 buy a new one....

coughing may be sebab infected dengan Doc Wan Adilah, n cold may be sebab kene hujan maser balik dari interview from PJ ( juris tecnolgy sdn bhd). normally if i get cough and i will get the ful package's which are cold, headache, soak throat....

from what i have now...semua package 2 dah ader...hermmm...tp the most important is it will take time to cure.....

staying in KL was the most i hate. 4 the few month may be i will sick because of the immune system still can not handle the pollution (dust, air, smoke....hate all those thing). dah la aku ni senang effected by cold....immune system x ckp kuat.


"p/s hope will get better sooner"

by cik ct

Tuesday, June 8, 2010

yeeepeeeee i was hired

2 day i'm attending 1 and first interview in my life, 2 get a job.
manage 2 wake up at 7 in d morning. He wake me up :-) (like always lol - tebalik plak kan?he3). and prepared everything done around 8am.

wait 4 the bus in sek 7 take u601 (RM 1) until sek 2 take U80(Rm 2.50)then travel to KL sentral, reach there almost 9 something. walking around kl sentral aim d directory first. :P.. aku x tahu which train go to pandan jaya. tengok punyer tgk baru faham.....i have to go masjid jamek 1'st and shift the train to Ampang link. from kl sentral to masjid jamek cost me (RM 1.30) and masjid jamek to pandan jaya (RM 2.40).

manage to reach pandan jaya early (takut sesatmyer pasal) reach there about 10.30 am, the interview at 11.30 am. so walk2 to find the place....ask people around to find the office. tanyer punyer tanyer this kakak help me to show it. she said the office is above the
pejabat urusan .................... d rest aku x igt name dia.

then x puas ati lagi i call d bos.... he pass d phone 2 one of d staff kat c2. she fetch me kat bawah office.....then bermulalah sesi interview.
first i need 2 answer question (macam test lol) the ques are all about JAVA...aduhhh la aku ni fail ckit teori...aku code pon main bedal jer biasa...asal run and no syntax and logic error sudah. the bos show me the score = 3/15 i think yang betul (buat malu jer) tebal muke aku.....


then continue with the interview...tanyer la expectation salary (i put 2.3k) and kat kertas information detail ader la plak soalan sql..... aduhh dah la luper x igt lansung.....main bedal jer....MR Neo (the bos) said all wrong....huahahahaha malu2. dah la bayak soalan dia tanyer x leh jawab.
he said i have a potential but macam jade stone yang still covered by stone in outer layered... need to polish......aku eyer kan jer lah....mmg ponnnnn....pas 2 mcm2 lg la dia test....malunyer x leh jawab...argggggg


he ask me naper bleh start lambat...(put it in july) and i give a reason need to resign first (my lecturer). if all the requirement that i ask 4 can be fulfill? how long can u stay...said depend 2 d offer lol.....(Chinglish). i though i don't get d job...tp dia ckp mcm dia bg keje 2 kat aku . he introduce me to Wati and ask d girlz suh cari room that can b rent.


pas 2 aku tanyer what are the benefit of d company. Mr Neo said same like other (provide Epf, sokso, bonus depend on d performance)...so i ask him, am i hired..he said yes....pas shake hand..everything done...and i was hired by ebussinessoft.com 19-2A J Pandan 3/9 Pandan Jaya KL.

so aku balik pon same macam datang td....total up the expenses 2 day is RM 14.40 meal excluded.

klo nak tarvel dari shah alam mcm ni mau kopak kut..........

"p/s 8 june 2010 is a lucky day for me"

by cik ct :-)

Monday, May 31, 2010

selasa 1 june 2010

the month of jun always give something special.

birthday:

1/6(aishah my friend)
5/6 (mu aunt ha and aunt norli,uncle li, )
7/6(my sis)
18/6(mine)
wedding:
8/6 (my sis nyer wedding)


exam result

10/6(my final year result...i made it ke x to grad 3++ arggg takut).

and this year gone be the year i step out to move a new phase of my life. trying my hard to be hired as soon as possible. desperately need the money to covered all d expenses. some worse thing is my mom have to balik kampong 4 a while due to the contract was expired. so by hook or by crook i have to be hired A>S>A>P........

i need my mr luck again....please

Friday, May 14, 2010

Aku .......

x tau nak buat ape, so i decide 2 write again. sometime i juz fell my life mcm x best jer...x mcm org lain, having fun, cheer all d time, ade kawan yg banyak...wish to have all those thing.

kat rumah juz tinggal me n suha. d rest keje, ida n momot in jakel, but both of them nak give up dah, letih sgt...9.30-8.30 stand jer...klo aku pon mau KO kut. farah dapat keje kat tesco, in wht pos x tau but dia as part timer worker.

aku??? sedang buang masa kat rumah, download Joomla n install, need 2 study mende alah 2. Pening gak. byk function yang x tau..byk sgt functionnyer. the bos need who have skill in Joomla n PHP array....tgh berusaha blaja sumer bender 2 balik.

in the mood of refreesh sumer bender2 lama. skg pon ngh job hunting........

p/s best of luck 2 me

Thursday, May 13, 2010

a mood after FYP

10 may 2010 was d most important day that make sure u r grad or not. alhamdulilah i make it well, report sikit jer kene betulkan. thanks 4 everyone yang support me especially my family, my bushook (always listen when crying sebab paler dah blank nak wat coding) thanks a lot.


now just nak siapkan report untuk buat hard cover, last submission report on 26 may...skag masa dah byk free...now in d mood of hunting for a vacancy. dah mintak kat TCS, GW, and gamuda...but x dapat feed back lagi.


i need d job immediately.....nak keje, keje, keje, keje.......hope by this week dah dpt feedback

Sunday, April 11, 2010

update fyp

/*************************************************************************
* Compilation: javac Tokenizer.java In.java
* Execution: java Tokenizer
*
* Takes a string as input and tokenizes it into an array of substrings
* See also java.util.StringTokenizer.
* read and write to the text file
* using a specified delimiter character.
* check the availablelity of the words in database
* check the structure due to the malay language rule
*
*
*************************************************************************/
//import java.io.*;
import java.util.StringTokenizer;
import java.util.*;
import java.net.*;
import java.sql.*;

import java.sql.Connection;
import java.sql.Statement;
import java.sql.ResultSet;
import java.sql.DriverManager;

import java.awt.Container;
import java.awt.FileDialog;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
//import java.awt.event.ActionEvent
//import java.io.File;

import java.awt.*;
import java.awt.event.*;
import java.io.*;

public class guiTokenizer extends javax.swing.JFrame {

Connection connection = null;

String str;
int num, n;


public guiTokenizer()
{ initComponents();
}




public void cmd(){

// jTextField1.setText("Edited file. xls");
PrintWriter outStream=null;
boolean check=true;
//Tokenizer q = new Tokenizer();

String fileName=jTextField1.getText();
try{
//database
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection con = DriverManager.getConnection( "jdbc:odbc:database" );
//file
FileInputStream file = new FileInputStream(fileName);//input: text file with delimeter
outStream = new PrintWriter(new FileOutputStream("C:/fyp/edited.txt"));//output: sentence eleminate the delimeter
DataInputStream in = new DataInputStream(file);
BufferedReader br = new BufferedReader(new InputStreamReader(in));


//array
String[] arrayToken;
String[] checktrueNp;
String[] checktrueVp;

//declare stack
Stack currentStack= new Stack();
Stack copyStack = new Stack();
Stack toCompleteStack = new Stack();
Stack toCompleteStackSentence = new Stack();
Stack tempStack =new Stack ();
Stack backUpToCompleteStack = new Stack();
Stack backUpToCompleteStackSentence= new Stack();
Stack currentStackSentence= new Stack();
Stack partOfSpeech= new Stack();
Stack partOfSpeech2= new Stack();
//stack for frasa nama,frasa kerja, frasa adjectif, frasa sendi
Stack Np= new Stack();
Stack Vp= new Stack();
Stack Pp= new Stack();
Stack Ap= new Stack();
Stack Pv= new Stack();
Stack Pv2= new Stack();


//insert element in pharase
//Np
// stack frasa nama= bil/penjbil/gelaran/kata nama/penentu/pent
Np.push("Pent");
Np.push("penentu");
Np.push("Kata nama");
Np.push("Kata nama");
Np.push("gelaran");
Np.push("penjodoh bilangan");
Np.push("bil");
String[] arrayNp=new String[]{"bil","penjodoh bilangan","gelaran","Kata nama","penentu","Pent"};
String[] arrayNpCheck=new String[arrayNp.length];
//Vp
//stack frasa kerja= kata bantu/[katakerja(obj|akomp)]ket
Vp.push("Ket");
Vp.push("Akomp");
Vp.push("kata nama");
Vp.push("Kata kerja");
Vp.push("kata bantu");
String[] arrayVp=new String[]{"kata bantu","Kata kerja","Obj"};
String[] arrayVpCheck=new String[arrayVp.length];
//Pp
// stack frasa sendi=kata bantu +kata sendi+kata nama arah+FN+(akomp|ket)*/
Pp.push("ket");
Pp.push("Akomp");
Pp.push("Fn");
Pp.push("Kata nama arah");
Pp.push("Kata sendi");
Pp.push("kata Bantu");
String[] arrayPp=new String[]{"kata Bantu","Kata sendi","Kata nama arah","Fn","Akomp","ket"};
//Ap
//stack frasa adjectiv= kata bantu(kata penguat)+adj+(ket)+(akomp)
// Ap.push("Akomp");
Ap.push("ket");
Ap.push("adjectif");
Ap.push("kata penguat");
Ap.push("kata bantu");
String[] arrayAp=new String[]{"kata bantu","kata penguat","adjectif","ket","Akomp"};


//pasive
Pv.push("obj");
Pv.push("penyambung");
Pv.push("kata kerja");
String[] arrayPasive=new String[]{"kata kerja","penyambung","kata nama"};
String[] arrayPasivepCheck=new String[arrayPasive.length];

//pasive2
Pv2.push("kata kerja");
Pv2.push("kata nama");


// String texta=jTextArea1.getText();
//System.out.println(texta);
/* String cmd=null;
cmd(cmd);
System.out.println(cmd);
if(cmd=="Yes"){
System.out.println(cmd);}
else
{ System.out.println("...........");}*/

String s = br.readLine();
char delimiter = '.';//delimeter

// calculate number of delimiter characters
int N = 0;
while (s != null){

for (int i = 0; i < tokens =" new" right =" 0," left =" 0;" i =" 0;" left =" right;" i =" 0;" st =" new" notoken="st.countTokens();" pos =" new" arraytoken="new" addtoken=" new" count="0;" str="st.nextToken();" temp=" toCompleteStack.pop();" count="0;" stmt =" con.createStatement();" countarray="0;" position="tempStack.pop();" rs =" stmt.executeQuery" word =" rs.getString(1);" tokenpos=" rs.getString(2);" check="true;" count="="0)" attpos="null" arraytoken="new" temp="partOfSpeech.pop();" token="0;" try="" counttrue="0;" getcurrentnp="0;" getcurrentvp="0;" backnp="0;" countwhile="0;" counttruetoken="0;" checkstruc="true;" int="" indexnp="0;" checktruenp="new" checktruevp="new" notoken="" wordinpos="partOfSpeech2.pop();" all="" current="" boolean="" check="" begin="" string="" np="" checknp="false;" counttoken="0;"><=(noToken-2)){ if( arrayToken[countToken+1].equalsIgnoreCase(np2)) { outStream.println((countToken+1)+": "+arrayToken[countToken+1]+" " +arrayToken[countToken+1].equalsIgnoreCase(np2)); } else { indexNp=countToken+1; //check VP String vp1= Vp.pop(); String vp2= Vp.pop(); Vp.push("Kata kerja"); Vp.push("kata bantu"); String pv1= Pv.pop(); String pv2= Pv.pop(); String pv3= Pv2.pop(); //outStream.println("another structure (VP) "+indexNp); Pv.push("penyambung"); Pv.push("kata kerja"); Pv2.push("kata nama"); // outStream.println("another structure (VP) "+indexNp); // outStream.println("String pv3= Pv2.pop();"+pv3); boolean checkPasivePenyambung=false; //outStream.println(arrayToken[indexNp].equalsIgnoreCase(vp2)+vp2); // //if (indexNp<(noToken-2)){ //checkPasivePenyambung=arrayToken[indexNp+1].equalsIgnoreCase(pv2); // } // outStream.println(checkPasivePenyambung+"tr"); if((arrayToken[indexNp].equalsIgnoreCase("kata bantu"))||(arrayToken[indexNp].equalsIgnoreCase("kata kerja")))//&&checkPasivePenyambung==false) { outStream.println("VP true "+arrayToken[indexNp]); while(noToken != indexNp) { while(!Vp.empty()) { String vp=Vp.pop(); if(arrayToken[indexNp].equalsIgnoreCase(vp)&&(indexNp<=(noToken-2)){ if( arrayToken[indexNp+1].equalsIgnoreCase(vp2)) { outStream.println((indexNp+1)+": "+arrayToken[indexNp+1]+" "+arrayToken[indexNp+1]+" " +arrayToken[indexNp+1].equalsIgnoreCase(vp2)+" " +vp2); } } } } indexNp++; } } //vp pasive else if (arrayToken[indexNp].equalsIgnoreCase(pv1)||arrayToken[indexNp].equalsIgnoreCase(pv3)) { //pv 1 outStream.println("Pv true "+arrayToken[indexNp+1]); if (arrayToken[indexNp].equalsIgnoreCase(pv1)) { outStream.println("Pv1 true"); outStream.println("Pv1 true"); while(noToken != indexNp) { while(!Pv.empty()) { String pv11=Pv.pop(); if(arrayToken[indexNp].equalsIgnoreCase(pv11)&&(indexNp<=(noToken-2)){ if( arrayToken[indexNp+1].equalsIgnoreCase(vp12)) { outStream.println((indexNp+1)+": "+arrayToken[indexNp+1]+" "+arrayToken[indexNp+1]+" " +arrayToken[indexNp+1].equalsIgnoreCase(vp12)); } } } } indexNp++; } } else if(arrayToken[indexNp].equalsIgnoreCase(pv3)) { outStream.println("Pv2 true"+ arrayToken[indexNp]+pv3); while(noToken != indexNp) { while(!Pv2.empty()) { String pv21=Pv2.pop(); if(arrayToken[indexNp].equalsIgnoreCase(pv21)&&(indexNp<=(noToken-2)){ if( arrayToken[indexNp+1].equalsIgnoreCase(pv22)) { outStream.println((indexNp+1)+": "+arrayToken[indexNp+1]+" "+arrayToken[indexNp+1]+" " +arrayToken[indexNp+1].equalsIgnoreCase(pv22)+" " +pv22); } } } else {outStream.println("False ");} } indexNp++; } //Pv2.push("kata kerja"); //Pv2.push("kata nama"); } } // else //{outStream.println("Another structure "); } backNp++; outStream.println("BAck to Np"); //Vp.push("Ket"); // Vp.push("Akomp"); Vp.push("obj"); Vp.push("Kata kerja"); Vp.push("kata bantu"); /* (arrayToken[indexNp].equalsIgnoreCase(Pp.pop())&&!Pp.empty()) { outStream.println("stack empty PP:"+!Pp.empty()); } else if (arrayToken[indexNp].equalsIgnoreCase(Ap.pop())&&!Ap.empty()) { outStream.println("stack empty AP:"+!Ap.empty()); } else {outStream.println("check Np back At :"+ indexNp);}*/ } } } //end if else if (checkNp==false&&(countToken1){outStream.println("Sentence false ");}
else {outStream.println("Sentence True");}







outStream.println("___________________________________________________________");
outStream.println("___________________________________________________________");
outStream.println("");

// System.out.println(arrayToken[countToken]);
}//close for




}//close main while


}// close try



catch(FileNotFoundException fnf)
{System.out.println("File Not Found");
System.out.println(fnf.getMessage());}

catch(IOException io)
{ System.out.println(io.getMessage()); }

catch(Exception a)
{ }
outStream.close();


}
//Open File Analysis
protected void openOutput()
{
String directoryFileOutDetails="C:/fyp/";
String fileNameFileOutDetails="edited.txt";
setFile(directoryFileOutDetails,fileNameFileOutDetails);
}

//browse
protected void onBrowseNative() {
FileDialog fileDialog = new FileDialog(this, "Open/Save");
fileDialog.show();
if (fileDialog.getFile() != null) {
String directory = fileDialog.getDirectory();
if (!directory.endsWith(File.separator)) {
directory += File.separator;
}
String file = fileDialog.getFile();
jTextField1.setText(directory + file);
setFile(directory,file);
//engine(directory,file);
}
}


public void setFile(String directory, String filename) {
if ((filename == null) || (filename.length() == 0)) return;
File f;
FileReader in = null;
// Read and display the file contents. Since we're reading text, we
// use a FileReader instead of a FileInputStream.
try {
f = new File(directory, filename); // Create a file object
in = new FileReader(f); // And a char stream to read it
char[] buffer = new char[4096]; // Read 4K characters at a time
int len; // How many chars read each time
jTextArea1.setText(""); // Clear the text area
while((len = in.read(buffer)) != -1) { // Read a batch of chars
String s = new String(buffer, 0, len); // Convert to a string
jTextArea1.append(s); // And display them
}
this.setTitle("FileViewer: " + filename); // Set the window title
jTextArea1.setCaretPosition(0); // Go to start of file
}
// Display messages if something goes wrong
catch (IOException e) {
jTextArea1.setText(e.getClass().getName() + ": " + e.getMessage());
this.setTitle("FileViewer: " + filename + ": I/O Exception");
}
// Always be sure to close the input stream!
finally { try { if (in!=null) in.close(); } catch (IOException e) {} }
}

// jbuuton analyze




/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
//
public void initComponents() {



jLabel1 = new javax.swing.JLabel();
jTextField1 = new javax.swing.JTextField();
jButton1 = new javax.swing.JButton();
jButton2 = new javax.swing.JButton();
jButton3 = new javax.swing.JButton();
jScrollPane1 = new javax.swing.JScrollPane();
jTextArea1 = new javax.swing.JTextArea();

setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
jLabel1.setText("Malay Grammar Checker Application");

jTextField1.setText("browse_file");
jTextField1.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
// file = jTextField1.getText();

}
});

jButton1.setText("Browse");

jButton2.setText("Analyze");

jButton3.setText("Open File Analysis");

jTextArea1.setColumns(20);
jTextArea1.setRows(5);
jScrollPane1.setViewportView(jTextArea1);


jButton1.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent arg0) {
onBrowseNative();
}
});
//button analyze
jButton2 .addActionListener(new java.awt.event.ActionListener(){
public void actionPerformed(ActionEvent arg0){
cmd();
}
});

jButton3 .addActionListener(new java.awt.event.ActionListener(){
public void actionPerformed(ActionEvent arg0){
openOutput();
}
});





javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(402, Short.MAX_VALUE)
.addComponent(jButton2)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton3)
.addGap(28, 28, 28))
.addGroup(layout.createSequentialGroup()
.addGap(60, 60, 60)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 494, Short.MAX_VALUE)
.addGroup(layout.createSequentialGroup()
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addGap(15, 15, 15)
.addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 242, javax.swing.GroupLayout.PREFERRED_SIZE))
.addComponent(jTextField1, javax.swing.GroupLayout.DEFAULT_SIZE, 421, Short.MAX_VALUE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jButton1)))
.addContainerGap())
);
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addContainerGap()
.addComponent(jLabel1)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jButton1)
.addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE))
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 338, Short.MAX_VALUE)
.addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
.addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
.addComponent(jButton2)
.addComponent(jButton3))
.addGap(19, 19, 19))
);
pack();
}//



/**
* @param args the command line arguments
*/
public static void main(String args[])throws ClassNotFoundException{
guiTokenizer a=new guiTokenizer();


//Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
//Connection con = DriverManager.getConnection( "jdbc:odbc:database" );


Frame f = new FileViewer((args.length == 1)?args[0]:null);




java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new guiTokenizer().setVisible(true);

}

});


}



// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
private javax.swing.JButton jButton3;
private javax.swing.JLabel jLabel1;
private javax.swing.JScrollPane jScrollPane1;
private javax.swing.JTextArea jTextArea1;
private javax.swing.JTextField jTextField1;
// End of variables declaration

String file;

}

Saturday, April 3, 2010

my fyp (code)

/*************************************************************************
* Compilation: javac Tokenizer.java In.java
* Execution: java Tokenizer
*
* Takes a string as input and tokenizes it into an array of substrings
* See also java.util.StringTokenizer.
* read and write to the text file
* using a specified delimiter character.
* check the availablelity of the words in database
* check the structure due to the malay language rule
*
*
*************************************************************************/
import java.io.*;
import java.util.StringTokenizer;
import java.util.*;
import java.net.*;
import java.sql.*;


public class Tokenizer {


//database
public static final String DRIVER_NAME ="sun.jdbc.odbc.JdbcOdbcDriver";
public static final String DATABASE_URL = "jdbc:odbc:database";


String str;
int num, n;


public static void main (String[] args) throws ClassNotFoundException, SQLException{
PrintWriter outStream=null;
Class.forName(DRIVER_NAME);
Connection con = null;
boolean check=true;
//Tokenizer q = new Tokenizer();

try{
//database
//kosmo denggi 7 kawasan panas
FileInputStream file = new FileInputStream("C:/fyp/test.txt");//input: text file with delimeter
outStream = new PrintWriter(new FileOutputStream("C:/fyp/edited.txt"));//output: sentence eleminate the delimeter
DataInputStream in = new DataInputStream(file);
BufferedReader br = new BufferedReader(new InputStreamReader(in));


//array
String[] arrayToken;
String[] checktrueNp;
String[] checktrueVp;

//declare stack
Stack currentStack= new Stack();
Stack copyStack = new Stack();
Stack toCompleteStack = new Stack();
Stack toCompleteStackSentence = new Stack();
Stack tempStack =new Stack ();
Stack backUpToCompleteStack = new Stack();
Stack backUpToCompleteStackSentence= new Stack();
Stack currentStackSentence= new Stack();
Stack partOfSpeech= new Stack();
Stack partOfSpeech2= new Stack();
//stack for frasa nama,frasa kerja, frasa adjectif, frasa sendi
Stack Np= new Stack();
Stack Vp= new Stack();
Stack Pp= new Stack();
Stack Ap= new Stack();
Stack Pv= new Stack();
Stack Pv2= new Stack();


//insert element in pharase
//Np
// stack frasa nama= bil/penjbil/gelaran/kata nama/penentu/pent
Np.push("Pent");
Np.push("penentu");
Np.push("Kata nama");
Np.push("Kata nama");
Np.push("gelaran");
Np.push("penjodoh bilangan");
Np.push("bil");
String[] arrayNp=new String[]{"bil","penjodoh bilangan","gelaran","Kata nama","penentu","Pent"};
String[] arrayNpCheck=new String[arrayNp.length];
//Vp
//stack frasa kerja= kata bantu/[katakerja(obj|akomp)]ket
Vp.push("Ket");
Vp.push("Akomp");
Vp.push("kata nama");
Vp.push("Kata kerja");
Vp.push("kata bantu");
String[] arrayVp=new String[]{"kata bantu","Kata kerja","Obj"};
String[] arrayVpCheck=new String[arrayVp.length];
//Pp
// stack frasa sendi=kata bantu +kata sendi+kata nama arah+FN+(akomp|ket)*/
Pp.push("ket");
Pp.push("Akomp");
Pp.push("Fn");
Pp.push("Kata nama arah");
Pp.push("Kata sendi");
Pp.push("kata Bantu");
String[] arrayPp=new String[]{"kata Bantu","Kata sendi","Kata nama arah","Fn","Akomp","ket"};
//Ap
//stack frasa adjectiv= kata bantu(kata penguat)+adj+(ket)+(akomp)
// Ap.push("Akomp");
Ap.push("ket");
Ap.push("adjectif");
Ap.push("kata penguat");
Ap.push("kata bantu");
String[] arrayAp=new String[]{"kata bantu","kata penguat","adjectif","ket","Akomp"};


//pasive
Pv.push("obj");
Pv.push("penyambung");
Pv.push("kata kerja");
String[] arrayPasive=new String[]{"kata kerja","penyambung","kata nama"};
String[] arrayPasivepCheck=new String[arrayPasive.length];

//pasive2
Pv2.push("kata kerja");
Pv2.push("kata nama");

String s = br.readLine();
char delimiter = '.';//delimeter

// calculate number of delimiter characters
int N = 0;
while (s != null){

for (int i = 0; i < s.length(); i++)
if (s.charAt(i) == delimiter) N++;
String[] tokens = new String[N+1];

// parse N+1 tokens and store in an array
int right = 0, left = 0;
for (int i = 0; i < N; i++) {
while(s.charAt(right) != delimiter)
right++;
tokens[i] = s.substring(left, right);
right++;
left = right;
}
tokens[N] = s.substring(right, s.length());
int noToken;
// print results for testing
for (int i = 0; i < tokens.length-1; i++)
{//open for
outStream.println(tokens[i]);// tranform paragraph to sentence
String str;
StringTokenizer st = new StringTokenizer(tokens[i]);
noToken=st.countTokens();
outStream.println("number of token: "+noToken+" in sentense "+ (i+1));
//String[] pos = new String[noToken];
arrayToken=new String[noToken];
// String[] addToken= new String[st.countTokens()];
// int count=0;




while (st.hasMoreTokens())
{//open while
str=st.nextToken();
//insert token in stack
//System.out.print(str + " ");
toCompleteStack.push(str);// transform sentence to word


}//close while
//toCompleteStack.push("stop");

// System.out.print("Retrieved elements from the stack : ");


while (!toCompleteStack.empty()){
//pop the sentence from stack stored temp
String temp= toCompleteStack.pop();
//System.out.println(temp);
tempStack.push(temp);
}

// check in database the availablelity and the part of speeecg (POS)
String word ;
String tokenPos ;
int count=0;
String position;


con = DriverManager.getConnection(DATABASE_URL);
Statement stmt = con.createStatement();
ResultSet rs;
int countArray=0;
while(!tempStack.empty()){
position=tempStack.pop();
rs = stmt.executeQuery ("select * from [Sheet1$]");
while (rs.next())
{
word = rs.getString(1);
tokenPos= rs.getString(2);
//outStream.println(position+" "+position.equalsIgnoreCase(word));
if(position.equalsIgnoreCase(word))
{
outStream.println(position+" Ada "+tokenPos);
//check=true;
partOfSpeech.push(tokenPos);//store POS in Stack
// pos[countArray]=tokenPos;

arrayToken[countArray]=tokenPos;
count++;
break;
}
else
{
//partOfSpeech.push("null");
}

}
rs.close();
//insert none of POS if the word not available in the dBase
if(count==0)
{ String attPos="null";
partOfSpeech.push(attPos);
//pos[countArray]=attPos;
arrayToken[countArray]=attPos;
// arrayToken=new String[noToken];
// arrayToken[]
}
// countToken++;
countArray++;
}
//inthe right order


// pop the PartOf Speech in the word containt in the sentences.

stmt.close();


while(!partOfSpeech.empty())
{String temp=partOfSpeech.pop();
partOfSpeech2.push(temp);}


/* show an array of POS
for(int token=0; token outStream.print("Try "+arrayToken[token]);*/

int countToken=0;
int countTrue=0;
int getCurrentNp=0;
int getCurrentVp=0;
int backNp=0;
int countWhile=0;
int countTrueToken=0;
boolean checkStruc=true;
int indexNp=0;

checktrueNp=new String[noToken];
checktrueVp=new String[noToken];
while(noToken != countToken)

{ String wordInPos=partOfSpeech2.pop();
// outStream.println("Check "+ wordInPos+" all "+noToken+" current "+countToken);
boolean checkNp= false;

outStream.println();
//1:::: NP check
//(NP)+np begin
while(!Np.empty()){
String np=Np.pop();
checkNp=arrayToken[countToken].equalsIgnoreCase(np);
if( arrayToken[countToken].equalsIgnoreCase(np))//&&(countToken {
outStream.println(countToken+": "+arrayToken[countToken]+" "
+arrayToken[countToken].equalsIgnoreCase(np));

String np2=Np.pop();
if (countToken<=(noToken-2)){
if( arrayToken[countToken+1].equalsIgnoreCase(np2))
{
outStream.println((countToken+1)+": "+arrayToken[countToken+1]+" "
+arrayToken[countToken+1].equalsIgnoreCase(np2));
}


else
{


indexNp=countToken+1;
//check VP
String vp1= Vp.pop();
String vp2= Vp.pop();
Vp.push("Kata kerja");
Vp.push("kata bantu");


String pv1= Pv.pop();
String pv2= Pv.pop();
Pv.push("penyambung");
Pv.push("kata kerja");
String pv3= Pv2.pop();
Pv2.push("kata nama");
outStream.println("another structure (VP) "+indexNp);
// outStream.println("String pv3= Pv2.pop();"+pv3);
boolean checkPasivePenyambung=false;



//outStream.println(arrayToken[indexNp].equalsIgnoreCase(vp2)+vp2);
//
//checkPasivePenyambung= arrayToken[indexNp+1].equalsIgnoreCase(pv2);
// outStream.println(checkPasivePenyambung+"tr");
if((arrayToken[indexNp].equalsIgnoreCase("kata bantu"))||(arrayToken[indexNp].equalsIgnoreCase("kata kerja")))//&&checkPasivePenyambung==false)
{
outStream.println("VP true "+arrayToken[indexNp]);
while(noToken != indexNp)
{

while(!Vp.empty())
{
String vp=Vp.pop();
if(arrayToken[indexNp].equalsIgnoreCase(vp)&&(indexNp {
outStream.println(indexNp+": "+arrayToken[indexNp]+" "+arrayToken[indexNp]+" "
+arrayToken[indexNp].equalsIgnoreCase(vp)+" "+vp);

vp2=Vp.pop();

if( arrayToken[indexNp+1].equalsIgnoreCase(vp2))
{
outStream.println((indexNp+1)+": "+arrayToken[indexNp+1]+" "+arrayToken[indexNp+1]+" "
+arrayToken[indexNp+1].equalsIgnoreCase(vp2)+" " +vp2);
}

}


}

indexNp++;

}


}
//vp pasive

else if (arrayToken[indexNp].equalsIgnoreCase(pv1)||arrayToken[indexNp].equalsIgnoreCase(pv3))
{
//pv 1
outStream.println("Pv true "+arrayToken[indexNp+1]);
if (arrayToken[indexNp].equalsIgnoreCase(pv1))
{
outStream.println("Pv1 true");
outStream.println("Pv1 true");
while(noToken != indexNp)
{

while(!Pv.empty())
{
String pv11=Pv.pop();
if(arrayToken[indexNp].equalsIgnoreCase(pv11)&&(indexNp {
outStream.println(indexNp+": "+arrayToken[indexNp]+" "+arrayToken[indexNp]+" "
+arrayToken[indexNp].equalsIgnoreCase(pv11));

String vp12=Pv.pop();

if( arrayToken[indexNp+1].equalsIgnoreCase(vp12))
{
outStream.println((indexNp+1)+": "+arrayToken[indexNp+1]+" "+arrayToken[indexNp+1]+" "
+arrayToken[indexNp+1].equalsIgnoreCase(vp12));
}

}


}

indexNp++;

}

}

else if(arrayToken[indexNp].equalsIgnoreCase(pv3))
{
outStream.println("Pv2 true"+ arrayToken[indexNp]+pv3);
while(noToken != indexNp)
{

while(!Pv2.empty())
{
String pv21=Pv2.pop();
if(arrayToken[indexNp].equalsIgnoreCase(pv21)&&(indexNp {
outStream.println(indexNp+": "+arrayToken[indexNp]+" "+arrayToken[indexNp]+" "
+arrayToken[indexNp].equalsIgnoreCase(pv21)+" "+pv21);

String pv22=Pv2.pop();

if( arrayToken[indexNp+1].equalsIgnoreCase(pv22))
{
outStream.println((indexNp+1)+": "+arrayToken[indexNp+1]+" "+arrayToken[indexNp+1]+" "
+arrayToken[indexNp+1].equalsIgnoreCase(pv22)+" " +pv22);
}

}
else
{outStream.println("False ");}


}

indexNp++;

}
//Pv2.push("kata kerja");
//Pv2.push("kata nama");
}


}
// else
//{outStream.println("Another structure "); }

backNp++;
outStream.println("BAck to Np");



//Vp.push("Ket");
// Vp.push("Akomp");
Vp.push("obj");
Vp.push("Kata kerja");
Vp.push("kata bantu");
/* (arrayToken[indexNp].equalsIgnoreCase(Pp.pop())&&!Pp.empty())
{
outStream.println("stack empty PP:"+!Pp.empty());
}
else if (arrayToken[indexNp].equalsIgnoreCase(Ap.pop())&&!Ap.empty())
{
outStream.println("stack empty AP:"+!Ap.empty());
}
else
{outStream.println("check Np back At :"+ indexNp);}*/

}
}
} //end if

else if (checkNp==false&&(countToken {
//outStream.println(countToken+": "+"false");
}


} //while checkNp
// outStream.println("backNP"+backNp);

countToken++;


Np.push("Pent");
Np.push("penentu");
Np.push("Kata nama");
Np.push("gelaran");
Np.push("penjodoh bilangan");
Np.push("bil");
}//end while NP
outStream.println("BAck to Np"+backNp);
if(backNp==0){outStream.println("Sentence false no NP");}
else if (backNp>1){outStream.println("Sentence false ");}
else {outStream.println("Sentence True");}

//(NP)+np begin
/*
/vp

while(indexNp {
while(!Vp.empty())
{
String vp=Vp.pop();

if (arrayToken[indexNp].equalsIgnoreCase(vp)&& (indexNp {
outStream.println((indexNp)+": "+arrayToken[ indexNp]+" "
+arrayToken[ indexNp].equalsIgnoreCase(vp));


String vp2=Vp.pop();
if( arrayToken[indexNp+1].equalsIgnoreCase(vp2))
{
outStream.println((indexNp+1)+": "+arrayToken[ indexNp+1]+" "
+arrayToken[ indexNp+1].equalsIgnoreCase(vp2));
}

}
else
{
outStream.println(arrayToken[indexNp]+"....."+"index: "+indexNp + "Pop vp"+vp);
}

}
indexNp++;

}










if(arrayToken[countToken+(inNp)].equalsIgnoreCase(arrayNp[checkNp+(inNp)])&&(checkNp<(checkNp+inNp)))
{
outStream.println((countToken+inNp)+": "+arrayToken[countToken +(inNp)]
+" "+arrayToken[countToken+inNp].equalsIgnoreCase(arrayNp[checkNp+inNp])
+" aray Np ke:"+(checkNp+inNp));
outStream.println();

}
// else if (arrayToken[countToken+(inNp)].equalsIgnoreCase(arrayNp[checkNp+(inNp)])&&(checkNp>(checkNp+inNp)))
// {outStream.println("sentence false");}
else
//Np+(Np) last
{ outStream.println("check another struc"+arrayToken[countToken+(inNp)]);


for(int checkNpIn=0;checkNpIn {

if(arrayToken[countToken+inNp].equalsIgnoreCase(arrayNp[checkNpIn]))
{
outStream.println((countToken+inNp) +": "+arrayToken[countToken+(inNp)]
+" "+arrayToken[countToken+(inNp)].equalsIgnoreCase(arrayNp[checkNpIn])
+" "+checkNpIn);
outStream.println("Np is true");


}
//else
//{outStream.println((countToken+inNp)+" Np is false "+checkNpIn);}
//outStream.println(" ");
}


}*/


























/* //check the index for the next check
// int getCurrentVp=0;
int countTrueNp=1;
for(int checkNp=0;checkNp {
if((checktrueNp[checkNp].equalsIgnoreCase("True")&&checktrueNp[checkNp+1].equalsIgnoreCase("False")))
indexNp=checkNp+1;
//else if(checktrueNp[checkNp].equalsIgnoreCase("True")&&checktrueNp[checkNp+1].equalsIgnoreCase("True"))
//{}
else if(checktrueNp[checkNp].equalsIgnoreCase("True"))
countTrueNp++;
}


if(countTrueNp==noToken)
{outStream.println(" Np+Np sentences is true");}

else if(checktrueNp[0].equalsIgnoreCase("False")){outStream.println(" sentence no NP: 'False' ");}

//2:::::Vp pasive sentence
else if(countTrueNp>0 && countTrueNp
outStream.println(" Index NP " +indexNp);
outStream.println("");
while(indexNp {

outStream.println("Check "+ arrayToken[indexNp]+" all "+noToken+" current "+indexNp);

for(int checkVp=0;checkVp {
if( arrayToken[indexNp].equalsIgnoreCase(arrayPasive[checkVp]))
{
outStream.println(arrayToken[indexNp].equalsIgnoreCase(arrayPasive[checkVp]));
countTrueToken++;

checktrueVp[indexNp-1]="True";
arrayVpCheck[checkVp]="True";
outStream.println(indexNp);
getCurrentVp++;
break;

}

else
{ outStream.println("FalseVp");
arrayVpCheck[checkVp]="False";
checktrueVp[indexNp-1]="False";}
}

indexNp++;

}//end while NP

//check the index for the next check

int countTrueVp=2;
for(int checkVp=0;checkVp {
if((checktrueVp[checkVp].equalsIgnoreCase("True")&&checktrueVp[checkVp+1].equalsIgnoreCase("False")))
indexVp=checkVp+1;
else if(checktrueVp[checkVp].equalsIgnoreCase("True"))
countTrueVp++;
}

if(countTrueVp==noToken)
{outStream.println(" Np+Vp |negetive|sentences is true");}


//3: sentences NP + Vp normal
else if(countTrueVp >0 && countTrueVp {outStream.println(" Index VP " +(indexVp+1));}


} */


// for(int checkNp=0;checkNp // outStream.println("Try "+ arrayNpCheck[checkNp]);



// get the index for the next check





outStream.println("___________________________________________________________");
outStream.println("___________________________________________________________");
outStream.println("");

// System.out.println(arrayToken[countToken]);
}//close for




}//close main while


}// close try


catch(FileNotFoundException fnf)
{System.out.println("File Not Found");
System.out.println(fnf.getMessage());}

catch(IOException io)
{ System.out.println(io.getMessage()); }

catch(Exception a)
{ }
outStream.close();

if (con != null)
con.close();

}
}