import numpy as np
import nltk


def find_comment_len(X):
    comment_lengths = np.array([])
    for x in X:
        comment_length = np.array([len(x)])
        comment_lengths = np.append(comment_lengths, comment_length)
    return comment_lengths

7a535c9d2ead0022387d7a29c32255ddc759ac96
<mask token>

<mask token>


def find_comment_len(X):
    comment_lengths = np.array([])
    for x in X:
        comment_length = np.array([len(x)])
        comment_lengths = np.append(comment_lengths, comment_length)
    return comment_lengths

import numpy as np
import nltk


def find_comment_len(X):
    comment_lengths = np.array([])
    for x in X:
        comment_length = np.array([len(x)])
        comment_lengths = np.append(comment_lengths, comment_length)
    return comment_lengths
