Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnaber committed Sep 16, 2023
1 parent 7ffc893 commit 9d1985b
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
jWordSplitter Change Log
========================

### 2023-xx-xx (4.6-SNAPSHOT)
### 2023-09-16 (4.6)
* extended the dictionary
* load compound parts from a plain text file in the JAR, not a binary file
(it's even faster, about the same size and makes development easier)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Copyright 2004-2007 Sven Abels, University of Oldenburg, [email protected]
Copyright 2007-2015 Daniel Naber, http://www.danielnaber.de
Copyright 2007-2023 Daniel Naber, http://www.danielnaber.de

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jWordSplitter 4.6-SNAPSHOT
==========================
jWordSplitter 4.6
=================

Copyright 2004-2007 Sven Abels
Copyright 2007-2023 Daniel Naber
Expand All @@ -19,13 +19,13 @@ You might also be interested in this [German morphology dictionary](https://www.

#### Usage from Java

Use this dependency or [download the JAR here](https://search.maven.org/remotecontent?filepath=de/danielnaber/jwordsplitter/4.5/jwordsplitter-4.5.jar):
With Maven, use this dependency:

```xml
<dependency>
<groupId>de.danielnaber</groupId>
<artifactId>jwordsplitter</artifactId>
<version>4.5</version>
<version>4.6</version>
</dependency>
```

Expand Down Expand Up @@ -56,8 +56,9 @@ To access the German dictionary from the JAR file, unzip the JAR. The dictionary
word. If not, the position at which the word is split is moved by one character. Due to
the way the algorithm works it doesn't matter if the input words are nouns, verbs, or
adjective compounds (as long as they are in the dictionary).
* The length of the word to be split is not limited. For example, jWordSplitter can split
the famous "Donaudampfschifffahrtskapitän" (Donau, dampf, schiff, fahrt, kapitän).
* The length of the word to be split is limited to 70 characters by default. With this,
jWordSplitter can e.g. split the famous "Donaudampfschifffahrtskapitän" (Donau, dampf, schiff,
fahrt, kapitän).
* To improve results, you will need to tune the contents of the dictionary or
add exceptions using `GermanWordSplitter.addException()`.
* The dictionary also needs to contain inflected forms (plural, genitive etc.). German has
Expand Down
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ echo -n "# " >>$TXT_FILE
date >>$TXT_FILE
grep -v -f $RESOURCES/removals.txt $RESOURCES/languagetool-dict.txt | cat - $RESOURCES/additions.txt $RESOURCES/germanPrefixes.txt | grep -v "^#" | sort >>$TXT_FILE

#mvn clean package
echo "Writing new file to: $TXT_FILE"
echo -n "Result: "
ls -l $TXT_FILE
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<groupId>de.danielnaber</groupId>
<artifactId>jwordsplitter</artifactId>
<version>4.6-SNAPSHOT</version>
<version>4.6</version>
<packaging>jar</packaging>

<name>jwordsplitter</name>
Expand Down

0 comments on commit 9d1985b

Please sign in to comment.