def buildChildSets(self, md):       
        if md.characters is not None:
            for n in list(set(md.characters.split(","))):
                self.character_names.add(n.strip())
        if md.teams is not None:
            for n in list(set(md.teams.split(","))):
                self.team_names.add(n.strip())
        if md.locations is not None:
            for n in list(set(md.locations.split(","))):
                self.location_names.add(n.strip())
        if md.storyArc is not None:
            for n in list(set(md.storyArc.split(","))):
                self.storyarc_names.add(n.strip())
        if md.genre is not None:
            for n in list(set(md.genre.split(","))):
                self.genre_names.add(n.strip())                
        if md.tags is not None:
            for n in list(set(md.tags)):
                self.generictag_names.add(n.strip())        
        if md.credits is not None:
            for credit in md.credits:
                self.person_names.add(credit['person'].strip())
                self.role_names.add(credit['role'].lower().strip())
dataset/ETHPy150Open beville/ComicStreamer/comicstreamerlib/monitor.py/Monitor.buildChildSets/original