Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 227489 Details for
Bug 314799
>=app-dicts/wordnet-3.0-r2: morphstr() unable to handle lemmatization of irregular words
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for file lib/morph.c, fixing the indexing of structure exc_fps in function exc_lookup
wordnet-3.0-exc.patch (text/plain), 757 bytes, created by
Edgar Gonzàlez i Pellicer
on 2010-04-12 12:17:02 UTC
(
hide
)
Description:
Patch for file lib/morph.c, fixing the indexing of structure exc_fps in function exc_lookup
Filename:
MIME Type:
Creator:
Edgar Gonzàlez i Pellicer
Created:
2010-04-12 12:17:02 UTC
Size:
757 bytes
patch
obsolete
>diff -p -u -r WordNet-3.0/lib/morph.c WordNet-3.0-mine/lib/morph.c >--- WordNet-3.0/lib/morph.c 2010-04-12 13:53:04.000000000 +0200 >+++ WordNet-3.0-mine/lib/morph.c 2010-04-12 13:54:53.000000000 +0200 >@@ -375,14 +375,14 @@ static char *exc_lookup(char *word, int > static char line[WORDBUF], *beglp, *endlp; > char *excline; > >- if (exc_fps[pos] == NULL) >+ if (exc_fps[pos-1] == NULL) > return(NULL); > > /* first time through load line from exception file */ > if(word != NULL){ > if (strlen(word) > WORDBUF - 1) > return(NULL); >- if ((excline = bin_search(word, exc_fps[pos])) != NULL) { >+ if ((excline = bin_search(word, exc_fps[pos-1])) != NULL) { > strcpy(line, excline); > endlp = strchr(line,' '); > } else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 314799
: 227489