Difference between revisions of "Guess Case"

From MusicBrainz Wiki
((Imported from MoinMoin))
(intertwingled, added classicalmdoe (Imported from MoinMoin))
Line 5: Line 5:
 
==Implemented modes==
 
==Implemented modes==
  
* Standard mode - implements
+
* [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]] 
 
** Implements [[Capitalization Standard English|CapitalizationStandardEnglish]]  
 
** Implements [[Capitalization Standard English|CapitalizationStandardEnglish]]  
** All the Official formatting style guides.
+
** All the official formatting [[Style Guidelines|StyleGuidelines]]
  
* Sentence mode - same as Standard mode, but   
+
* [[Guess Case Mode/Sentence Mode|GuessCaseMode/SentenceMode]] - same as Standard mode, but   
 
** ''Titles'' only the first word of a sentence.   
 
** ''Titles'' only the first word of a sentence.   
<ul><li style="list-style-type:none">If multiple sentences occur, each one is handled as a separate sentence. (meaning: the next word after one of the sentence stop characters "?","!",".",";", gets ''titled'' again)   
+
<ul><li style="list-style-type:none">If there are multiple sentences in a title, each one is handled as a separate sentence. (meaning: the next word after one of the sentence stop characters "?", "!", ".", ";", "/" is ''titled'' again)   
 
</ul>
 
</ul>
 
** Does not ''title'' words after a hyphen.   
 
** Does not ''title'' words after a hyphen.   
 
<ul><li style="list-style-type:none">Example: Peut-être, the second part is not ''titled''   
 
<ul><li style="list-style-type:none">Example: Peut-être, the second part is not ''titled''   
 +
<ul><li style="list-style-type:none">This will be eventually moved into a [[Guess Case Mode/French Mode|GuessCaseMode/FrenchMode]] --[[User:Keschte|Keschte]]
 
</ul>
 
</ul>
 +
</ul>
 +
 +
* [[Guess Case Mode/Classical Mode|GuessCaseMode/ClassicalMode]] - same as Standard mode, but handles specific cases of the [[Classical Style Guideline|ClassicalStyleGuideline]]
  
 
==New modes under discussion==
 
==New modes under discussion==
  
* [[Guess Case Mode Classical|GuessCaseModeClassical]]  
+
* [[Guess Case Mode/French Mode|GuessCaseMode/FrenchMode]]  
 
+
<ul><li style="list-style-type:none">(see [http://bugs.musicbrainz.org/report/2 the open tickets] of the guess case function)
==Still under development==
+
</ul>
 
 
As of May 2005 this has been released on the main server, but it is still [[Current Work|CurrentWork]] and [[User:Keschte|Keschte]] is still fixing bugs.  
 
* Enter bugs here [[Guess Case Bugs|GuessCaseBugs]]
 
 
 
==Discussion==
 
 
 
How comes that you use comma and semi-colon as sentence stop characters? For comma I can't think of one example when that would end a sentence. For semi-colon I think there could be a few weird uses of it that would make a new sentence start after it, but hardly in regular use. Or do these things differ between different languages? //[[User:bnw|bnw]]  
 
 
 
----
 
  
Author [[User:Keschte|Keschte]]  
+
----°° Author: [[User:Keschte|Keschte]]  
  
[[Category:To Be Reviewed]]
+
[[Category:To Be Reviewed]] [[Category:Documentation]] [[Category:Development]]

Revision as of 18:37, 12 May 2006

This is the wiki page for the GuessCase JavaScript function.

Keschte has enhanced the guess case script and addressed most of the GuessCaseOldSuggestions.

Implemented modes

  • If there are multiple sentences in a title, each one is handled as a separate sentence. (meaning: the next word after one of the sentence stop characters "?", "!", ".", ";", "/" is titled again)
    • Does not title words after a hyphen.

New modes under discussion


°° Author: Keschte