<s>
Spark	B-Application
NLP	I-Application
is	O
an	O
open-source	B-Application
text	O
processing	O
library	O
for	O
advanced	O
natural	B-Language
language	I-Language
processing	I-Language
for	O
the	O
Python	B-Language
,	O
Java	B-Language
and	O
Scala	B-Application
programming	I-Application
languages	I-Application
.	O
</s>
<s>
The	O
library	O
is	O
built	O
on	O
top	O
of	O
Apache	B-Language
Spark	I-Language
and	O
its	O
Spark	B-Language
ML	O
library	O
.	O
</s>
<s>
Its	O
purpose	O
is	O
to	O
provide	O
an	O
API	B-General_Concept
for	O
natural	B-Language
language	I-Language
processing	I-Language
pipelines	O
that	O
implement	O
recent	O
academic	O
research	O
results	O
as	O
production-grade	O
,	O
scalable	O
,	O
and	O
trainable	O
software	O
.	O
</s>
<s>
Out	O
of	O
the	O
box	O
annotators	O
include	O
,	O
tokenizer	O
,	O
normalizer	O
,	O
stemming	B-General_Concept
,	O
lemmatizer	B-General_Concept
,	O
regular	B-Language
expression	I-Language
,	O
TextMatcher	O
,	O
chunker	B-General_Concept
,	O
DateMatcher	O
,	O
SentenceDetector	O
,	O
DeepSentenceDetector	O
,	O
POS	O
tagger	O
,	O
ViveknSentimentDetector	O
,	O
sentiment	O
analysis	O
,	O
named	B-General_Concept
entity	I-General_Concept
recognition	I-General_Concept
,	O
conditional	B-General_Concept
random	I-General_Concept
field	I-General_Concept
annotator	O
,	O
deep	B-Algorithm
learning	I-Algorithm
annotator	O
,	O
spell	B-Application
checking	I-Application
and	O
correction	O
,	O
dependency	O
parser	O
,	O
typed	O
dependency	O
parser	O
,	O
document	B-Algorithm
classification	I-Algorithm
,	O
and	O
language	B-General_Concept
detection	I-General_Concept
.	O
</s>
<s>
The	O
Models	O
Hub	O
is	O
a	O
platform	O
for	O
sharing	O
open-source	B-Application
as	O
well	O
as	O
licensed	O
pre-trained	O
models	O
and	O
pipelines	O
.	O
</s>
<s>
It	O
includes	O
pre-trained	O
pipelines	O
with	O
tokenization	O
,	O
lemmatization	B-General_Concept
,	O
part-of-speech	O
tagging	O
,	O
and	O
named	B-General_Concept
entity	I-General_Concept
recognition	I-General_Concept
that	O
exist	O
for	O
more	O
than	O
thirteen	O
languages	O
;	O
word	O
embeddings	O
including	O
GloVe	B-General_Concept
,	O
ELMo	B-General_Concept
,	O
BERT	B-General_Concept
,	O
ALBERT	O
,	O
XLNet	O
,	O
Small	O
BERT	B-General_Concept
,	O
and	O
ELECTRA	O
;	O
sentence	O
embeddings	O
including	O
Universal	O
Sentence	O
Embeddings	O
(	O
USE	O
)	O
and	O
Language	O
Agnostic	O
BERT	B-General_Concept
Sentence	O
Embeddings	O
(	O
LaBSE	O
)	O
.	O
</s>
<s>
Spark	B-Application
NLP	I-Application
base	O
code	O
includes	O
support	O
for	O
East	O
Asian	O
languages	O
such	O
as	O
tokenizers	O
for	O
Chinese	O
,	O
Japanese	O
,	O
Korean	O
;	O
for	O
right-to-left	O
languages	O
such	O
as	O
Urdu	O
,	O
Farsi	O
,	O
Arabic	O
,	O
Hebrew	O
and	O
pre-trained	O
multilingual	O
word	O
and	O
sentence	O
embeddings	O
such	O
as	O
LaUSE	O
and	O
a	O
translation	O
annotator	O
.	O
</s>
<s>
Spark	B-Application
NLP	I-Application
for	O
Healthcare	O
is	O
a	O
commercial	O
extension	O
of	O
Spark	B-Application
NLP	I-Application
for	O
clinical	O
and	O
biomedical	O
text	O
mining	O
.	O
</s>
<s>
It	O
provides	O
healthcare-specific	O
annotators	O
,	O
pipelines	O
,	O
models	O
,	O
and	O
embeddings	O
for	O
clinical	O
entity	O
recognition	O
,	O
clinical	O
entity	O
linking	O
,	O
entity	O
normalization	O
,	O
assertion	O
status	O
detection	O
,	O
de-identification	O
,	O
relation	O
extraction	O
,	O
and	O
spell	B-Application
checking	I-Application
and	O
correction	O
.	O
</s>
<s>
The	O
library	O
offers	O
access	O
to	O
several	O
clinical	O
and	O
biomedical	O
transformers	O
:	O
JSL-BERT-Clinical	O
,	O
BioBERT	O
,	O
ClinicalBERT	O
,	O
GloVe-Med	O
,	O
GloVe-ICD-O	O
.	O
</s>
<s>
Spark	B-Language
OCR	O
is	O
another	O
commercial	O
extension	O
of	O
Spark	B-Application
NLP	I-Application
for	O
optical	B-Application
character	I-Application
recognition	I-Application
(	O
OCR	O
)	O
from	O
images	O
,	O
scanned	B-Application
PDF	I-Application
documents	O
,	O
and	O
DICOM	B-Algorithm
files	O
.	O
</s>
<s>
It	O
is	O
a	O
software	O
library	O
built	O
on	O
top	O
of	O
Apache	B-Language
Spark	I-Language
.	O
</s>
<s>
It	O
provides	O
several	O
image	O
pre-processing	O
features	O
for	O
improving	O
text	B-Application
recognition	I-Application
results	O
such	O
as	O
adaptive	B-Algorithm
thresholding	I-Algorithm
and	O
denoising	O
,	O
skew	O
detection	O
&	O
correction	O
,	O
adaptive	O
scaling	O
,	O
layout	B-Algorithm
analysis	I-Algorithm
and	O
region	O
detection	O
,	O
image	O
cropping	O
,	O
removing	O
background	O
objects	O
.	O
</s>
<s>
Due	O
to	O
the	O
tight	O
coupling	O
between	O
Spark	B-Language
OCR	O
and	O
Spark	B-Application
NLP	I-Application
,	O
users	O
can	O
combine	O
NLP	B-Language
and	O
OCR	O
pipelines	O
for	O
tasks	O
such	O
as	O
extracting	O
text	O
from	O
images	O
,	O
extracting	O
data	O
from	O
tables	O
,	O
recognizing	O
and	O
highlighting	O
named	B-General_Concept
entities	I-General_Concept
in	O
PDF	B-Application
documents	I-Application
or	O
masking	O
sensitive	O
text	O
in	O
order	O
to	O
de-identify	O
images	O
.	O
</s>
<s>
Several	O
output	O
formats	O
are	O
supported	O
by	O
Spark	B-Language
OCR	O
such	O
as	O
PDF	B-Application
,	O
images	O
,	O
or	O
DICOM	B-Algorithm
files	O
with	O
annotated	O
or	O
masked	O
entities	O
,	O
digital	O
text	O
for	O
downstream	O
processing	O
in	O
Spark	B-Application
NLP	I-Application
or	O
other	O
libraries	O
,	O
structured	O
data	O
formats	O
(	O
JSON	B-General_Concept
and	O
CSV	O
)	O
,	O
as	O
files	O
or	O
Spark	B-Language
data	O
frames	O
.	O
</s>
<s>
Users	O
can	O
also	O
distribute	O
the	O
OCR	O
jobs	O
across	O
multiple	O
nodes	O
in	O
a	O
Spark	B-Language
cluster	B-Architecture
.	O
</s>
<s>
Spark	B-Application
NLP	I-Application
is	O
licensed	O
under	O
the	O
Apache	B-Application
2.0	I-Application
license	I-Application
.	O
</s>
<s>
Prebuilt	O
versions	O
of	O
Spark	B-Application
NLP	I-Application
are	O
available	O
in	O
PyPi	O
and	O
Anaconda	O
Repository	O
for	O
Python	B-Language
development	O
,	O
in	O
Maven	O
Central	O
for	O
Java	B-Language
&	O
Scala	B-Application
development	O
,	O
and	O
in	O
Spark	B-Language
Packages	O
for	O
Spark	B-Language
development	O
.	O
</s>
<s>
In	O
March	O
2019	O
,	O
Spark	B-Application
NLP	I-Application
received	O
Open	O
Source	O
Award	O
for	O
its	O
contributions	O
in	O
natural	B-Language
language	I-Language
processing	I-Language
in	O
Python	B-Language
,	O
Java	B-Language
,	O
and	O
Scala	B-Application
.	O
</s>
