aboutsummaryrefslogtreecommitdiffstats
path: root/wikisource.py
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2013-08-05 22:29:24 +0200
committerThibaut Horel <thibaut.horel@gmail.com>2013-08-05 22:45:45 +0200
commitb51137379fab2d5579e0caeada5389c682ec3cc5 (patch)
tree49e1c6bab1a69143e9aa290e48e5849e7b2b6756 /wikisource.py
parent80133c8d2d0a7334e8f53a11eaa48a8d7b70c1da (diff)
downloadocr-layer-curation-b51137379fab2d5579e0caeada5389c682ec3cc5.tar.gz
Use a Needleman-Wunsch type algorithm for text alignment
Diffstat (limited to 'wikisource.py')
-rw-r--r--wikisource.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wikisource.py b/wikisource.py
index 38bd90d..1b279e3 100644
--- a/wikisource.py
+++ b/wikisource.py
@@ -4,7 +4,7 @@ import lxml
import sys
from bs4 import BeautifulSoup
-URL="http://fr.wikisource.org/w/index.php"
+URL = "http://fr.wikisource.org/w/index.php"
def get_page(title, page):
params = { "action": "render", "title": "Page:" + title + "/" + str(page) }