def METHOD_NAME(gold_seq, pred_seq):
    """Returns the per-token accuracy comparing two strings (recall).
    Args:
        gold_seq (`list`): A list of gold tokens.
        pred_seq (`list`): A list of predicted tokens.
    Returns:
        `float`: Representing the accuracy.
    """
    num_correct = 0
    for i, gold_token in enumerate(gold_seq):
        if i < len(pred_seq) and pred_seq[i] == gold_token:
            num_correct += 1
    return float(num_correct) / len(gold_seq)