
    Implement a function that transforms database field names from the social network's backend snake_case format to frontend-compatible camelCase notation, ensuring consistent data field representation across the event recommendation system. The function should handle any length of underscore-separated strings and maintain the first word in lowercase while capitalizing the first letter of subsequent words.
    

    
import re

def snake_to_camel(word):
    """
    Implement a function that transforms database field names from the social network's backend snake_case format to frontend-compatible camelCase notation, ensuring consistent data field representation across the event recommendation system. The function should handle any length of underscore-separated strings and maintain the first word in lowercase while capitalizing the first letter of subsequent words.
    

    """
import re

def snake_to_camel(word):
    """
    Implement a function that transforms database field names from the social network's backend snake_case format to frontend-compatible camelCase notation, ensuring consistent data field representation across the event recommendation system. The function should handle any length of underscore-separated strings and maintain the first word in lowercase while capitalizing the first letter of subsequent words.
    

    """
    return ''.join((x.capitalize() or '_' for x in word.split('_')))