Hi chan, The templates i have updated to org.apache.predictionio namespace is already in templates.yaml : - template: name: OpenNLP Sentiment Analysis Template repo: "https://github.com/vshwnth2/OpenNLP-SentimentAnalysis-Template" description: |- Given a sentence, this engine will return a score between 0 and 4. This is the sentiment of the sentence. The lower the number the more negative the sentence is. It uses the OpenNLP library. tags: [nlp] type: Parallel language: Scala license: "Apache Licence 2.0" status: alpha pio_min_version: "-"
And, - template: name: Sentiment Analysis Template repo: "https://github.com/whhone/template-sentiment-analysis" description: |- Given a sentence, return a score between 0 and 4, indicating the sentence's sentiment. 0 being very negative, 4 being very positive, 2 being neutral. The engine uses the stanford CoreNLP library and the Scala binding `gangeli/CoreNLP-Scala` for parsing. tags: [nlp] type: Parallel language: Scala license: None status: stable pio_min_version: 0.9.0 I have modified it from io.prediction to org.apache.predictionio .build with predictionio -0.9.7-SNAPSHOT, scala 2.10.6 and spark 1.5.1, In this case should i keep this one and add updated template to templates.yaml or should i remove it . Please suggest me. Thank you. Regards, Bansari Shah On Thu, Sep 1, 2016 at 12:11 AM, Chan Lee <[email protected]> wrote: > Hi Bansari, > > You can git clone Apache PredictionIO repo (https://github.com/apache/ > incubator-predictionio), modify templates.yaml under > /docs/manual/source/gallery, and submit a pull request. When merged, people > will be able to view your templates here: http://predictionio. > incubator.apache.org/gallery/template-gallery/ > > Cheers, > Chan > > > On Wed, Aug 31, 2016 at 4:17 AM, Bansari Shah <[email protected]> > wrote: > >> Hi Chan, >> >> Updated predictionIO template of coreNLP_SentimentAnalysis and >> OpenNLP_SentimentAnalysis are under below repository : >> https://github.com/peoplehum/coreNLP-Sentiment-Analysis-Pred >> ictionIO-Template >> https://github.com/peoplehum/OpenNLP-Sentiment-Analysis-Pred >> ictionIO-Template >> >> For integrating above this templates i have created jira issue PIO-34 : >> Upgrading coreNLP_SentimentAnalysis and OpenNLP_Sentiment Analysis >> template to org.apache.predictionio namespace. >> >> Please suggest me how to proceed further. >> >> Thank you >> >> Regards, >> Bansari Shah >> >> >> >> On Tue, Aug 30, 2016 at 11:51 PM, Chan Lee <[email protected]> wrote: >> >>> Hi Bansari, >>> >>> Apologies for the late reply. I was away yesterday. >>> >>> I have updated namespace and written tests for all "previously official" >>> templates under PredictionIO repository (https://github.com/PredictionIO) >>> that we are working to donate to Apache. coreNLP_SentimentAnalysis and >>> OpenNLP_SentimentAnalysis are not included in this. So your work does not >>> overlap with mine. >>> >>> We are planning to release v0.10 of PredictionIO in September, and we >>> would need voluntary updates to the org namespace in all templates. As >>> Pat mentioned, the best way to do this is via pull request to the template >>> gallery. Below are the links to template gallery page and instructions. For >>> both namespace updates and your new template, you can just specify the >>> pio_min_version as 0.10.0 and it will work with the Apache donated version >>> of PredictionIO. Thank you for your contribution. >>> >>> template gallery: https://github.com/apache/incubator-predictionio/bl >>> ob/develop/docs/manual/source/gallery/templates.yaml >>> submit instructions: https://github.com/apache/incubator-prediction >>> io/blob/develop/docs/manual/source/community/submit-template.html.md >>> >>> Cheers, >>> Chan >>> >>> On Tue, Aug 30, 2016 at 7:43 AM, Pat Ferrel <[email protected]> >>> wrote: >>> >>>> The current plan is to have a new Gallery which anyone can submit >>>> templates to. The templates might be hosted on your github account. This >>>> needs to get a thumbs up from an Apache PIO committer so filing a Jira with >>>> your submission request should get our attention. If it meets Gallery >>>> standards you can create a PR (pull request) to the Gallery page with your >>>> template description. Then in short order your template will be on the >>>> Gallery. >>>> >>>> To submit for inclusion in Apache is more rigorous requiring that some >>>> committer is willing to give it long term support and that you assign >>>> copyrights as per normal Apache procedure. >>>> >>>> >>>> On Aug 30, 2016, at 2:17 AM, Bansari Shah <[email protected]> >>>> wrote: >>>> >>>> Thank you, Pat. >>>> I am starting to communicate with Chan to see if more is yet to done. >>>> And >>>> we are also working with preditionIO and making our own template for >>>> sentiment analysis. Is there a way to contribute new templates in apache >>>> version of predicitonIO ? We are highly using predictionIO for our >>>> MachineLearninig platform so please update me for any changes or feature >>>> addition in predictionIO. >>>> My github ID : bansarishah >>>> >>>> Thank you >>>> >>>> Regards, >>>> Bansari Shah >>>> >>>> >>>> On Tue, Aug 30, 2016 at 2:21 AM, Pat Ferrel <[email protected]> >>>> wrote: >>>> >>>> > Hi Bansari, >>>> > >>>> > Chan Lee has done this too, and added tests from the new integration >>>> test >>>> > framework. We are awaiting a donation from Saleforce and new repo >>>> creation >>>> > before anything can be pushed. >>>> > >>>> > If you would like to help check work being done on this here: >>>> > https://issues.apache.org/jira/browse/PIO-24 >>>> > >>>> > You might want to coordinate with Chan to see if more is yet to be >>>> done, >>>> > for instance checking licenses to make sure all dependencies have >>>> > compatible licenses as described here: https://issues.apache.org/ >>>> > jira/browse/PIO-27 >>>> > >>>> > Templates are always released in source form so the binary licenses >>>> don’t >>>> > need to be checked. >>>> > >>>> > >>>> > On Aug 29, 2016, at 7:17 AM, Bansari Shah <[email protected]> >>>> wrote: >>>> > >>>> > Hey, >>>> > I have updated some of the prediction IO templates from >>>> io.predictionio to >>>> > org.apache.predictionio namespace . Is it possible to contribute this >>>> > templates ? If yes can you please guide me how to contribute. >>>> > >>>> > Thank you >>>> > >>>> > Regards, >>>> > Bansari Shah >>>> > >>>> > >>>> >>>> >>> >> >
