twitter-text-python icon indicating copy to clipboard operation
twitter-text-python copied to clipboard

Twitter text processing library (auto linking and extraction of usernames, lists and hashtags). Based on the Java implementation by Matt Sanford

Results 5 twitter-text-python issues
Sort by recently updated
recently updated
newest added

5 of the unit tests were failing for me, they were all caused by the list(set(... operations which destroyed ordering in ParseResults.**init**, also the list(set(... operation on @reply was destructive...

ParseResult could return html formatted string, but not raw text. This pull proposes a stripped version as ParseResult.text property.

``` (.py3kvenv) yegle@november ~ $ python ttp.py File "ttp.py", line 26 AT_SIGNS = ur'[@\uff20]' ^ SyntaxError: invalid syntax ``` This is a test on Python 3.3.0

This test fails... - description: "DO NOT extract username preceded by @" text: "f@@kn" expected: [] result: kn