mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 01:21:58 +03:00
revert prettier reformat
This commit is contained in:
parent
0f5fbdae21
commit
01fa365050
|
@ -706,85 +706,10 @@ displacy.serve(doc, style="ent")
|
|||
```
|
||||
|
||||
<Standalone height={180}>
|
||||
<div
|
||||
style={{
|
||||
lineHeight: 2.5,
|
||||
fontFamily:
|
||||
"-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
|
||||
fontSize: 18,
|
||||
}}
|
||||
>
|
||||
When{' '}
|
||||
<mark
|
||||
style={{
|
||||
background: '#aa9cfc',
|
||||
padding: '0.45em 0.6em',
|
||||
margin: '0 0.25em',
|
||||
lineHeight: 1,
|
||||
borderRadius: '0.35em',
|
||||
}}
|
||||
>
|
||||
Sebastian Thrun{' '}
|
||||
<span
|
||||
style={{
|
||||
fontSize: '0.8em',
|
||||
fontWeight: 'bold',
|
||||
lineHeight: 1,
|
||||
borderRadius: '0.35em',
|
||||
marginLeft: '0.5rem',
|
||||
}}
|
||||
>
|
||||
PERSON
|
||||
</span>
|
||||
</mark>{' '}
|
||||
started working on self-driving cars at{' '}
|
||||
<mark
|
||||
style={{
|
||||
background: '#7aecec',
|
||||
padding: '0.45em 0.6em',
|
||||
margin: '0 0.25em',
|
||||
lineHeight: 1,
|
||||
borderRadius: '0.35em',
|
||||
}}
|
||||
>
|
||||
Google{' '}
|
||||
<span
|
||||
style={{
|
||||
fontSize: '0.8em',
|
||||
fontWeight: 'bold',
|
||||
lineHeight: 1,
|
||||
borderRadius: '0.35em',
|
||||
marginLeft: '0.5rem',
|
||||
}}
|
||||
>
|
||||
ORG
|
||||
</span>
|
||||
</mark>{' '}
|
||||
in{' '}
|
||||
<mark
|
||||
style={{
|
||||
background: '#bfe1d9',
|
||||
padding: '0.45em 0.6em',
|
||||
margin: '0 0.25em',
|
||||
lineHeight: 1,
|
||||
borderRadius: '0.35em',
|
||||
}}
|
||||
>
|
||||
2007{' '}
|
||||
<span
|
||||
style={{
|
||||
fontSize: '0.8em',
|
||||
fontWeight: 'bold',
|
||||
lineHeight: 1,
|
||||
borderRadius: '0.35em',
|
||||
marginLeft: '0.5rem',
|
||||
}}
|
||||
>
|
||||
DATE
|
||||
</span>
|
||||
</mark>
|
||||
, few people outside of the company took him seriously.
|
||||
</div>
|
||||
<div style={{lineHeight: 2.5, fontFamily: "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'", fontSize: 18}}>When <mark style={{ background: '#aa9cfc', padding: '0.45em 0.6em', margin: '0 0.25em', lineHeight: 1,
|
||||
borderRadius: '0.35em'}}>Sebastian Thrun <span style={{ fontSize: '0.8em', fontWeight: 'bold', lineHeight: 1, borderRadius: '0.35em', marginLeft: '0.5rem'}}>PERSON</span></mark> started working on self-driving cars at <mark style={{ background: '#7aecec', padding: '0.45em 0.6em', margin: '0
|
||||
0.25em', lineHeight: 1, borderRadius: '0.35em'}}>Google <span style={{ fontSize: '0.8em', fontWeight: 'bold', lineHeight: 1, borderRadius: '0.35em', marginLeft: '0.5rem'}}>ORG</span></mark> in <mark style={{ background: '#bfe1d9', padding: '0.45em 0.6em', margin: '0 0.25em', lineHeight: 1,
|
||||
borderRadius: '0.35em'}}>2007 <span style={{ fontSize: '0.8em', fontWeight: 'bold', lineHeight: 1, borderRadius: '0.35em', marginLeft: '0.5rem'}}>DATE</span></mark>, few people outside of the company took him seriously.</div>
|
||||
</Standalone>
|
||||
|
||||
## Entity Linking {id="entity-linking"}
|
||||
|
|
Loading…
Reference in New Issue
Block a user