Skip to content

Commit

Permalink
fix: moved dicts/locale to v4/dicts/locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Gerdes committed Apr 5, 2020
1 parent 1bcc645 commit 62386da
Show file tree
Hide file tree
Showing 34 changed files with 295 additions and 260 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ download:

package:
# Packaging $(LANG)
go run dicts/cmd/simplify/simplify.go data/$(LANG) data/$(LANG).gz
go run dicts/cmd/genpack/genpack.go -locale $(LANG) -path data/$(LANG).gz > dicts/$(LANG)/pack.go
go run cmd/simplify/simplify.go data/$(LANG) data/$(LANG).gz
go run cmd/genpack/genpack.go -locale $(LANG) -path data/$(LANG).gz > v4/dicts/$(LANG)/pack.go
# ----------------

benchcmp:
Expand Down
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ This project is a dictionary based lemmatizer written in go.

Since v4 all dictionaries need to be gotten individually.

```
go get github.com/aaaton/golem/v4
```


### What?

A [lemmatizer](https://en.wikipedia.org/wiki/Lemmatisation) is a tool that finds the base form of words.
Expand All @@ -20,6 +25,36 @@ It's based on the dictionaries found on [michmech/lemmatization-lists](https://g

At the moment golem supports English, Swedish, French, Spanish, Italian & German, but adding another language should be no more trouble than getting the dictionary for that language. Some of which are already available on lexiconista. Please let me know if there is something you would like to see in here, or fork the project and create a pull request.

English
```
go get github.com/aaaton/golem/v4/dicts/en
```

Swedish
```
go get github.com/aaaton/golem/v4/dicts/sv
```

French
```
go get github.com/aaaton/golem/v4/dicts/fr
```

German
```
go get github.com/aaaton/golem/v4/dicts/de
```

Spanish
```
go get github.com/aaaton/golem/v4/dicts/es
```

Italian
```
go get github.com/aaaton/golem/v4/dicts/it
```

### Basic usage

```golang
Expand Down
File renamed without changes.
File renamed without changes.
43 changes: 0 additions & 43 deletions dicts/de/pack.go

This file was deleted.

43 changes: 0 additions & 43 deletions dicts/en/pack.go

This file was deleted.

43 changes: 0 additions & 43 deletions dicts/es/pack.go

This file was deleted.

43 changes: 0 additions & 43 deletions dicts/fr/pack.go

This file was deleted.

43 changes: 0 additions & 43 deletions dicts/it/pack.go

This file was deleted.

43 changes: 0 additions & 43 deletions dicts/sv/pack.go

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
43 changes: 43 additions & 0 deletions v4/dicts/de/pack.go

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
43 changes: 43 additions & 0 deletions v4/dicts/en/pack.go

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
43 changes: 43 additions & 0 deletions v4/dicts/es/pack.go

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
43 changes: 43 additions & 0 deletions v4/dicts/fr/pack.go

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
43 changes: 43 additions & 0 deletions v4/dicts/it/pack.go

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
43 changes: 43 additions & 0 deletions v4/dicts/sv/pack.go

Large diffs are not rendered by default.

File renamed without changes.

0 comments on commit 62386da

Please sign in to comment.