code: def analyze_with_categories(self, webpage):
          
          detected_apps = self.analyze(webpage)
          categorised_apps = {}
  
          for app_name in detected_apps:
              cat_names = self.get_categories(app_name)
              categorised_apps[app_name] = {"categories": cat_names}
  
          return categorised_apps
docs: Return a list of applications and categories that can be detected on the web page.