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

Some minor code refactoring #23

Closed nandajavarma closed 9 years ago

nandajavarma commented 9 years ago

This PR just takes some common code out and keeps it in a helper script. The logic inside the Views was a scratch itching for a while. I moved it out to a separate file.

Also, the indexing still needs wikiwoods.dm. Since we are on the process of re-writing the parser, I just copied the wikiwoods back. (Also because utils directory does not fit in well with the flask architecture making it pretty touch to access the WikiWoods model. Giving relative imports is not exactly something that we should. :-))