Guess Case: Difference between revisions

From MusicBrainz Wiki
Jump to navigationJump to search
(Searches are dead)
mNo edit summary
Line 1: Line 1:
Guess case changes the capitalization to be closer to our language guidelines. While in most situations it is not perfect and the result will still needs some human corrections, it can save plenty of time.
This is the wiki page for the GuessCase JavaScript function.


==Modes==
[[User:Keschte|Keschte]] has enhanced the guess case script and addressed most of the [[Guess Case Old Suggestions|GuessCaseOldSuggestions]].


These are the currently available Guess Case modes:
==Implemented modes==


* [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]] - handles English titles.
* [[Guess Case Mode/Default Mode|Default]] - The standard mode for English titles.
* [[Guess Case Mode/Sentence Mode|Sentence]] - Implements [[Guess Case]] functions for non-English languages: First word titled, lowercase for ''most'' of the other words.
** Implements [[Capitalization Standard English|CapitalizationStandardEnglish]]
* [[Guess Case Mode/Classical Mode|Classical]] - Implements [[Guess Case]] functions for classical titles (inherits settings of the [[Guess Case Mode/Sentence Mode|sentence mode]]).
** All the official formatting [[Style Guideline|StyleGuideline]]<code><nowiki></nowiki></code>s
* [[Guess Case Mode/French Mode|French]] - Implements some peculiarities of the French language (inherits settings of [[Guess Case Mode/Sentence Mode|sentence mode]]).

* [[Guess Case Mode/Sentence Mode|GuessCaseMode/SentenceMode]] - handles the same cases than the [[Guess Case Mode/Default Mode|GuessCaseMode/DefaultMode]], but
** ''Titles'' only the first word of a sentence.
<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>
** Does not ''title'' words after a hyphen.
<ul><li style="list-style-type:none">Example: Peut-être, the second part is not ''titled''
</ul>

* [[Guess Case Mode/Classical Mode|GuessCaseMode/ClassicalMode]] - handles specific cases of the [[Classical Style Guideline|ClassicalStyleGuideline]]

* [[Guess Case Mode/French Mode|GuessCaseMode/FrenchMode]]

==New modes under discussion==

<ul><li style="list-style-type:none">(see [http://bugs.musicbrainz.org/report/2 the open tickets] of the guess case function)
</ul>


[[Category:To Be Reviewed]] [[Category:Development]]
[[Category:To Be Reviewed]] [[Category:Development]]

Revision as of 21:13, 14 October 2011

Guess case changes the capitalization to be closer to our language guidelines. While in most situations it is not perfect and the result will still needs some human corrections, it can save plenty of time.

Modes

These are the currently available Guess Case modes:

  • Default - The standard mode for English titles.
  • Sentence - Implements Guess Case functions for non-English languages: First word titled, lowercase for most of the other words.
  • Classical - Implements Guess Case functions for classical titles (inherits settings of the sentence mode).
  • French - Implements some peculiarities of the French language (inherits settings of sentence mode).