@RestController
@RequestMapping("/api/cognitive")
public class TurCognitiveAPI
extends Object
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
TurCognitiveAPI
public TurCognitiveAPI()
-
Method Details
-
turCognitiveDetectLanguage
@GetMapping("/detect-language/")
public String turCognitiveDetectLanguage(@RequestParam(required=false,name="text")
String text)
-
turCognitiveSpellChecker
@GetMapping("/spell-checker/{locale}")
public List<String> turCognitiveSpellChecker(@PathVariable
String locale,
@RequestParam(required=false,name="text")
String text)