normcase
Purpose
Finds documents that contain case-sensitive occurrences of arguments.
Unlike the case function that considers word capitalization as it is in a text, the normcase() function performs case normalization, i.e. words that occur in the initial-position of the sentence (except proper nouns) are normalized to lower case. In all-uppercase or all-lowercase sentences words are normalized as if they appeared in a normal mixed-case sentence.
Arguments
The function accepts several arguments. Required letters case can be specified using first optional parameter cap_type which accepts one of the following values:
-
lower matches words with all letters in lowercase;
-
upper matches words with all letters in uppercase;
-
title matches words with the first letter is in uppercase, all subsequent letters in lowercase;
-
mixed matches words that contain letters in upper and lower case in any combination.