Allow services to host more than one version of wikipedia
Status: Alpha
Brought to you by:
d_milne
- When configuring web services, we should be able to specify multiple versions of wikipedia (and a default one)
- When calling the services, we should be able to specify which language to use, or revert to the default.
- If more than one language is avalaible, the web interfaces for search, compare and wikify should provide drop down boxes to select them.
- When configuring web services, we should be able to specify multiple versions of wikipedia (and a default one)
I think this can be achieved quite easily in this way:
1) strip out from the web.xml file database access information, stopword, disambiguation and classification models.
2) Put such information (specific for every language) in a Properties file in the csv directory. Probably it should be a good idea to be able to specify in this property file also the class to be used as TextProcessor.
3) Maintain a list of such files in another Property file. The path to this file should be specified in the web.xml.
What do You think about this?
- If more than one language is avalaible, the web interfaces for search, compare and wikify should provide drop down boxes to select them.
I think that the most important thing is that the language can be selected prior to use such services. Anyway it should be very useful for a user to be able to switch the language in use directly from the service.