Training a NER with BERT with a few lines of code in Spark NLP and getting SOTA accuracy. — NER is a subtask of information extraction that seeks to locate and classify named entities mentioned in unstructured text into pre-defined categories such as person names, organizations, locations, medical codes, time expressions, quantities, monetary values, percentages, etc.