Skip to content

Commit

Permalink
Updated tooling files
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBelicza committed Apr 13, 2021
1 parent e7fb094 commit d3879d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM golang:1.8
FROM golang:1.15
MAINTAINER David Belicza

ADD ./ /go/src/github.com/DavidBelicza/TextRank

WORKDIR /go/src/github.com/DavidBelicza/TextRank

CMD go get github.com/golang/dep/cmd/dep
CMD dep ensure
CMD /bin/bash
CMD go mod vendor
CMD /bin/bash
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,6 @@ This source code is an implementation of textrank algorithm, under MIT licence.

If there was a program what could rank book size text's words, phrases and sentences continuously on multiple threads and it would be opened to modifing by objects, written in a simple, secure, static language and if it would be very well documented... Now, here it is.

## DEMO

The following link *Recona* is a simple, pre-programmed a.i. what uses this library to ranking raw texts. It visualizes how ranking works and it represents how it could be used for different purposes: **[Recona.app](https://recona.app)**

## FEATURES

* Find the most important phrases.
Expand All @@ -59,9 +55,9 @@ You can install TextRank by Go's get:

```go get github.com/DavidBelicza/TextRank```

TextRank uses the DEP as vendoring tool, so the required dependencies are versioned under the **vendor** folder. The exact version number defined in the Gopkg.toml. If you want to reinstall the dependencies, use the DEP functions: flush the vendor folder and run:
TextRank uses the default Go *mod* as vendoring tool, so you can install the dependencies with this command:

```dep ensure```
```go mod vendor```

## DOCKER

Expand Down
5 changes: 2 additions & 3 deletions install.example.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/usr/bin/env bash

export GOPATH=/home/user/GolandProjects/idea-project-root

~/go/bin/dep ensure
go mod vendor
go test ./...

0 comments on commit d3879d8

Please sign in to comment.