title: How to scan a file/github against a keyword.txt?
body: <p>I have a keywords.csv</p>
  <div class="s-table-container">
  <table class="s-table">
  <thead>
  <tr>
  <th>Keyword</th>
  <th>Comment</th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>public stake</td>
  <td>double check</td>
  </tr>
  <tr>
  <td>_return</td>
  <td>this will cause a panic!</td>
  </tr>
  <tr>
  <td>_stake</td>
  <td></td>
  </tr>
  <tr>
  <td>this is a pattern</td>
  <td></td>
  </tr>
  </tbody>
  </table>
  </div>
  <p>And I want to use those keywords to scan a file/rawgithub doc.</p>
  <p>The script should go check each line in keywords.csv and print out if it matches the word/s going through line by line of the file to be scanned. note, that it should loosely match.</p>
  <p><em>Example: I know the stake is very public.</em></p>
  <p>This should match with <em>public stake</em></p>
  <p>Also, I want it to print out the line number and comment from table if possible, but I'm totally stuck</p>
  <p>what I have so far</p>
  <pre><code>from string import punctuation
  
  with open('test.txt', 'r') as f1, open('keywords.csv') as f2:
      st = set(map(str.rstrip, f2))
      for line in f1:
          if any(word.lower().strip(punctuation) in st for word in line.split()):
              print(line)
  </code></pre>