minimalparts / PeARS

Archive repository for the PeARS project. Please head over to https://github.com/PeARSearch/PeARS-orchard for the latest version.
MIT License
17 stars 20 forks source link

Introducing Sqlite database for wikiwoods. #22

Closed stultus closed 9 years ago

stultus commented 9 years ago

This PR introduces an sqlite database for wikiwoods and a script to convert a wikiwoods.dm file into database file - so next time when we want to update the wikiwoods with a new wikiwoods.dm file, just put the wikiwoods.dm file in the top project and run python create_wikiwoods_db.py also I've included wikiwoods.dm file in the .gitignore.

Also includes ORM files for db access (model.py)

updated the findBestPears.py and scorePages.py to reflect the database migration.

nandajavarma commented 9 years ago

Cool! Way to go @stultus ! LGTM! Happy to merge. But will let others review too. :)

stultus commented 9 years ago

I've pushed this change to heroku app as well.

minimalparts commented 9 years ago

Very excited about this but I'm in the middle of a research grant deadline, so won't have proper look. Please merge! And yeah!