Hacker News new | past | comments | ask | show | jobs | submit login

Looks interesting, but I couldn't get the code samples to work. Would be good to have all languages available in the demo on the website.



Thanks, Web64.

What was the issue? Any error messages or you just didn't get the output you wanted?

I imagine you're interested in Norwegian?

EDIT: I forgot to mention that you don't need to code to test-drive. You can simply dump your JSON in the console (the "Try it" button: https://dev.tisane.ai/docs/services/5a3b6668a3511b11cc292655...).


Yes, I would like to test for Scandinavian languages as there are not many multilingual NLP apis available. Not even Google/Microsoft/AWS has multilingual support.

The error I'm getting is:

  Request Error
  The server encountered an error processing the request. The exception message is 'Invalid JSON string literal format. At line 1, column 1.'. See server logs for more details. The exception stack trace is: 
  at System.Runtime.Serialization.Json.JavaScriptReader.ReadStringLiteral()
  at System.Runtime.Serialization.Json.JavaScriptReader.ReadCore()
  at System.Runtime.Serialization.Json.JavaScriptReader.Read()
  at System.Json.JsonValue.Load(TextReader textReader)
  at Tisane.Server.Parse(Stream json)
  at SyncInvokeParse(Object , Object[] , Object[] )
  at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
  at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
  at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
  at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage11(MessageRpc& rpc)
  at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)

using these parameters:

  $parameters = array(
     'content'  => "Babylonians should not be allowed at managerial positions.",
     'language' => 'en'
  );


Thank you!

I will need the entire client code though. Let's switch to email - the one you logged on with is OK, right?

EDIT: sent.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: