|
a |
|
b/doc/figures/introduction/ner_hamlet.html |
|
|
1 |
<!DOCTYPE html> |
|
|
2 |
<html lang="en"> |
|
|
3 |
<head> |
|
|
4 |
<title>displaCy</title> |
|
|
5 |
</head> |
|
|
6 |
|
|
|
7 |
<body style="font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; padding: 4rem 2rem; direction: ltr"> |
|
|
8 |
<figure style="margin-bottom: 6rem"> |
|
|
9 |
<div class="entities" style="line-height: 2.5; direction: ltr"> |
|
|
10 |
<mark class="entity" style="background: #f0d0ff; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;"> |
|
|
11 |
Hamlet |
|
|
12 |
<span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">WORK_OF_ART</span> |
|
|
13 |
</mark> |
|
|
14 |
is a tragedy written by |
|
|
15 |
<mark class="entity" style="background: #aa9cfc; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;"> |
|
|
16 |
William Shakespeare |
|
|
17 |
<span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">PERSON</span> |
|
|
18 |
</mark> |
|
|
19 |
sometime |
|
|
20 |
<mark class="entity" style="background: #bfe1d9; padding: 0.45em 0.6em; margin: 0 0.25em; line-height: 1; border-radius: 0.35em;"> |
|
|
21 |
between 1599 and 1601 |
|
|
22 |
<span style="font-size: 0.8em; font-weight: bold; line-height: 1; border-radius: 0.35em; vertical-align: middle; margin-left: 0.5rem">DATE</span> |
|
|
23 |
</mark> |
|
|
24 |
.</div> |
|
|
25 |
</figure> |
|
|
26 |
</body> |
|
|
27 |
</html> |