def eliminateStopwordsDoc(document, stopList):
    """ 
        Eliminate stopwords in a single document
    """
    A = [] 
    for word in document.split():
      if word not in stopList:
        A.append(word)
    return ' '.join(A)