{"repo":"Neargye/SwipeType","free":true,"listed":false,"github":"https://github.com/Neargye/SwipeType","clone":"git clone https://github.com/Neargye/SwipeType.git","description":"Implementing same algorithm \"swype keyboard\" for .NET and Unity","language":"C#","stars":29,"topics":["csharp","unity","unity3d","swype-keyboard","keyboard","algorithm","swipetype"],"license":"Apache-2.0","category":"game-templates","readme_excerpt":"SwipeType SwipeType is a small .NET library for turning swipe paths into word suggestions. It works in regular .NET projects and in Unity projects that support netstandard2.0 . Use: - QwertySwipeType for tolerant English QWERTY swipe ranking. - MatchSwipeType for strict ordered path matching. - DistanceSwipeType as a simple edit-distance fallback. Example If you have word frequencies, pass them to improve ranking: Frequencies are especially useful with large dictionaries and noisy swipe paths, where several uncommon words can match the same keyboard geometry. Algorithm notes The original idea is based on Krishna Bharadwaj's swype.py gist: a word is a candidate when its letters appear in the swipe path in order, with endpoint and minimum-length filters to keep the candidate set small. MatchSwipeType keeps that strict path-matching behavior. QwertySwipeType adds QWERTY keyboard geometry, nearby endpoint matching, dynamic path-to-word alignment, bounded top-N ranking, and optional word-frequency boosts. This is a deterministic swipe-ranking library, not a full keyboard language model. With large dictionaries and noisy paths, several rare words can be geometrically valid matches, so passing word frequencies is recommended for production-quality ranking. Unity SwipeType targets netstandard2.0 , so it can be used as a managed plug-in in Unity projects that use the .NET Standard API compatibility level. Recommended setup: 1. Build SwipeType in Release configuration. 2. Copy SwipeTyp","default_branch":null,"files":null,"tree":[],"storefront":"/r/Neargye","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Neargye/SwipeType/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}