GithubHelp home page GithubHelp logo

eudex's People

Contributors

flo-l avatar ticki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

eudex's Issues

pronounciation?

did you mean pronounciation or pronunciation in the README.md?

Handling of ch, sh, th and ng in english

How does eudex handle sounds such as ch, sh, th and ng in english?
Or y in front as a consonant vs in the middle as a vowel?
Or c having a k sound or a s sound in certain situations?

Any C/C++ implementation?

Hi! This looks really cool -- I'm curious if there is already a C or C++ implementation available? Thanks!

let mut n = 1u8;

line 250 let mut n = 1u8;
Are you sure this must be u8? Because I suspect it prevents words longer than 16 characters to hash properly.

Converting Eudex to JavaScript

I am having a hard time trying to convert Eudex to JavaScript, because there is no such thing as 64 bit integer. You can sort of "emulate" it with two numbers, which I am currently trying to do, but I am just curious, why 64 bit? Can this be adapted to 32 bit? In hash tables you normally do not need this huge amount of bits anyway.

Consider newtyping the hash return type

As there has been confusion on reddit regarding the interpretation of the hash value it might be a good idea to newtype the u64 the hasher returns right now.

The newtype could have methods like distance() and weighted_distance() (or however you'd like to call them) and of course a From/Into impl for conversions to u64.

Edit: and of course similar()

comparing to b'z'

if entry <= b'z' {

I am new to Rust so I may get it wrong, but it feels like you are comparing against ordinal('z'), is this the right thing to do? Because you already entry = (string[b] | 32).wrapping_sub(b'a')

I do not know what wrapping_sub does, I refer to Java port, so it feels you need to compare to 26 instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.