It uses a hybrid engine: it first checks curated dictionaries of real, documented nicknames in Portuguese and English, then applies linguistic rules for truncation (apocope and aphaeresis), diminutives, augmentatives and compound names, which work even for names that aren't in any dictionary.