Saturday 7 February 2015

News about my LANGANA-e English parser project

The first stage of parsing is determining the type of words in the given sentence's context.  This is done by rule-based programming which detects impossible cases and eliminates multiple types of a given word.  For example an adjective can not precede a adverb except the word 'most' and etc. in the form of adjective.  Yet another example is; an adjective can not be the last word in a compound name.


I have done 30 sentences from Kandel's book using this approach with 0 mistakes.  I will do some cleaning and make an abstraction of what I do and put down the principles now.  I will continue, with question sentences and passive and inverted sentences.  After this stage, I will leave the multiple cases if I can not clean them totally.  At the end, I will  make a phase in which idioms, phrases, clauses, compound and complex sentences will be parsed using the output of the previous phases.

You may find below an example parse output from KANDEL's 'Principles of Psychology' book.

Sentence=20891-------------------------------------------------------------->
. More importantly, the transmitter-induced increase in membrane conductance perturbs the critically tuned resonant circuit in the hair cell's membrane, thus decreasing both the sharpness of frequency selectivity and the gain of electrical amplification.


More
||adv. manner


importantly
||adv.


the
||+def. art.


transmitter-induced
||a.


increase
||n.


in
||+prep.


membrane
||n.


conductance
||n.


perturbs
||v. t.||present t.


the
||+def. art.


critically
||adv. manner


tuned
||v. i.||imp. & p. p. Tunned||p. pr. & vb. n. Tunning


resonant
||a.


circuit
||n.


in
||+prep.


the
||+def. art.


hair
||n.


cell's
||poss. n.


membrane
||n.


thus
||adv. manner


decreasing
||v. i.||imp. & p. p. Decreased||p. pr. & vb. n. Decreasing||v. t.


both
||conj.


the
||+def. art.


sharpness
||n.


of
||+prep.


frequency
||n.


selectivity
||n.


and
||+conj.


the
||+def. art.


gain
||n.


of
||+prep.


electrical
||a.


amplification
||n.