Thank you! :)
Simply put, there are two prime components here:
1. The recommendation engine (Myrrix, need to run a .jar file as a daemon,
done. Easier than deploying Lucene)
2. Recommendation client (Myrrix has a rich Java API. My current code uses
it to provide recommendations. The actual client-side Java API-using code
is less than 150 LOC, minus a couple of classes that are injected into the
Myrrix daemon.)
Now I have three options here:
i) To write a PHP wrapper over (2)
ii) I can expose (2) as a REST-based API which can be easily used from PHP
code.
iii) Completely replace (2) with PHP code.
(i) and (ii) are feasible options. But (iii) would mean rewriting quite a
large amount of code/functionality, that's already in the Java API, in PHP.
And I can't see any gains from going with (iii) since it wouldn't really
help deployment any more than (i) or (ii).
I am a bit busy with my university exams; I will try to deploy this on a
VPS, update the repo with some PHP code and a link to the demo, and share
it here in a couple of days.
Cheers,
Nilesh
On Mon, May 13, 2013 at 4:02 PM, Denny Vrandečić <
denny.vrandecic(a)wikimedia.de> wrote:
That's awesome!
Two things:
* how set are you on a Java-based solution? We would prefer PHP in order to
make it more likely to be deployed.
* could you provide a link to a running demo?
Cheers,
Denny
2013/5/13 Nilesh Chakraborty <nilesh(a)nileshc.com>
Hi everyone,
I'm working on a prototype for the Wikidata Entity Suggester (Bug
#46555<https://bugzilla.wikimedia.org/show_bug.cgi?id=46555>).
As of now, it is a command-line client, completely written in Java, that
fetches recommendations from a Myrrix server layer.
Please take a look at the GitHub repository here:
https://github.com/nilesh-c/wikidata-entity-suggester/
I would really appreciate it if you can take the time to go through the
README and provide me with some much-needed feedback. Any questions or
suggestions are welcome. If you're curious, you can set up the whole
thing
on your own machine.
Check out a few examples too:
https://github.com/nilesh-c/wikidata-entity-suggester/wiki/Examples
It can suggest properties and values for new/not-yet-created items (and
also currently present items), if it's given a few properties/values as
input data.
I intend to write a REST API and/or a simple PHP frontend for it before I
set it up on a remote VPS, so that everyone can test it out. Some
experimentation and quality optimization is also due.
Cheers,
Nilesh
(User Page -
https://www.mediawiki.org/wiki/User:Nilesh.c)
--
A quest eternal, a life so small! So don't just play the guitar, build
one.
You can also email me at contact(a)nileshc.com or
visit my
website<http://www.nileshc.com/>
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
Project director Wikidata
Wikimedia Deutschland e.V. | Obentrautstr. 72 | 10963 Berlin
Tel. +49-30-219 158 26-0 |
http://wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e.V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg unter
der Nummer 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für
Körperschaften I Berlin, Steuernummer 27/681/51985.
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l
--
A quest eternal, a life so small! So don't just play the guitar, build one.
You can also email me at contact(a)nileshc.com or visit my
website<http://www.nileshc.com/>