ignore_list = [
'i',
'me',
'we',
'us',
'myself',
'mine',
'our',
'ours',
'im',
]


def personal(filename):
    infile = open(filename)
    with open(filename) as f:
        #create a list of all words fetched from the file using a list comprehension
        words = [word for line in f for word in line.split()]
    print ("Out of the total :", len(words))
    counter = 0
    for line in infile:
        line = line.lower()
        if any(word in line for word in ignore_list):
            counter = counter + 1
    print("# of grammer errors found are: ",counter)
    f.close()
    infile.close()

f5030f84b43428a76f4780798cfb42655cd02daa
<mask token>

<mask token>


def personal(filename):
    infile = open(filename)
    with open(filename) as f:
        words = [word for line in f for word in line.split()]
    print('Out of the total :', len(words))
    counter = 0
    for line in infile:
        line = line.lower()
        if any(word in line for word in ignore_list):
            counter = counter + 1
    print('# of grammer errors found are: ', counter)
    f.close()
    infile.close()

ignore_list = ['i', 'me', 'we', 'us', 'myself', 'mine', 'our', 'ours', 'im']


def personal(filename):
    infile = open(filename)
    with open(filename) as f:
        words = [word for line in f for word in line.split()]
    print('Out of the total :', len(words))
    counter = 0
    for line in infile:
        line = line.lower()
        if any(word in line for word in ignore_list):
            counter = counter + 1
    print('# of grammer errors found are: ', counter)
    f.close()
    infile.close()

ignore_list = [
'i',
'me',
'we',
'us',
'myself',
'mine',
'our',
'ours',
'im',
]


def personal(filename):
    infile = open(filename)
    with open(filename) as f:
        #create a list of all words fetched from the file using a list comprehension
        words = [word for line in f for word in line.split()]
    print ("Out of the total :", len(words))
    counter = 0
    for line in infile:
        line = line.lower()
        if any(word in line for word in ignore_list):
            counter = counter + 1
    print("# of grammer errors found are: ",counter)
    f.close()
    infile.close()
