Esempio n. 1
0
    def surname_is_toponym(self):
        """
        Is the surname the name of a country or US state?

        Returns: bool
        """

        surname = ' '.join(self.surname_tokens)
        return is_toponym(surname)
Esempio n. 2
0
    def title_is_toponym(self):
        """
        Is the title the name of a country or US state?

        Returns: bool
        """

        title = ' '.join(self.title_tokens)
        return is_toponym(title)
Esempio n. 3
0
    def surname_is_toponym(self):

        """
        Is the surname the name of a country or US state?

        Returns: bool
        """

        surname = ' '.join(self.surname_tokens)
        return is_toponym(surname)
Esempio n. 4
0
    def title_is_toponym(self):

        """
        Is the title the name of a country or US state?

        Returns: bool
        """

        title = ' '.join(self.title_tokens)
        return is_toponym(title)