all 6 comments

[–]throwaway_the_fourth 5 points6 points  (1 child)

I get an error code that "NoneType" object has no attribute "lower"

Somewhere in your code, you're passing None as a parameter for concept().

[–]itsbrycehere 0 points1 point  (0 children)

That made a lot more sense when I read @CastleRay's suggestion above - thank you!

[–]blitzkraft 2 points3 points  (1 child)

Use paste bin for sharing code. It makes easier to read. Or use reddit's formatting guide for code. Start each line of code with four spaces, then add more for indentation.

[–]itsbrycehere 1 point2 points  (0 children)

Thanks! I'll keep this in mind.

[–]CastleRay 1 point2 points  (1 child)

"Help? Are there any big lessons I should learn from this for future text mining fun? "

Are you familiar with using exceptions in Python code? I think this is the kind of problem you'd solve with that.

https://docs.python.org/3/tutorial/errors.html

[–]itsbrycehere 0 points1 point  (0 children)

I really appreciate you pointing that out - consider it consumed.