From 4.0.dict for English
% A+: "It has twice the percent value"
percent.u parts.u:
(<noun-modifiers> &
((ND- & {DD-} & <noun-rel-x> & (<noun-main-x> or B*x+)) or
<noun-main-p> or
(ND- & {DD-} & <noun-and-x>) or
U-))
or (ND- & (OD- or AN+ or YS+))
or ({E- or EA-} & A+);If I read this correctly, this expression is saying that "percent" and "parts" can be appear as either a noun (AN+ noun-modifier) or an adjective (A+).
In some other parts of the dictionary that I've looked at, different classifications for the same word would be handled with separate categories, i.e. one for noun case and one for the adjective case. The word would appear twice in the dictionary. Is there something special about this situation that it didn't get handled that way?
This is actually relevant to what I'm working on, but sadly I can't go into details.
I get it about the subscripts. My confusion was thinking that the 1716 categories in the English dictionary were the final word on grammatical roles. I.e. the dictionary defined 1716 fine-grained parts-of-speech.
--
You received this message because you are subscribed to the Google Groups "link-grammar" group.
To unsubscribe from this group and stop receiving emails from it, send an email to link-grammar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/link-grammar/31621622-4e6d-49ba-b818-dc7bf64c9a2fn%40googlegroups.com.
I was referring to the rules, the expressions that are executed to produce the disjuncts. The dictionary looks at them as categories. I got a list of them from the dictionary and could see what the fully expanded expressions look like . There are 1716 of those.
To view this discussion on the web visit https://groups.google.com/d/msgid/link-grammar/5f6d9fa4-47fd-409e-913f-cddb1192df09n%40googlegroups.com.
link_experimental_api(const Category *)
dictionary_get_categories(const Dictionary dict);
/* List of words in a dictionary category. */
typedef struct
{
unsigned int num_words;
const char* name;
Exp *exp; <---------------------------------- fully expanded dictionary entry
char const ** word;
} Category;
First expression:
(XXXENTITY+) or (({G-} & {[MG+]} & (({DG- or [GN-]2.100 or [[{@A-} & {D-}]]} & (({@MX+} & {NMr+} & (JG- or (((Ss*s+ & ({((({@hCOd- or dHM-} & (C- or ((dRJrc- or dRJlc+)))) or ({hCO-} & {[@hCO-]} & Wd-))) or [Rn-]})) or SIs- or (Js- & {Mf+}) or (Os*e- & {Sg+ or Sj+}) or ([{[Bsj+]} & Xd- & Xc+ & MX-]0.100))) or ((({@M+} & dSJls+) or ({[@M+]} & dSJrs-))))) or YS+ or YP+)) or AN+ or ({@A-} & {OH-} & Wa-) or (OH- & SIs-) or G+))) or (({[[Wa-]]} & (({OH-} & Wc- & {MG+} & (Xc+ or [()]1.200) & (Qd+ or Wq+)) or ({Xd-} & {OH-} & (Xc+ or [[()]]) & [dCOa+])))) or (({OH-} & Xc+ & S**i+))
It's the expansion of this dictionary entry:
% Words that are also given names
% Cannot take A or D links.
% Art Bell Bill Bob Buck Bud
%
% The bisex dict includes names that can be given to both
% men and women.
/en/words/entities.given-bisex.sing
/en/words/entities.given-female.sing
/en/words/entities.given-male.sing
/en/words/entities.goddesses
/en/words/entities.gods:
<marker-entity> or <given-names> or <directive-opener> or <directive-subject>;
To view this discussion on the web visit https://groups.google.com/d/msgid/link-grammar/755151e8-65ae-412b-b1af-e61c9618779an%40googlegroups.com.