[lkb] single-quotes in lexicon entries

Francis Bond fcbond at gmail.com
Fri Jul 25 16:14:12 CEST 2008


G'day,

> Is there any convention for replacing single-quotes in predicate names
> and lexeme identifiers? For example, I have the Italian compound
> "lunghezza d'onda" ("wavelength"), and here's my current lexical
> entry:
>
> lunghezza_d'onda_3 := sg-fem-common-noun-lex &
>    [ STEM < "lunghezza", "d'onda" >,
>      SYNSEM.LKEYS.KEYREL.PRED "_lunghezza+d'onda_n_3_rel" ].
>
> Since single-quotes are meaningful characters in Lisp, I imagine they
> must be replaced with something else. + is already in use for spaces,
> so I imagine that wouldn't be a good idea.
>
> If we have an agreed-upon convention, I'll add it to the RMRS wiki
> (http://wiki.delph-in.net/moin/RmrsPos).

I don't think we have an agreed-upon convention.  I would propose just
deleting them (and if it causes ambiguity just add a -1, -2 on the
end), but am open to cleverer suggestions.


-- 
Francis Bond <http://www2.nict.go.jp/x/x161/en/member/bond/>
NICT Language Infrastructure Group



More information about the lkb mailing list