Skip to content

Commit 1b90018

Browse files
committed
readme cleanup
1 parent b571155 commit 1b90018

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,14 @@ http://pypi.python.org/pypi/twitter-text-python/
1111
Installation
1212
------------
1313

14+
::
1415
pip install twitter-text-python
1516

1617

1718
Usage
1819
-----
1920

21+
::
2022
>>> from ttp import ttp
2123
>>> p = ttp.Parser()
2224
>>> result = p.parse("@burnettedmond, you now support #IvoWertzel's tweet parser! https://github.com/edburnett/")
@@ -41,7 +43,7 @@ You can also ask for the span tags to be returned for each entity::
4143
[('https://github.com/burnettedmond/', (57, 87))]
4244

4345

44-
To use the shortlink follower:
46+
To use the shortlink follower::
4547

4648
>>> from ttp import utils
4749
>>> # assume that result.urls == ['http://t.co/8o0z9BbEMu', u'http://bbc.in/16dClPF']
@@ -83,10 +85,10 @@ Everyone is welcome to make improvements to **twp**!
8385
Todo
8486
----
8587

86-
* Consider adding capitalised phrase identification
87-
* Consider adding a repeated-char remover (e.g. grrrrrrr->grr)
88-
* Make it 1 line to parse and get a results dict via __init__.py
89-
* Tag the next release
88+
* Consider adding capitalised phrase identification
89+
* Consider adding a repeated-char remover (e.g. grrrrrrr->grr)
90+
* Make it 1 line to parse and get a results dict via __init__.py
91+
* Tag the next release
9092

9193

9294
Doing a release

0 commit comments

Comments
 (0)