[Snowball-discuss] Re: stemmers in snowball

From: Martin Porter (martin_porter@softhome.net)
Date: Mon Jan 21 2002 - 16:26:54 GMT


Sonja,

I'm copying your email to snowball-discuss in case anyone else wants to comment.

As you guessed, tracer.c and debug.c should not be there. Delete them. I
will adjust things at my end so they are not put into the sourceforge site.
Then try again.

I'm not sure how you managed to create an executable, given all those
errors, but next time I hope it will work.

Martin Porter

At 03:06 PM 1/21/02 +0100, sonja brodersen wrote:
>dear mr. porter!
>
>i'm sorry to bother you with newbies questions... unfortunately, i'm not
>familiar with c.
>
>i downloaded and compiled the following: the snowball system, your
>german, english1 and english2 snowball scripts. but the output of the
>compiled programs differs substantially from your output.txt! the same
>thing happens with english1 and english2.
>
>i don't know what i'm doing wrong... must i change something in the
>driver.c? or did i make a mistake when compiling?
>
>
>here is how i compiled the whole thing:
>
>1. compiled Snowball:> gcc -O -o Snowball p/*.o
>
>2. generate c-program:> Snowball german/german.sbl -o q/german -ep g_
>-vp g__
>
>3. compile all programs in q:> gcc -c *.c
>this produces the following warnings:
>debug.c:1: warning: `struct env' declared inside parameter list
>debug.c:1: warning: its scope is only this definition or declaration,
>which is probably not what you want.
>debug.c: In function `debug':
>debug.c:4: dereferencing pointer to incomplete type
>debug.c:4: `HL' undeclared (first use in this function)
>debug.c:4: (Each undeclared identifier is reported only once
>debug.c:4: for each function it appears in.)
>debug.c:4: dereferencing pointer to incomplete type
>debug.c:4: dereferencing pointer to incomplete type
>debug.c:4: dereferencing pointer to incomplete type
>tracer.c:240: conflicting types for `replace_s'
>header.h:47: previous declaration of `replace_s'
>tracer.c:357: conflicting types for `SN_set_current'
>api.h:14: previous declaration of `SN_set_current'
>
>--> are the debug.c and tracer.c necessary? must i change something
>before compiling?
>
>4. compiling the germanstemmer %> gcc -o germanstemmer *.o
>
>5. running the germanstemmer %> germanstemmer ../german/voc.txt -o
>test.txt
>this produces the test.txt, which differs a lot from german/output.txt
>
>thank you very much for your help!
>
>sonja brodersen
>

_______________________________________________
Snowball-discuss mailing list
Snowball-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/snowball-discuss



This archive was generated by hypermail 2.1.3 : Thu Sep 20 2007 - 12:02:40 BST