databricks / spark-corenlp

Stanford CoreNLP wrapper for Apache Spark
GNU General Public License v3.0
422 stars 120 forks source link

Is it possible to use custom training dataset for sentiments? #13

Open search4mahesh opened 8 years ago

search4mahesh commented 8 years ago

Hello,

Is it possible to use custom training dataset for sentiments.? Also If there is possible for correcting the sentiments and backfeeding again if sentiment is wrong?

Thanks, Mahesh

mengxr commented 8 years ago

We don't support training yet. It should be possible to use a custom trained model rather than the standard one. We might need to expose some properties to allow users to choose which model to use. Could you provide some example code?