swipedistance

package module
Version: v0.0.0-...-99e5aac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

README

swipedistance

A library and tool for investigating the distance required for swiping words on
iOS 13.

# usage

  cat /usr/share/dist/words | swipedistance

The first column is the total swipe distance, the second column is the swipe
distance per character, and the final column is the word itself.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sum

func Sum(word string) (float64, bool)

Sum returns the swipe distance required to type the word. The result has no units associated with it. Results are not guaranteed to be comparable between different versions of the package. If there is a character in the word which cannot be typed then the second argument will be false.

Types

This section is empty.

Source Files

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL