mirror of
https://github.com/life4/textdistance.git
synced 2021-09-19 22:35:47 +03:00
+badges for readme & logo
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# TextDistance
|
||||
|
||||

|
||||
|
||||
[](https://travis-ci.org/orsinium/textdistance) [](https://pypi.python.org/pypi/textdistance) [](https://pypi.python.org/pypi/textdistance) [](https://github.com/orsinium/textdistance) [](LICENSE)
|
||||
|
||||
**TextDistance** -- python library for compare distance between two or more sequences by many algorithms.
|
||||
|
||||
Features:
|
||||
@@ -150,4 +154,3 @@ textdistance.Hamming(qval=2).distance('test', 'text')
|
||||
```
|
||||
|
||||
Any other algorithms have same interface.
|
||||
|
||||
|
||||
250
logo.svg
Normal file
250
logo.svg
Normal file
@@ -0,0 +1,250 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="744.09448"
|
||||
height="1052.3622"
|
||||
id="svg3352"
|
||||
version="1.1"
|
||||
inkscape:version="0.91 r13725"
|
||||
viewBox="0 0 744.09448 1052.3622"
|
||||
sodipodi:docname="logo.svg"
|
||||
inkscape:export-filename="/home/gram/projects/personal/textdistance/logo.png"
|
||||
inkscape:export-xdpi="150"
|
||||
inkscape:export-ydpi="150">
|
||||
<defs
|
||||
id="defs3354" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#ffffff"
|
||||
borderopacity="0.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="0"
|
||||
inkscape:zoom="2.8"
|
||||
inkscape:cx="-284.04171"
|
||||
inkscape:cy="319.26476"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:snap-bbox="true"
|
||||
inkscape:bbox-nodes="false"
|
||||
inkscape:snap-bbox-edge-midpoints="true"
|
||||
inkscape:snap-bbox-midpoints="true"
|
||||
inkscape:snap-nodes="false"
|
||||
inkscape:snap-others="false"
|
||||
inkscape:snap-global="true"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="994"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="26"
|
||||
inkscape:window-maximized="1">
|
||||
<inkscape:grid
|
||||
type="xygrid"
|
||||
id="grid3632" />
|
||||
</sodipodi:namedview>
|
||||
<metadata
|
||||
id="metadata3357">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="fill:#ffffff"
|
||||
id="rect3725"
|
||||
width="305"
|
||||
height="65"
|
||||
x="-435"
|
||||
y="752.36218" />
|
||||
<g
|
||||
id="g3442"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3444"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3446"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3448"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3450"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3452"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3454"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3456"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3458"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3460"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3462"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3464"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3466"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3468"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<g
|
||||
id="g3470"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-427.07443,774.83186)" />
|
||||
<text
|
||||
xml:space="preserve"
|
||||
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40.23017502px;line-height:125%;font-family:FreeMono;-inkscape-font-specification:FreeMono;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
|
||||
x="-425.46497"
|
||||
y="786.14581"
|
||||
id="text3503"
|
||||
sodipodi:linespacing="125%"
|
||||
transform="scale(1.0057544,0.99427853)"><tspan
|
||||
sodipodi:role="line"
|
||||
id="tspan3505"
|
||||
x="-425.46497"
|
||||
y="786.14581">TextDistance</tspan></text>
|
||||
<g
|
||||
id="g3442-2"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3444-4"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3446-1"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3448-6"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3450-5"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3452-7"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3454-8"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3456-5"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3458-9"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3460-2"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3462-7"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3464-3"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3466-6"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3468-4"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3470-7"
|
||||
transform="matrix(4.5930767,0,0,1.6087397,-287.00601,771.61752)" />
|
||||
<g
|
||||
id="g3686"
|
||||
transform="matrix(1.0350884,0,0,1.1112541,9.9125698,-87.344746)">
|
||||
<g
|
||||
transform="matrix(4.5304005,0,0,1.6087397,-425,771.61752)"
|
||||
id="g3426">
|
||||
<path
|
||||
id="path3428"
|
||||
d="M 31.505,23.63 0.5,23.63 C 0.367,23.63 0.24,23.577 0.146,23.484 0.052,23.391 0,23.263 0,23.13 L 0.002,8.878 c 0,-0.276 0.224,-0.5 0.5,-0.5 l 31.004,0 c 0.133,0 0.26,0.053 0.354,0.146 0.094,0.093 0.146,0.221 0.146,0.354 L 32.005,23.13 c 0,0.276 -0.224,0.5 -0.5,0.5 z M 1,22.63 l 30.005,0 0.001,-13.252 -30.004,0 L 1,22.63 Z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<g
|
||||
id="g3430">
|
||||
<path
|
||||
id="path3432"
|
||||
d="m 26.209,12.865 c -0.276,0 -0.5,-0.224 -0.5,-0.5 l 0,-3.489 c 0,-0.276 0.224,-0.5 0.5,-0.5 0.276,0 0.5,0.224 0.5,0.5 l 0,3.489 c 0,0.277 -0.224,0.5 -0.5,0.5 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3434"
|
||||
d="m 21.108,15.103 c -0.276,0 -0.5,-0.224 -0.5,-0.5 l 0,-5.727 c 0,-0.276 0.224,-0.5 0.5,-0.5 0.276,0 0.5,0.224 0.5,0.5 l 0,5.727 c 0,0.276 -0.223,0.5 -0.5,0.5 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3436"
|
||||
d="m 16.004,12.865 c -0.276,0 -0.5,-0.224 -0.5,-0.5 l 0,-3.489 c 0,-0.276 0.224,-0.5 0.5,-0.5 0.276,0 0.5,0.224 0.5,0.5 l 0,3.489 c 0,0.277 -0.224,0.5 -0.5,0.5 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3438"
|
||||
d="m 10.899,15.103 c -0.276,0 -0.5,-0.224 -0.5,-0.5 l 0,-5.727 c 0,-0.276 0.224,-0.5 0.5,-0.5 0.276,0 0.5,0.224 0.5,0.5 l 0,5.727 c 0,0.276 -0.223,0.5 -0.5,0.5 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3440"
|
||||
d="m 5.799,12.864 c -0.276,0 -0.5,-0.224 -0.5,-0.5 l 0,-3.488 c 0,-0.276 0.224,-0.5 0.5,-0.5 0.276,0 0.5,0.224 0.5,0.5 l 0,3.488 c 0,0.277 -0.224,0.5 -0.5,0.5 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
<path
|
||||
inkscape:connector-curvature="0"
|
||||
d="m -142.30113,809.63204 -142.40834,0 c -0.61088,0 -1.1942,-0.0853 -1.62595,-0.23488 -0.43175,-0.14961 -0.67059,-0.35553 -0.67059,-0.56949 l 0.009,-22.92776 c 0,-0.44401 1.02885,-0.80437 2.29653,-0.80437 l 142.40375,0 c 0.61088,0 1.1942,0.0853 1.62595,0.23488 0.43175,0.14961 0.67059,0.35553 0.67059,0.56949 l -0.005,22.92776 c 0,0.44401 -1.02885,0.80437 -2.29654,0.80437 z m -140.1118,-1.60874 137.81526,0 0.005,-21.31902 -137.81068,0 -0.009,21.31902 z"
|
||||
id="path3428-6" />
|
||||
<path
|
||||
id="path3432-4"
|
||||
d="m -166.62606,792.31396 c -1.26769,0 -2.29654,-0.36036 -2.29654,-0.80437 l 0,-5.6129 c 0,-0.44401 1.02885,-0.80437 2.29654,-0.80437 1.26769,0 2.29654,0.36036 2.29654,0.80437 l 0,5.6129 c 0,0.44562 -1.02885,0.80437 -2.29654,0.80437 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3434-2"
|
||||
d="m -190.05535,795.91432 c -1.26769,0 -2.29654,-0.36036 -2.29654,-0.80437 l 0,-9.21326 c 0,-0.44401 1.02885,-0.80437 2.29654,-0.80437 1.26769,0 2.29654,0.36036 2.29654,0.80437 l 0,9.21326 c 0,0.44401 -1.02425,0.80437 -2.29654,0.80437 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3436-2"
|
||||
d="m -213.49841,792.31396 c -1.26769,0 -2.29654,-0.36036 -2.29654,-0.80437 l 0,-5.6129 c 0,-0.44401 1.02885,-0.80437 2.29654,-0.80437 1.26769,0 2.29654,0.36036 2.29654,0.80437 l 0,5.6129 c 0,0.44562 -1.02885,0.80437 -2.29654,0.80437 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3438-1"
|
||||
d="m -236.94607,795.91432 c -1.26769,0 -2.29654,-0.36036 -2.29654,-0.80437 l 0,-9.21326 c 0,-0.44401 1.02885,-0.80437 2.29654,-0.80437 1.26769,0 2.29654,0.36036 2.29654,0.80437 l 0,9.21326 c 0,0.44401 -1.02425,0.80437 -2.29654,0.80437 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<path
|
||||
id="path3440-7"
|
||||
d="m -260.37076,792.31235 c -1.26769,0 -2.29654,-0.36036 -2.29654,-0.80437 l 0,-5.61129 c 0,-0.44401 1.02885,-0.80437 2.29654,-0.80437 1.26769,0 2.29654,0.36036 2.29654,0.80437 l 0,5.61129 c 0,0.44562 -1.02885,0.80437 -2.29654,0.80437 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
<rect
|
||||
ry="0"
|
||||
y="786.66766"
|
||||
x="-290.75763"
|
||||
height="21.325825"
|
||||
width="15"
|
||||
id="rect3634"
|
||||
style="fill:#ffffff" />
|
||||
<path
|
||||
id="path3438-1-9"
|
||||
d="m -282.90585,796.96443 c -1.26769,0 -2.29654,-0.36036 -2.29654,-0.80437 l 0,-9.21326 c 0,-0.44401 1.02885,-0.80437 2.29654,-0.80437 1.26769,0 2.29654,0.36036 2.29654,0.80437 l 0,9.21326 c 0,0.44401 -1.02425,0.80437 -2.29654,0.80437 z"
|
||||
inkscape:connector-curvature="0" />
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 10 KiB |
Reference in New Issue
Block a user