Open hotmeteor opened 8 months ago
Ok this might be helpful too: https://github.com/danielhaim1/TitleCaser
Would it make sense, to make a matrix of x = style and y = rule?
Example
APA | Chicago | AP | MLA | BB | AMA | NYT | Wiki | ||
---|---|---|---|---|---|---|---|---|---|
array phrasal_verbs_capitalization |
? | ✓ | ? | ✓ | ? | ? | ? | ? | ? |
?int min_word_length_capitalization |
4 | null |
? | ? | ? | ? | ? | ? | ? |
bool capitalize_first_word |
✓ | ✓ | ✓ | ✓ | ? | ? | ? | ? | ? |
bool capitalize_last_word |
× | ✓ | ✓ | × | ? | ? | ? | ? | ? |
?bool capitalize_hyphenated_major_word_suffix |
✓ | null |
? | ✓ | ? | ? | ? | ? | ? |
?bool capitalize_compound_modifier_suffix |
null |
× | ? | × | ? | ? | ? | ? | ? |
bool capitalize_articles |
null |
× | ? | ? | ? | ? | ? | ? | ? |
bool capitalize_prepositions |
null |
× | ? | ? | ? | ? | ? | ? | ? |
bool capitalize_coordinating_conjunctions |
null |
× | ? | ? | ? | ? | ? | ? | ? |
bool features.serial_comma |
? | ? | ? | ? | ? | ? | ? | ? | ? |
bool features.curly_quotes |
? | ? | ? | ? | ? | ? | ? | ? | ? |
Here's a list of styles and their rules:
https://capitalizemytitle.com/style/AP/