mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Update models.js [ci skip]
This commit is contained in:
parent
9cbaf9b965
commit
71bd040834
|
@ -239,7 +239,7 @@ const Model = ({ name, langId, langName, baseUrl, repo, compatibility, hasExampl
|
||||||
)}
|
)}
|
||||||
</tbody>
|
</tbody>
|
||||||
</Table>
|
</Table>
|
||||||
<Grid cols={2} gutterBottom={hasInteractiveCode || labels}>
|
<Grid cols={2} gutterBottom={hasInteractiveCode || !!labels}>
|
||||||
{accuracy &&
|
{accuracy &&
|
||||||
accuracy.map(({ label, items }, i) =>
|
accuracy.map(({ label, items }, i) =>
|
||||||
!items ? null : (
|
!items ? null : (
|
||||||
|
@ -293,11 +293,12 @@ const Model = ({ name, langId, langName, baseUrl, repo, compatibility, hasExampl
|
||||||
.
|
.
|
||||||
</p>
|
</p>
|
||||||
<Table fixed>
|
<Table fixed>
|
||||||
|
<tbody>
|
||||||
{Object.keys(labels).map(pipe => {
|
{Object.keys(labels).map(pipe => {
|
||||||
const labelNames = labels[pipe] || []
|
const labelNames = labels[pipe] || []
|
||||||
const help = LABEL_SCHEME_META[pipe]
|
const help = LABEL_SCHEME_META[pipe]
|
||||||
return (
|
return (
|
||||||
<Tr key={pipe} evenodd={false}>
|
<Tr key={pipe} evenodd={false} key={pipe}>
|
||||||
<Td style={{ width: '20%' }}>
|
<Td style={{ width: '20%' }}>
|
||||||
<Label>
|
<Label>
|
||||||
{pipe} {help && <Help>{help}</Help>}
|
{pipe} {help && <Help>{help}</Help>}
|
||||||
|
@ -316,6 +317,7 @@ const Model = ({ name, langId, langName, baseUrl, repo, compatibility, hasExampl
|
||||||
</Tr>
|
</Tr>
|
||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
|
</tbody>
|
||||||
</Table>
|
</Table>
|
||||||
</Accordion>
|
</Accordion>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user