Skip to content

jopela/urlinfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

urlinfer

takes a list of url (e.g: http://en.wiki.org/w/russia, http://en.wiki.org/can) and apply monoid functions on the list in order to produce a new list with new addresses, or addresses modified.

example

The goal is to 'guess' the url of other resources based on some already existing resources. This is made clear by the following example:

urlfinder.py http://en.wiki.org/wiki/Montreal http://ru.db.org/res/Russia
-i wikivoyage languages

which should return:

http://en.wiki.org/wiki/Montreal http://en.voyage/wiki/Montreal  
http://ru.wiki.org/wiki/Russia http://ru.voyage/wiki/Russia

the arguments given to -i must be a list of existing monoid function which are simply composed. The application order is from right to left, meaning that for the example above, the result is given by (wikivoyage((languages(list))).

About

try to guess wikipedia/wikivoyage urls from dbpedia resource urls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages