also account for uppercase when extracting subset of global word set