The effect is to substitute words whose first letter does not ^ follow any [ ] terminal punctuation .?!: or new line \n yet begins a new word /b with any capital letter [A-Z] followed by another letter capital or not [A-Za-z] (to include all-cap words like BBC) - to substitute such words with nothing // throughout the $file everywhere they are found (globally).
Notes:
Proper-stripping would be useful e.g. when profiling a text where propers simply augment the offlist component artificially (since they are interpreted in context and not 'vocabulary' per se - with transferable meaning, etc.)
Note the (almost certainly imperfect) assumption of correlation betweeen mid-sentence capitals and proper nouns
1. Window input
This algorithm was developed with Batia Laufer for use in VocabProfiling