Hi again,<div><br></div><div>Have been working to build Voikko in MinGW as per the Windows instructions on the Voikko page, sadly the Malaga installation isn't giving me any files at all - currently looking into it. Think i should be able to find out whats going wrong over the weekend.</div>
<div><br></div><div>Also, I've been looking at the spelling suggestions in src/spellchecker/suggestions, and have a few questions.</div><div><br></div><div>Am I right in saying that the task at hand is basically to write additional methods and new SuggestionGenerator(etc) files into the src/spellchecker/suggestions folder, which would leave the methods involving SuggestionStrategy and SuggestionStatus mostly unmodified?</div>
<div><br></div><div>Also, what additional features/new implementations would be good to have in the suggestions algorithm? Or perhaps what is the current reason why there is a need for a better suggestions algorithm?</div>
<div><br></div><div>Cheers<br><br><div class="gmail_quote">On Wed, Mar 31, 2010 at 11:48 AM, David Cheah <span dir="ltr"><<a href="mailto:chaoticefx@gmail.com">chaoticefx@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>Hi,</div><div><br></div>Oh, ok, thats very much clearer now.<div><br></div><div>Thanks!<br><br><div class="gmail_quote">2010/3/30 Harri Pitkänen <span dir="ltr"><<a href="mailto:hatapitk@iki.fi" target="_blank">hatapitk@iki.fi</a>></span><div>
<div></div><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi!<br>
<div><br>
On Monday 29 March 2010, David Cheah wrote:<br>
</div><div>> So now, in order to get a lttoolbox configured dll, I will need to add a<br>
> switch, and define the macro. When you say switch do you mean #ifdef? The<br>
> switch which immediately comes to mind for me would be a switch{case:}<br>
> statement. Also, is there a specific file I should add this switch to?<br>
> (perhaps voikko_defines?)<br>
<br>
</div>Sorry for being unclear. I used word "switch" because I don't know how it is<br>
called in MSVC. I meant some sort of a configuration option that you can set<br>
when you build the project. The option should be specify whether you want to<br>
have support for Lttoolbox compiled in.<br>
<br>
The equivalent thing in our autotools build system is the options you pass to<br>
configure script:<br>
<br>
./configure --enable-lttoolbox<br>
<br>
The necessary #ifdef is already there, see src/morphology/AnalyzerFactory.cpp.<br>
What you need to do is to change the MSVC project files in such way that by<br>
default HAVE_LTTOOLBOX is not defined, but when support for Lttoolbox is<br>
requested it gets defined.<br>
<div><br>
> And, regarding the dll linking - when you say link libvoikko against<br>
> lttoolbox, which dll imports into which? Or perhaps, what would be good is<br>
> which of the resulting dlls will then be used by the programs? So far, I am<br>
> reading it as lttoolbox is referenced in libvoikko, and then libvoikko is<br>
> used by other parts of voikko. Or will the 2 dlls be loaded separately?<br>
<br>
</div>You are right, Lttoolbox should be referenced in libvoikko. Applications that<br>
use libvoikko should not need to know that Lttoolbox is used in the background<br>
so they will just reference libvoikko.<br>
<div><div></div><div><br>
Harri<br>
_______________________________________________<br>
Libvoikko mailing list<br>
<a href="mailto:Libvoikko@lists.puimula.org" target="_blank">Libvoikko@lists.puimula.org</a><br>
<a href="http://lists.puimula.org/listinfo/libvoikko" target="_blank">http://lists.puimula.org/listinfo/libvoikko</a><br>
</div></div></blockquote></div></div></div><br></div>
</blockquote></div><br></div>