<commit_before>GoCarousel
==========
A Go library that allows you to place in your Graphical Application a custom carousel. You can specify: 
* The images to rotate.
* Whether to select the next image in rotation randomly. Current image is excluded from random selection.
* The animation. The available animations are:
  * Rotate right to left
  * Rotate left to right
  * Rotate up to down
  * Rotate down to up
* Interval between switching images.
* Speed of transition.
* Position of the carousel.
* Width and height of the carousel.

Installation on Linux
============
```
$ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
$ sudo apt-get update
$ sudo apt-get install ubuntu-sdk qtbase5-private-dev qtdeclarative5-private-dev
$ go get github.com/martin-angelov1992/GoCarousel
```
For other operating systems if you manage to install [qml](https://github.com/niemeyer/qml) you should be able to use the library.

Example
=======
```
 package main
 
 import (
 	"github.com/niemeyer/qml"
 	"github.com/martin-angelov1992/GoCarousel"
 )
 
 func main() {
 	qml.Init(nil)
 	engine := qml.NewEngine()
 	base, _ := engine.LoadFile("base.qml")
 	win := base.CreateWindow(nil)
 	carousel := GoCarousel.NewCarousel(engine, win)
 	carousel.SetImages([]string{"../test_images/ubuntu-gopher.png", "../test_images/firefox.png", "../test_images/fire.jpg"})
 	carousel.SetWidth(200)
 	carousel.SetHeight(GoCarousel.CALCULATE_DIMENSION)
 	win.Show()
 	carousel.Run()
 	win.Wait()
 }
```
<commit_msg>Remove extra tab in readme<commit_after>GoCarousel
==========
A Go library that allows you to place in your Graphical Application a custom carousel. You can specify: 
* The images to rotate.
* Whether to select the next image in rotation randomly. Current image is excluded from random selection.
* The animation. The available animations are:
  * Rotate right to left
  * Rotate left to right
  * Rotate up to down
  * Rotate down to up
* Interval between switching images.
* Speed of transition.
* Position of the carousel.
* Width and height of the carousel.

Installation on Linux
============
```
$ sudo add-apt-repository ppa:ubuntu-sdk-team/ppa
$ sudo apt-get update
$ sudo apt-get install ubuntu-sdk qtbase5-private-dev qtdeclarative5-private-dev
$ go get github.com/martin-angelov1992/GoCarousel
```
For other operating systems if you manage to install [qml](https://github.com/niemeyer/qml) you should be able to use the library.

Example
=======
```
package main

import (
	"github.com/niemeyer/qml"
	"github.com/martin-angelov1992/GoCarousel"
)

func main() {
	qml.Init(nil)
	engine := qml.NewEngine()
	base, _ := engine.LoadFile("base.qml")
	win := base.CreateWindow(nil)
	carousel := GoCarousel.NewCarousel(engine, win)
	carousel.SetImages([]string{"../test_images/ubuntu-gopher.png", "../test_images/firefox.png", "../test_images/fire.jpg"})
	carousel.SetWidth(200)
	carousel.SetHeight(GoCarousel.CALCULATE_DIMENSION)
	win.Show()
	carousel.Run()
	win.Wait()
}
```

{'fraction_non_alphanumeric': 0.1281618887015177, 'fraction_numerical': 0.008768971332209106, 'mean_word_length': 4.363471971066907, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1389884', 'n_tokens_mistral': 1025, 'n_tokens_neox': 945, 'n_words': 284}