Solution using user defined function(UDF)
Code
# Code
```pythondata []
import pandas as pd

def capitalize_content(user_content: pd.DataFrame) -> pd.DataFrame:
    def capitalize(content_text):
        transformed_text = []
        for text in content_text.split():
            if '-' in text:
                sub_text = []
                for word in text.split('-'):
                    word = word.capitalize()
                    sub_text.append(word)
                transformed_text.append('-'.join(sub_text))
            else:
                text = text.capitalize()
                transformed_text.append(text)

        return ' '.join(transformed_text)
    
    user_content['converted_text'] = user_content['content_text'].apply(lambda row: capitalize(row))
    user_content = user_content.rename(columns={'content_text': 'original_text'})
    return user_content

                
    
```
['Pandas']