i could not get the concept of bayesian spam filter idea. can u explain it<br><br><div class="gmail_quote">On Sat, May 12, 2012 at 6:48 AM, <span dir="ltr"><<a href="mailto:calligra-devel-request@kde.org" target="_blank">calligra-devel-request@kde.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send calligra-devel mailing list submissions to<br>
<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:calligra-devel-request@kde.org">calligra-devel-request@kde.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:calligra-devel-owner@kde.org">calligra-devel-owner@kde.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of calligra-devel digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Review Request: Make Paragraph Format dialog use<br>
KoStyleThumbnailer (Commit Hook)<br>
2. Re: Review Request: Load and save contour-polygon, and<br>
wrapping around it in Words (Thorsten Zachmann)<br>
3. Re: Grammar checker in CalligraWords. (C. Boemann)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sat, 12 May 2012 02:14:17 -0000<br>
From: "Commit Hook" <<a href="mailto:null@kde.org">null@kde.org</a>><br>
To: "Calligra" <<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a>>, "Gopalakrishna Bhat"<br>
<<a href="mailto:gopalakbhat@gmail.com">gopalakbhat@gmail.com</a>>, "Commit Hook" <<a href="mailto:null@kde.org">null@kde.org</a>><br>
Subject: Re: Review Request: Make Paragraph Format dialog use<br>
KoStyleThumbnailer<br>
Message-ID: <<a href="mailto:20120512021417.9496.55517@vidsolbach.de">20120512021417.9496.55517@vidsolbach.de</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
-----------------------------------------------------------<br>
This is an automatically generated e-mail. To reply, visit:<br>
<a href="http://git.reviewboard.kde.org/r/104919/#review13736" target="_blank">http://git.reviewboard.kde.org/r/104919/#review13736</a><br>
-----------------------------------------------------------<br>
<br>
<br>
This review has been submitted with commit 48f0de85e831aaa22f7475ba54a84a76d4201fbd by Gopalakrishna Bhat A to branch master.<br>
<br>
- Commit Hook<br>
<br>
<br>
On May 11, 2012, 6:57 p.m., Gopalakrishna Bhat wrote:<br>
><br>
> -----------------------------------------------------------<br>
> This is an automatically generated e-mail. To reply, visit:<br>
> <a href="http://git.reviewboard.kde.org/r/104919/" target="_blank">http://git.reviewboard.kde.org/r/104919/</a><br>
> -----------------------------------------------------------<br>
><br>
> (Updated May 11, 2012, 6:57 p.m.)<br>
><br>
><br>
> Review request for Calligra.<br>
><br>
><br>
> Description<br>
> -------<br>
><br>
> This change enables us to use the actual textlayout code to render previews. This approach also enables us to remove a lot of redundant code that was there to substitute the layout process.<br>
><br>
><br>
> Diffs<br>
> -----<br>
><br>
> libs/textlayout/KoStyleThumbnailer.h 42c3c6d<br>
> libs/textlayout/KoStyleThumbnailer.cpp acb836d<br>
> plugins/textshape/dialogs/CharacterGeneral.h bb72b88<br>
> plugins/textshape/dialogs/CharacterGeneral.cpp 4923087<br>
> plugins/textshape/dialogs/FormattingPreview.h 5a67d48<br>
> plugins/textshape/dialogs/FormattingPreview.cpp 6103699<br>
> plugins/textshape/dialogs/ParagraphBulletsNumbers.h 03c5cc9<br>
> plugins/textshape/dialogs/ParagraphBulletsNumbers.cpp 2d365f8<br>
> plugins/textshape/dialogs/ParagraphDecorations.h 0eea7cc<br>
> plugins/textshape/dialogs/ParagraphDecorations.cpp b5c4d94<br>
> plugins/textshape/dialogs/ParagraphDropCaps.h 7c7b071<br>
> plugins/textshape/dialogs/ParagraphDropCaps.cpp 6696254<br>
> plugins/textshape/dialogs/ParagraphGeneral.h 5ef5c86<br>
> plugins/textshape/dialogs/ParagraphGeneral.cpp 8ef5b7f<br>
> plugins/textshape/dialogs/ParagraphIndentSpacing.h 27533e0<br>
> plugins/textshape/dialogs/ParagraphIndentSpacing.cpp 5227d55<br>
> plugins/textshape/dialogs/ParagraphLayout.h be272ee<br>
> plugins/textshape/dialogs/ParagraphLayout.cpp 7b46f00<br>
><br>
> Diff: <a href="http://git.reviewboard.kde.org/r/104919/diff/" target="_blank">http://git.reviewboard.kde.org/r/104919/diff/</a><br>
><br>
><br>
> Testing<br>
> -------<br>
><br>
> Tested manually that changing values in the dialog reflects in the preview.<br>
><br>
><br>
> Thanks,<br>
><br>
> Gopalakrishna Bhat<br>
><br>
><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.kde.org/pipermail/calligra-devel/attachments/20120512/39d6a592/attachment-0001.html" target="_blank">http://mail.kde.org/pipermail/calligra-devel/attachments/20120512/39d6a592/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 12 May 2012 04:35:01 -0000<br>
From: "Thorsten Zachmann" <<a href="mailto:t.zachmann@zagge.de">t.zachmann@zagge.de</a>><br>
To: "C. Boemann" <<a href="mailto:cbr@boemann.dk">cbr@boemann.dk</a>>, "Thorsten Zachmann"<br>
<<a href="mailto:t.zachmann@zagge.de">t.zachmann@zagge.de</a>>, "Calligra" <<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a>>, "Matus<br>
Uzak" <<a href="mailto:matus.uzak@ixonos.com">matus.uzak@ixonos.com</a>><br>
Subject: Re: Review Request: Load and save contour-polygon, and<br>
wrapping around it in Words<br>
Message-ID: <<a href="mailto:20120512043501.16970.8689@vidsolbach.de">20120512043501.16970.8689@vidsolbach.de</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
<br>
-----------------------------------------------------------<br>
This is an automatically generated e-mail. To reply, visit:<br>
<a href="http://git.reviewboard.kde.org/r/104873/#review13737" target="_blank">http://git.reviewboard.kde.org/r/104873/#review13737</a><br>
-----------------------------------------------------------<br>
<br>
<br>
The odf that the draw:contour saves is invalid. The draw:points contains double values but only int is allowed. I guess you can multiply the values by 1000 and also store a the bigger viewBox to reflect that change. Another idea whould be to drop saving of contour-polygon completely and only support saving of contour-path.<br>
<br>
<br>
libs/flake/KoShape.cpp<br>
<<a href="http://git.reviewboard.kde.org/r/104873/#comment10910" target="_blank">http://git.reviewboard.kde.org/r/104873/#comment10910</a>><br>
<br>
This line can be removed.<br>
<br>
<br>
<br>
libs/flake/KoShape.cpp<br>
<<a href="http://git.reviewboard.kde.org/r/104873/#comment10911" target="_blank">http://git.reviewboard.kde.org/r/104873/#comment10911</a>><br>
<br>
This will result in invalid odf if there is more then one clipPathShape. This can be created e.g. in karbon and saving it to odg.<br>
<br>
<br>
- Thorsten Zachmann<br>
<br>
<br>
On May 6, 2012, 5:35 p.m., C. Boemann wrote:<br>
><br>
> -----------------------------------------------------------<br>
> This is an automatically generated e-mail. To reply, visit:<br>
> <a href="http://git.reviewboard.kde.org/r/104873/" target="_blank">http://git.reviewboard.kde.org/r/104873/</a><br>
> -----------------------------------------------------------<br>
><br>
> (Updated May 6, 2012, 5:35 p.m.)<br>
><br>
><br>
> Review request for Calligra.<br>
><br>
><br>
> Description<br>
> -------<br>
><br>
> Load and save the contour-polygon and contour-path elements.<br>
> They are stored as KoClipPath in the engine. Previously the engine only<br>
> had support for loading and saving KoClipPath in svg<br>
><br>
> Load and save the style frame style attributes that turn contoured text run around<br>
> (wrapping) on and off. wrap-contour and wrap-contour-mode<br>
><br>
> Use this new technology to do tight run around (simple change only requesting what we already had)<br>
><br>
> This commit also adds a method to pictureshape to create a tightfitting outline path of the image.<br>
> It's tested and works, but is not used yet to create a KoClipPath out of it.<br>
><br>
><br>
> Diffs<br>
> -----<br>
><br>
> libs/flake/KoPathShape.h d6e7cf1<br>
> libs/flake/KoPathShape.cpp 1196a0b<br>
> libs/flake/KoShape.h 3b2ee21<br>
> libs/flake/KoShape.cpp 40c2be2<br>
> libs/flake/KoShape_p.h a8ef367<br>
> libs/textlayout/KoTextLayoutObstruction.cpp 9711578<br>
> plugins/pictureshape/PictureShape.h 54cc813<br>
> plugins/pictureshape/PictureShape.cpp e7fcd39<br>
><br>
> Diff: <a href="http://git.reviewboard.kde.org/r/104873/diff/" target="_blank">http://git.reviewboard.kde.org/r/104873/diff/</a><br>
><br>
><br>
> Testing<br>
> -------<br>
><br>
> I've created such contour clipping in LO<br>
><br>
> loaded and seen it work in Words, and saved it back to LO where it works (though we need to work around a bug in LO, workaround is there but not enabled in this diff)<br>
><br>
> For the unused method in the pictre shape I had hardwired it during development. I will put up a new review when I actually use the method so you may ignore it for now.<br>
><br>
><br>
> Thanks,<br>
><br>
> C. Boemann<br>
><br>
><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.kde.org/pipermail/calligra-devel/attachments/20120512/7601f00a/attachment-0001.html" target="_blank">http://mail.kde.org/pipermail/calligra-devel/attachments/20120512/7601f00a/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 12 May 2012 12:47:57 +0200<br>
From: "C. Boemann" <<a href="mailto:cbo@boemann.dk">cbo@boemann.dk</a>><br>
To: Calligra Suite developers and users mailing list<br>
<<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a>><br>
Subject: Re: Grammar checker in CalligraWords.<br>
Message-ID: <<a href="mailto:201205121247.57248.cbo@boemann.dk">201205121247.57248.cbo@boemann.dk</a>><br>
Content-Type: Text/Plain; charset="us-ascii"<br>
<br>
On Friday 11 May 2012 19:46:03 Garima Joshi wrote:<br>
> Hi,<br>
> Here are some ideas based on my research done regarding available libraries<br>
> for grammar check in calligra words. We need to implement a grammar<br>
> checking plugin named grammarcheck inside calligra/plugins/textediting.<br>
> This plugin will be based on the spell check plugin and will have some<br>
> code, for example, the text highlighting code in common.<br>
><br>
> One option is grammarcheck plugin will use the link-grammar library already<br>
> used by AbiWord, which provides an API to parse sentences, tokenize them,<br>
> and provide linkages as result. This library has been customized by AbiWord<br>
> to serve the purpose of grammar checking in documents. This is a link to<br>
> the project<br>
> <a href="http://www.abisource.com/projects/link-grammar/" target="_blank">http://www.abisource.com/projects/link-grammar/</a><br>
> Here is some documentation for the API<br>
> <a href="http://www.abisource.com/projects/link-grammar/api/index.html" target="_blank">http://www.abisource.com/projects/link-grammar/api/index.html</a><br>
><br>
> This documentation, along with the AbiWord source code itself (the part<br>
> that integrates the link-grammar parser and checker), can serve as a good<br>
> example as to how to integrate the library in our grammarcheck plugin.<br>
><br>
> <a href="http://svn.abisource.com/abiword/trunk/plugins/grammar/linkgrammarwrap/" target="_blank">http://svn.abisource.com/abiword/trunk/plugins/grammar/linkgrammarwrap/</a><br>
> <a href="http://svn.abisource.com/abiword/trunk/plugins/grammar/xp/" target="_blank">http://svn.abisource.com/abiword/trunk/plugins/grammar/xp/</a><br>
><br>
> Another option is LanguageTool can be used to implement grammarcheck.<br>
> <a href="http://www.languagetool.org/" target="_blank">http://www.languagetool.org/</a> <<a href="http://www.languagetool.org/usage/" target="_blank">http://www.languagetool.org/usage/</a>><br>
> It is already used as a plugin to OpenOffice.org and LibreOffice.<br>
> We will write a wrapper in order to use LanguageTool.<br>
> <a href="http://www.languagetool.org/development/api/" target="_blank">http://www.languagetool.org/development/api/</a><br>
> <a href="http://wiki.services.openoffice.org/wiki/Grammar_Checking" target="_blank">http://wiki.services.openoffice.org/wiki/Grammar_Checking</a><br>
> <a href="http://cgit.freedesktop.org/libreoffice/core/languagetool" target="_blank">http://cgit.freedesktop.org/libreoffice/core/languagetool</a><<a href="http://cgit.freed" target="_blank">http://cgit.freed</a><br>
> <a href="http://esktop.org/libreoffice/core/tree/languagetool" target="_blank">esktop.org/libreoffice/core/tree/languagetool</a>><br>
><br>
> The implementation details of this proposal will be more detailed as<br>
> I investigate the source codes(mentioned in the above links) further.<br>
><br>
> The plugin will function on the basis of a pre-supplied dictionary.<br>
> On the usability part, the plugin can be turned on/off at will of the user,<br>
> and different grammar mistakes which are highlighted can be chosen to be<br>
> ignored (once, or always). Also, there maybe an option to auto detect<br>
> language context, that will understand if the language currently being<br>
> written in is English, and only then turn on grammar checking accordingly.<br>
><br>
> I need suggestions on which library to use for grammar check support in<br>
> calligra words. Above are the two possible options which i prefer. Any<br>
> other library or any suggestions are welcome.<br>
Hi Garima<br>
<br>
This serves as a very good introduction. We need however to learn more about<br>
each of those alternative work before we can make a decision. and not just<br>
from a code point of view but also in how good a job it does.<br>
<br>
Also you seem to have missed that libreoffice 3.5 introduced a new tool based on<br>
lightproof<br>
<a href="http://libreoffice.hu/2011/12/08/grammar-checking-in-libreoffice/" target="_blank">http://libreoffice.hu/2011/12/08/grammar-checking-in-libreoffice/</a><br>
<br>
Another avenue worth investigating is an idea i just got. Why not do something<br>
like bayesian spam filters do. Learn from known goo grammar. And let the user<br>
allow the filter checker to learn more. With get hot new stuff so you can<br>
download other languages as users make them. This would be a totally new way<br>
of doing it. I'm willing to bet on this. If it doesn't work out well fine, if<br>
it does then great. Just let us make sure that the teextediting grammarplugin<br>
is not too tied in to what ever backend we do. Then we can always change our<br>
mind later.<br>
<br>
And doing some frontier work will be really fun.<br>
<br>
Boemann<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
calligra-devel mailing list<br>
<a href="mailto:calligra-devel@kde.org">calligra-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/calligra-devel" target="_blank">https://mail.kde.org/mailman/listinfo/calligra-devel</a><br>
<br>
<br>
End of calligra-devel Digest, Vol 19, Issue 67<br>
**********************************************<br>
</blockquote></div><br>