code: def ner(request):
      result = {}
      try:
          text = json.loads(request.body.decode("utf-8"))["text"]
          tags = uts.ner(text)
          result["output"] = tags
      except Exception as e:
          print(e)
          result = {"error": "Bad request!"}
      return JsonResponse(result)
  
file_path: underthesea/apps/service/service/views.py
imports: import underthesea
  from django.http import JsonResponse
  from django.shortcuts import render
  from django.views.decorators.csrf import csrf_exempt
  from underthesea.dictionary import Dictionary
  import json
  from underthesea.pipeline.ipa import viet2ipa
label_desc: Use image node_id 5 for calling a global function with example usage: ner(request) and returns: JsonResponse