Add cover to README

This commit is contained in:
Dirkjan Ochtman 2020-12-16 10:38:59 +01:00
parent f51a6e6cd5
commit a8d93efbb6
2 changed files with 24 additions and 0 deletions

View File

@ -1,3 +1,5 @@
![Cover logo](./cover.svg)
# instant-segment: fast English word segmentation in Rust
[![Build status](https://github.com/InstantDomainSearch/instant-segment/workflows/CI/badge.svg)](https://github.com/InstantDomainSearch/instant-segment/actions?query=workflow%3ACI)

22
cover.svg Normal file
View File

@ -0,0 +1,22 @@
<svg width="1280" height="720" viewBox="0 0 1280 720" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect width="1280" height="720" fill="url(#paint0_linear)"/>
<rect x="270" y="276" width="739" height="168" rx="24" fill="#323232"/>
<rect x="286" y="292" width="707" height="136" rx="16" fill="#444444"/>
<rect x="302" y="308" width="292" height="104" rx="8" fill="#939393" fill-opacity="0.16"/>
<rect x="318" y="320" width="76" height="80" rx="6" fill="#323232" fill-opacity="0.4"/>
<path d="M341.256 385H328.951V333.812H341.256V385ZM361.322 346.961L361.709 351.426C364.334 347.98 367.955 346.258 372.572 346.258C376.533 346.258 379.486 347.441 381.431 349.809C383.4 352.176 384.42 355.738 384.49 360.496V385H372.607V360.988C372.607 359.066 372.221 357.66 371.447 356.77C370.674 355.855 369.267 355.398 367.228 355.398C364.908 355.398 363.185 356.312 362.06 358.141V385H350.213V346.961H361.322Z" fill="#FAFAFA"/>
<path d="M423.282 374.312C423.282 373.305 422.755 372.496 421.7 371.887C420.645 371.277 418.641 370.645 415.688 369.988C412.735 369.332 410.298 368.477 408.376 367.422C406.454 366.344 404.989 365.043 403.981 363.52C402.973 361.996 402.469 360.25 402.469 358.281C402.469 354.789 403.911 351.918 406.794 349.668C409.676 347.395 413.45 346.258 418.114 346.258C423.13 346.258 427.161 347.395 430.208 349.668C433.255 351.941 434.778 354.93 434.778 358.633H422.895C422.895 355.586 421.29 354.062 418.079 354.062C416.837 354.062 415.794 354.414 414.95 355.117C414.106 355.797 413.684 356.652 413.684 357.684C413.684 358.738 414.2 359.594 415.231 360.25C416.262 360.906 417.903 361.445 420.153 361.867C422.426 362.289 424.419 362.793 426.13 363.379C431.848 365.348 434.708 368.875 434.708 373.961C434.708 377.43 433.161 380.254 430.067 382.434C426.997 384.613 423.012 385.703 418.114 385.703C414.856 385.703 411.95 385.117 409.395 383.945C406.841 382.773 404.848 381.18 403.419 379.164C401.989 377.148 401.274 375.027 401.274 372.801H412.348C412.395 374.559 412.981 375.848 414.106 376.668C415.231 377.465 416.673 377.863 418.43 377.863C420.048 377.863 421.255 377.535 422.051 376.879C422.872 376.223 423.282 375.367 423.282 374.312ZM455.231 337.504V346.961H461.489V355.188H455.231V372.59C455.231 374.02 455.489 375.016 456.004 375.578C456.52 376.141 457.539 376.422 459.063 376.422C460.235 376.422 461.219 376.352 462.016 376.211V384.684C459.883 385.363 457.657 385.703 455.336 385.703C451.258 385.703 448.246 384.742 446.301 382.82C444.356 380.898 443.383 377.98 443.383 374.066V355.188H438.532V346.961H443.383V337.504H455.231ZM488.762 385C488.34 384.227 487.965 383.09 487.637 381.59C485.457 384.332 482.41 385.703 478.496 385.703C474.91 385.703 471.863 384.625 469.355 382.469C466.848 380.289 465.594 377.559 465.594 374.277C465.594 370.152 467.117 367.035 470.164 364.926C473.211 362.816 477.641 361.762 483.453 361.762H487.109V359.758C487.109 356.266 485.598 354.52 482.574 354.52C479.762 354.52 478.355 355.902 478.355 358.668H466.508C466.508 354.988 468.066 352 471.184 349.703C474.324 347.406 478.32 346.258 483.172 346.258C488.023 346.258 491.855 347.441 494.668 349.809C497.48 352.176 498.922 355.422 498.992 359.547V376.387C499.039 379.879 499.578 382.551 500.609 384.402V385H488.762ZM481.344 377.266C482.82 377.266 484.039 376.949 485 376.316C485.984 375.684 486.688 374.969 487.109 374.172V368.09H483.664C479.539 368.09 477.477 369.941 477.477 373.645C477.477 374.723 477.84 375.602 478.566 376.281C479.293 376.938 480.219 377.266 481.344 377.266ZM517.617 346.961L518.004 351.426C520.629 347.98 524.25 346.258 528.867 346.258C532.828 346.258 535.781 347.441 537.726 349.809C539.695 352.176 540.715 355.738 540.785 360.496V385H528.902V360.988C528.902 359.066 528.515 357.66 527.742 356.77C526.968 355.855 525.562 355.398 523.523 355.398C521.203 355.398 519.48 356.312 518.355 358.141V385H506.507V346.961H517.617ZM562.327 337.504V346.961H568.585V355.188H562.327V372.59C562.327 374.02 562.585 375.016 563.101 375.578C563.617 376.141 564.636 376.422 566.159 376.422C567.331 376.422 568.316 376.352 569.113 376.211V384.684C566.98 385.363 564.753 385.703 562.433 385.703C558.355 385.703 555.343 384.742 553.398 382.82C551.452 380.898 550.48 377.98 550.48 374.066V355.188H545.628V346.961H550.48V337.504H562.327Z" fill="#FAFAFA"/>
<rect x="610" y="308" width="367" height="104" rx="8" fill="#939393" fill-opacity="0.16"/>
<path d="M664.758 371.395C664.758 369.59 664.114 368.184 662.825 367.176C661.559 366.168 659.321 365.125 656.11 364.047C652.899 362.969 650.274 361.926 648.235 360.918C641.602 357.66 638.285 353.184 638.285 347.488C638.285 344.652 639.106 342.156 640.746 340C642.41 337.82 644.754 336.133 647.778 334.938C650.801 333.719 654.2 333.109 657.973 333.109C661.653 333.109 664.946 333.766 667.852 335.078C670.782 336.391 673.055 338.266 674.672 340.703C676.289 343.117 677.098 345.883 677.098 349H664.793C664.793 346.914 664.149 345.297 662.86 344.148C661.594 343 659.871 342.426 657.692 342.426C655.489 342.426 653.743 342.918 652.453 343.902C651.188 344.863 650.555 346.094 650.555 347.594C650.555 348.906 651.258 350.102 652.664 351.18C654.071 352.234 656.543 353.336 660.082 354.484C663.621 355.609 666.528 356.828 668.801 358.141C674.332 361.328 677.098 365.723 677.098 371.324C677.098 375.801 675.41 379.316 672.035 381.871C668.66 384.426 664.032 385.703 658.149 385.703C654 385.703 650.239 384.965 646.864 383.488C643.512 381.988 640.981 379.949 639.27 377.371C637.582 374.77 636.739 371.781 636.739 368.406H649.114C649.114 371.148 649.817 373.176 651.223 374.488C652.653 375.777 654.961 376.422 658.149 376.422C660.188 376.422 661.793 375.988 662.965 375.121C664.16 374.23 664.758 372.988 664.758 371.395ZM702.438 385.703C696.602 385.703 691.879 383.969 688.27 380.5C684.66 377.008 682.855 372.473 682.855 366.895V365.91C682.855 362.02 683.57 358.586 685 355.609C686.453 352.633 688.562 350.336 691.328 348.719C694.094 347.078 697.375 346.258 701.172 346.258C706.516 346.258 710.734 347.922 713.828 351.25C716.922 354.555 718.469 359.172 718.469 365.102V369.707H694.914C695.336 371.84 696.262 373.516 697.691 374.734C699.121 375.953 700.973 376.562 703.246 376.562C706.996 376.562 709.926 375.25 712.035 372.625L717.449 379.023C715.973 381.062 713.875 382.691 711.156 383.91C708.461 385.105 705.555 385.703 702.438 385.703ZM701.102 355.398C697.633 355.398 695.57 357.695 694.914 362.289H706.867V361.375C706.914 359.477 706.434 358.012 705.426 356.98C704.418 355.926 702.977 355.398 701.102 355.398ZM723.031 365.699C723.031 361.855 723.664 358.457 724.929 355.504C726.195 352.551 728.011 350.277 730.379 348.684C732.746 347.066 735.5 346.258 738.64 346.258C742.601 346.258 745.695 347.594 747.922 350.266L748.343 346.961H759.101V383.559C759.101 386.91 758.316 389.816 756.746 392.277C755.199 394.762 752.949 396.66 749.996 397.973C747.043 399.309 743.621 399.977 739.73 399.977C736.941 399.977 734.234 399.449 731.609 398.395C729.007 397.34 727.015 395.969 725.632 394.281L730.59 387.32C732.793 389.922 735.699 391.223 739.308 391.223C744.558 391.223 747.183 388.527 747.183 383.137V381.941C744.91 384.449 742.039 385.703 738.57 385.703C733.929 385.703 730.179 383.934 727.32 380.395C724.461 376.832 723.031 372.074 723.031 366.121V365.699ZM734.914 366.438C734.914 369.555 735.5 372.027 736.672 373.855C737.843 375.66 739.484 376.562 741.593 376.562C744.148 376.562 746.011 375.707 747.183 373.996V358C746.035 356.266 744.195 355.398 741.664 355.398C739.554 355.398 737.902 356.348 736.707 358.246C735.511 360.121 734.914 362.852 734.914 366.438Z" fill="#FAFAFA"/>
<rect x="767" y="320" width="113" height="80" rx="6" fill="#323232" fill-opacity="0.4"/>
<path d="M787.819 346.961L788.205 351.426C790.901 347.98 794.522 346.258 799.069 346.258C803.873 346.258 807.119 348.168 808.807 351.988C811.385 348.168 815.111 346.258 819.986 346.258C827.697 346.258 831.658 350.922 831.869 360.25V385H819.986V360.988C819.986 359.043 819.658 357.625 819.002 356.734C818.346 355.844 817.151 355.398 815.416 355.398C813.072 355.398 811.326 356.441 810.178 358.527L810.213 359.02V385H798.33V361.059C798.33 359.066 798.014 357.625 797.381 356.734C796.748 355.844 795.541 355.398 793.76 355.398C791.486 355.398 789.752 356.441 788.557 358.527V385H776.709V346.961H787.819ZM858.193 385.703C852.357 385.703 847.635 383.969 844.025 380.5C840.416 377.008 838.611 372.473 838.611 366.895V365.91C838.611 362.02 839.326 358.586 840.756 355.609C842.209 352.633 844.318 350.336 847.084 348.719C849.849 347.078 853.131 346.258 856.928 346.258C862.271 346.258 866.49 347.922 869.584 351.25C872.678 354.555 874.224 359.172 874.224 365.102V369.707H850.67C851.092 371.84 852.017 373.516 853.447 374.734C854.877 375.953 856.728 376.562 859.002 376.562C862.752 376.562 865.681 375.25 867.791 372.625L873.205 379.023C871.728 381.062 869.631 382.691 866.912 383.91C864.217 385.105 861.31 385.703 858.193 385.703ZM856.857 355.398C853.389 355.398 851.326 357.695 850.67 362.289H862.623V361.375C862.67 359.477 862.189 358.012 861.181 356.98C860.174 355.926 858.732 355.398 856.857 355.398Z" fill="#FAFAFA"/>
<path d="M900.432 346.961L900.819 351.426C903.444 347.98 907.065 346.258 911.682 346.258C915.643 346.258 918.596 347.441 920.541 349.809C922.51 352.176 923.529 355.738 923.6 360.496V385H911.717V360.988C911.717 359.066 911.33 357.66 910.557 356.77C909.783 355.855 908.377 355.398 906.338 355.398C904.018 355.398 902.295 356.312 901.17 358.141V385H889.322V346.961H900.432ZM945.142 337.504V346.961H951.4V355.188H945.142V372.59C945.142 374.02 945.4 375.016 945.916 375.578C946.431 376.141 947.451 376.422 948.974 376.422C950.146 376.422 951.131 376.352 951.928 376.211V384.684C949.795 385.363 947.568 385.703 945.248 385.703C941.17 385.703 938.158 384.742 936.213 382.82C934.267 380.898 933.295 377.98 933.295 374.066V355.188H928.443V346.961H933.295V337.504H945.142Z" fill="#FAFAFA"/>
<path d="M48.5202 38.4913C48.4609 38.3662 48.3684 38.2607 48.2533 38.1868C48.1382 38.113 48.0051 38.0739 47.8692 38.0739H40.3324L46.353 25.0575C46.4053 24.9447 46.4289 24.8201 46.4215 24.6954C46.4141 24.5706 46.3759 24.4499 46.3107 24.3443C46.2454 24.2388 46.1552 24.1518 46.0483 24.0916C45.9414 24.0314 45.8213 23.9999 45.6993 24H34.1264C33.9869 24 33.8503 24.0413 33.7332 24.1189C33.6161 24.1966 33.5234 24.3073 33.4663 24.4376L24.0633 45.9189C24.0139 46.0317 23.9929 46.1554 24.0021 46.2786C24.0114 46.4019 24.0506 46.5209 24.1162 46.6246C24.1818 46.7284 24.2718 46.8137 24.3778 46.8728C24.4839 46.9318 24.6027 46.9627 24.7234 46.9627H31.7823L28.3565 63.1012C28.3216 63.2649 28.3419 63.436 28.4142 63.5863C28.4865 63.7367 28.6064 63.8576 28.7544 63.9291C28.9024 64.0007 29.0698 64.0187 29.2291 63.9802C29.3884 63.9418 29.5302 63.8491 29.6315 63.7174L48.4375 39.2733C48.5215 39.164 48.5737 39.0327 48.5884 38.8944C48.603 38.7562 48.5794 38.6165 48.5202 38.4913V38.4913Z" fill="white"/>
<defs>
<linearGradient id="paint0_linear" x1="640" y1="0" x2="640" y2="720" gradientUnits="userSpaceOnUse">
<stop stop-color="#37D490"/>
<stop offset="0.520833" stop-color="#37D4A3"/>
<stop offset="1" stop-color="#12BB9E"/>
</linearGradient>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 11 KiB