1/ If lyrics are e-di-to-"rin"-chief, I believe the spell checker should
detect this as an error. The user would not be obliged to obey the
spellchecker though. To be honest, if this is the biggest problem we
encounter while creating this feature, I will be very happy :)

2/ Entering lyrics and have hyphenation happens on the fly makes sense only
if the hyphenation process is very good. I believe users might want to
correct the hyphenation. To me, a good first step would be to have a text
area in a dialog where users can paste the text, hyphenate it, and then
enter it in as Lyrics in MuseScore. When we have some language support and
it's working well, we could try on the fly.

3/ If by plugin you mean actual MuseScore plugins, that will not cut it.
MuseScore plugins have limited access to inner classes of MuseScore.
Assuming you don't mean that, I think the spellchecker and the hyphenator
are quite separated indeed.

I will check your draft this week.

lasconic

2016-03-20 16:29 GMT+04:00 akhilesh <akhileshs...@gmail.com>:

> Hello lasconic, hello all,
>
>   I'm proposing to work on text utilities for GSoC. I have a draft of the
> idea, but I have a few things that I'm not able to wrap my head around.
>
> 1) *Spell checking hyphenated words:* On the GSoC 2014 page
> (
> https://musescore.org/en/developers-handbook/google-summer-code/ideas-2014#Proofing-tools-for-lyrics%3A-spellcheck-and-hyphenation
> )
> I came across:
>
> "Spell checking lyrics also takes some work beyond simply hooking up a
> spellchecker. For example "ed-i-tor-in-chief" should pass spellcheck as
> "editor-in-chief". You have to preserve some hyphens and drop others before
> the spellchecker recognizes the word"
>
> *QUESTION* is: wouldn't hyphens in the original word of a hyphenated word
> confuse the hyphens that are induced due to syllabification? And hence, my
> suggestion is we should treat all originally hyphenated words as
> non-hyphenated in musescore.
>
> *EXAMPLE:* In the original word 'editor-in-chief', there's a hyphen "r-in"
> but the user doesn't split the syllable that way in the lyrics (say his
> lyrics are: e-di-to-"rin"-chief.
> *
> PROBLEM*: The spell checker would say the hyphen between "r-in" should be
> present, but the user would say he wanted "rin" to be sung at as single
> note, and making it "r-in" would confuse him into thinking that they had to
> be sung at separate notes.
>
> So can the spell checker forgive missing hyphens in the original word?
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------
> 2) *Hyphenation*:
>
> I was thinking of a hyphenation model where the user starts typing lyrics
> from under a particular note (This can be the start note or any other note)
> and hyphenation happens on the fly, where next syllables keep spilling over
> to next notes.
>
> OR
>
> Another model would be where where the user enters the entire lyrics at
> once, and the hyphenation happens after the entire lyrics have been
> entered,
> and each syllable is aligned with one note, starting from the first note.
>
> *QUESTION*: Which one of the above would be preferred as an implementation
> model? I can think of merits to both.
>
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
> 3) *Plugin*:
>
> Should the spell checker and hyphenator be implemented as separate plugins?
> (I am not sure how to decide which is a better paradigm, hence)
>
> It'd be great if you could help me out with these queries, after which I'd
> like to have your advice on the implementation model I have in mind based
> on
> your inputs to the above.
>
> Thanks,
> Akhilesh
>
>
>
> --
> View this message in context:
> http://dev-list.musescore.org/Gsoc-2016-Text-utilities-tp7579644p7579707.html
> Sent from the MuseScore Developer mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
> _______________________________________________
> Mscore-developer mailing list
> Mscore-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mscore-developer
>
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
Mscore-developer mailing list
Mscore-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mscore-developer

Reply via email to