Lery wrote:Hello, I think I found a bug :
せいで is coming from 所為 = cause/ reason/ fault ... I think... no ???
It get recognize as
" せいで = [Plain Conjunctive] (n,n-pref) (1) Saint/St./S./(n,adj-na) (2) sacred/holy/pure/"
which makes no sense where "cause / reason" makes sense in my context
I get the same thing from "せいで", but when I enter "所為" I get this:
Original: 所為
Kana: せい
Romaji: sei
Definitions:
所為 (せい) = (n) (uk) consequence/outcome/result/blame/(P)/
所為 (せえ) = (ik) (n) (uk) consequence/outcome/result/blame/
所為 (しょい) = (n) (obsc) act/deed/one's doing/
Looking directly into DICTIONARY.TXT, I find this:
(n,n-pref) (1) Saint/St./S./(n,adj-na) (2) sacred/holy/pure/
聖 (せい)
聖 (せい) [Stem]
聖じゃない (せいじゃない) [Plain Negative (2)]
聖だった (せいだった) [Plain Positive Past]
聖だったら (せいだったら) [Plain Positive Conditional]
聖だったり (せいだったり) [Plain Positive Alternative]
聖だろう (せいだろう) [Plain Presumptive (1)]
聖で (せいで) [Plain Conjunctive]
聖でいた (せいでいた) [Plain Progressive Past (1)]
聖でいて (せいでいて) [Plain Progressive Conjunctive (1)]
聖でいました (せいでいました) [Polite Progressive Past]
聖でいます (せいでいます) [Polite Progressive]
聖でいる (せいでいる) [Plain Progressive]
聖でた (せいでた) [Plain Progressive Past (2)]
聖でて (せいでて) [Plain Progressive Conjunctive (2)]
聖でる (せいでる) [Plain Progressive Casual]
聖でわな (せいでわな) [Plain Negative (1), Stem]
聖でわない (せいでわない) [Plain Negative (1)]
聖でわなかった (せいでわなかった) [Plain Negative Past]
聖でわなかったら (せいでわなかったら) [Plain Negative Conditional]
聖でわなかったり (せいでわなかったり) [Plain Negative (1), Plain Positive Alternative]
聖でわなかろう (せいでわなかろう) [Plain Negative (1), Plain Presumptive (1)]
聖でわなく (せいでわなく) [Plain Negative (1), Adverb]
聖でわなくさせる (せいでわなくさせる) [Plain Negative (1), Causative]
聖でわなくて (せいでわなくて) [Plain Negative (1), Plain Conjunctive]
聖でわなくていた (せいでわなくていた) [Plain Negative (1), Plain Progressive Past (1)]
聖でわなくていて (せいでわなくていて) [Plain Negative (1), Plain Progressive Conjunctive (1)]
聖でわなくていました (せいでわなくていました) [Plain Negative (1), Polite Progressive Past]
聖でわなくています (せいでわなくています) [Plain Negative (1), Polite Progressive]
聖でわなくている (せいでわなくている) [Plain Negative (1), Plain Progressive]
聖でわなくてた (せいでわなくてた) [Plain Negative (1), Plain Progressive Past (2)]
聖でわなくてて (せいでわなくてて) [Plain Negative (1), Plain Progressive Conjunctive (2)]
聖でわなくてる (せいでわなくてる) [Plain Negative (1), Plain Progressive Casual]
聖でわなさ (せいでわなさ) [Plain Negative (1), Noun (from adjective)]
聖でわなそう (せいでわなそう) [Plain Negative (1), Seems (from adjective)]
聖でわなまして (せいでわなまして) [Plain Negative (1), Polite Positive Conjunctive]
聖でわなませんで (せいでわなませんで) [Plain Negative (1), Polite Negative Conjunctive]
聖な (せいな) [Plain Positive]
聖に (せいに) [Adverb]
聖にさせる (せいにさせる) [Causative]
聖まして (せいまして) [Polite Positive Conjunctive]
聖ませんで (せいませんで) [Polite Negative Conjunctive]
Because the program does searches by longest match, and it has a match against せいで, it doesn't try to break it up and consider the で as an independent particle.
In short, the parser needs to be smarter . . . something I've known for a long time.
You can cheat, though, and force the parser to consider the parts separately by inserting a space between the せい and the で, which case you get this wall of text:
Original: せい で
Kana: せい で
Romaji: sei de
Definitions:
せい = (n) (1) nature (of a person)/(2) sex/(3) gender/(suf) (4) -ty/-ity/-ness/-cy/(P)/
せい = (n) (1) spirit/sprite/nymph/(2) energy/vigor (vigour)/strength/(3) fine details/(4) semen/(P)/
せい = (n) (1) surname/family name/(2) hereditary title (used in ancient Japan to denote rank and political standing)/(P)/
せい = (n) (uk) consequence/outcome/result/blame/(P)/
せい = (n) height/stature/(P)/
せい = (n,adj-no) (1) (logical) true/regular/(num) (2) 10^40/ten thousand undecillion (short scale)/ten thousand sextillion (long scale)/(n,adj-no) (3) (abbr) original/(4) (math) positive/greater than zero/(P)/
せい = (n,n-suf) -made/make/(P)/
せい = (n,n-suf) system/organization/organisation/imperial command/laws/regulation/control/government/suppression/restraint/holding back/establishment/(P)/
せい = (ctr) (1) counter for generations/(n-suf) (2) (geol) epoch/
せい = (n) (1) (astron) Chinese "star" constellation (one of the 28 mansions)/(n,n-suf,n-pref) (2) Singapore/
せい = (n) (1) (obsc) well curb/(2) (astron) Chinese "Well" constellation (one of the 28 mansions)/
せい = (n) (1) life/living/(n,n-suf) (2) (male) (hum) I/me/myself/
せい = (n) (1) stillness/(2) quiet/peacefulness/
せい = (n) (abbr) Spain/
せい = (n) Qi (kingdom in China during the Spring and Autumn Period and the Period of the Warring States)/Ch'i/
せい = (n) flag (esp. originally a flagpole-topping streamer made of feathers)/
せい = (n) height/stature/
せい = (n) rule/government/
せい = (n,n-pref) (1) Saint/St./S./(n,adj-na) (2) sacred/holy/pure/
せい = (n,n-suf) (1) energy/(n) (2) military strength/
で = (n,n-suf) (1) coming out/going out/outflow/efflux/rising (of the sun or moon)/(2) attending (work)/appearing (on stage)/one's turn to go on/(3) start/beginning/(4) origins/background/person (or item) originating from .../graduate of .../native of .../member of ... (lineage)/(5) architectural member that projects outward/(6) highest point of the stern of a ship/(7) (uk) amount (comprising something)/amount of time or effort required to do something/(P)/
で = (prt) (1) indicates location of action/at/in/(2) indicates time of action/(3) indicates means of action/cause of effect/by/(conj) (4) and then/so/(aux) (5) indicates continuing action/(prt) (6) (ksb:) indicates certainty, emphasis, etc./(P)/
で = [Stem] (v1,vi) (1) to leave/to exit/to go out/to come out/to get out/(2) to leave (on a journey)/to depart/to start out/to set out/(3) to move forward/(4) to come to/to get to/to lead to/to reach/(5) to appear/to come out/to emerge/to surface/to come forth/to turn up/to be found/to be detected/to be discovered/to be exposed/to show/to be exhibited/to be on display/(6) to appear (in print)/to be published/to be announced/to be issued/to be listed/to come out/(7) to attend/to participate/to take part/to enter (an event)/to play in/to perform/(8) to be stated/to be expressed/to come up/to be brought up/to be raised/(9) to sell/(10) to exceed/to go over/(11) to stick out/to protrude/(12) to break out/to occur/to start/to originate/(13) to be produced/(14) to come from/to be derived from/(15) to be given/to get/to receive/to be offered/to be provided/to be presented/to be submitted/to be handed in/to be turned in/to be paid/(16) to answer (phone, door, etc.)/to get/(17) to assume (an attitude)/to act/to behave/(18) to pick up (speed, etc.)/to gain/(19) to flow (e.g. tears)/to run/to bleed/(20) to graduate/(P)/
Unfortunately, I don't have a way to force the parser to join stuff. Not yet.