๐One exciting announcement we wanted to make is that we added two new APIs to our list of Detectors ๐.
Names API
It takes your input text and looks for first and last names returning the ones that were a match.
The use-cases we had in mind when we developed this API come from our experience running automated marketing campaigns where we wanted to determine if the user part of an email address contained a name, nickname, or an unknown word.
For example, given the email address john.smith@example.com
you can extract the user part of it which will return john.smith
. With that, you can then search for common separators people use for their username, such as dots, hyphens, and underscores to split the text into single words that you can later pass to the Names Detector API.
Finally, the API will return John
as the first name, Smith
as the last name, and with that information, your automated email campaigns can greet the recipient with a "Hi, John!" instead of the random "Hi!" or "Hello there" that often indicate to the recipient they are being cold-emailed.
Gender API
Similarly, this API takes as input a person's name and tries to determine, using a database of over 200k examples, if the name is indicative of a male
or female
gender.
As a potential use-case, you can utilize this API to dynamically change a text where the need of using pronouns is present or in the case of languages other than English, it can come in handy with nouns that are written differently according to the gender of the subject. For example, in Spanish, Bienvenido, Josรฉ
, and Bienvenida, Martha
.