Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Absinth - A Small World of Semantic Similarity
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Victor Zimmermann
Absinth - A Small World of Semantic Similarity
Commits
76b81edc
Commit
76b81edc
authored
7 years ago
by
Victor Zimmermann
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
8a2664e6
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+33
-5
33 additions, 5 deletions
README.md
with
33 additions
and
5 deletions
README.md
+
33
−
5
View file @
76b81edc
...
...
@@ -28,7 +28,8 @@ Change to source directory.
$ cd absinth/src
```
Run setup.sh.
Run setup.sh. This installs mandatory modules and creates folders for
temporary output.
```
$ bash setup.sh
...
...
@@ -52,20 +53,47 @@ $ python3 absinth.py
$ python3 absinth.py -t
```
Absinth may utilise multiprocessing for parallel topic processing. Simply put
'-p' followed by the number of processes after the program name.
```
$ python3 absinth.py -p 4
```
Absinth produces individual clustering files for every target. To merge the
output files, simple call merge.py
output files, simple call merge.py. The resulting output for the WSI-evaluator
is placed in the 'absinth/src/final' directory.
```
$ python3 merge.py
```
Absinth does not overwrite already processed topics. Please delete files you
wish to replace manually.
## Baseline
Our baseline 'abstinent.py' works in much the same way as absinth.py. Not all
variables in config.py are supported in our baseline though.
```
$ python3 abstinent.py -t -p 3
```
To merge the abstinent.py output, simply put the '-bl' mofifier after merge.py:
```
$ python3 merge.py -bl
```
View the documentation for more information.
## Built With
*
[
NetworkX
](
https://networkx.github.io/
)
- Graph implementation
*
[
NLTK
](
http://www.nltk.org/
)
- Stopwords
*
[
Spacy
](
https://spacy.io/
)
- Tokenisation and syntactic parsing
*
[
NumPy
](
http://www.numpy.org/
)
- Maths
*
[
MatPlotLib
](
https://matplotlib.org/
)
- Visualisation
*
[
SciPy
](
https://www.scipy.org/
)
- More maths
## References
...
...
@@ -84,7 +112,7 @@ Véronis, Jean. (2004). HyperLex: Lexical cartography for information retrieval.
## License
This project is licensed under the MIT License - see the
[
LICENSE
.md
](
LICENSE
.md
)
file for details
This project is licensed under the MIT License - see the
[
LICENSE
](
LICENSE
)
file for details
## Acknowledgments
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment