Skip to content
/ bowsim Public

String similarity score calculation using bag of words model

License

Notifications You must be signed in to change notification settings

rfguri/bowsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bowsim

GoDoc Build Status Coverage Status GitHub release GitHub license

Bowsim is a library that provides a way to perform string similarity score calculation using bag of words model in Go.

Installing

Install Go, either from source or with a prepackaged binary. Then,

$ go get github.com/rfguri/bowsim

Testing

$ go test -bench=. -v

Using

package main

import (
  "fmt"
  "github.com/rfguri/bowsim"
)

func main() {
  a := "Jane loves me more than Julie loves me"
  b := "Julie likes me more than Jake loves me"

  s := bowsim.Get(a, b)

  fmt.Println(s)
}

Contributing

Pull requests are very much welcomed. Create your pull request on a non-master branch, make sure a test or example is included that covers your change and your commits represent coherent changes that include a reason for the change.

To run the integration tests, make sure to run go test. TravisCI will also run the integration tests.

Credits

License

Copyright © 2017 Roger Fernandez Guri. It is free software, and may be redistributed under the terms specified in the LICENSE file.

About

String similarity score calculation using bag of words model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages