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

Reply via email to