Skip to content

Commit 39f279c

Browse files
authored
Revert "Added New similarity algorithm using Gensim Library "
1 parent 7f3e9f8 commit 39f279c

File tree

3 files changed

+2
-57
lines changed

3 files changed

+2
-57
lines changed

README.md

+2-13
Original file line numberDiff line numberDiff line change
@@ -304,19 +304,6 @@ print(fourgram.distance(s1, s2))
304304

305305
```
306306

307-
## Gensim
308-
Gensim is billed as a Natural Language Processing package that does ‘Topic Modeling for Humans’. But its practically much more than that.
309-
310-
If you are unfamiliar with topic modeling, it is a technique to extract the underlying topics from large volumes of text. Gensim provides algorithms like LDA and LSI (which we will see later in this post) and the necessary sophistication to build high-quality topic models.
311-
312-
You may argue that topic models and word embedding are available in other packages like scikit, R etc. But the width and scope of facilities to build and evaluate topic models are unparalleled in gensim, plus many more convenient facilities for text processing.
313-
314-
It is a great package for processing texts, working with word vector models (such as Word2Vec, FastText etc) and for building topic models.
315-
316-
Also, another significant advantage with gensim is: it lets you handle large text files without having to load the entire file in memory
317-
318-
Gensim Tutorial – A Complete Beginners Guide: https://www.machinelearningplus.com/nlp/gensim-tutorial/
319-
320307
## Shingle (n-gram) based algorithms
321308
A few algorithms work by converting strings into sets of n-grams (sequences of n characters, also sometimes called k-shingles). The similarity or distance between the strings is then the similarity or distance between the sets.
322309

@@ -379,6 +366,8 @@ SIFT4 is a general purpose string distance algorithm inspired by JaroWinkler and
379366

380367
**Not implemented yet**
381368

369+
370+
382371
## Users
383372
* [StringSimilarity.NET](https://github.com/feature23/StringSimilarity.NET) a .NET port of java-string-similarity
384373

requirements.txt

-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
gensim
2-
nltk

similarity/gensim_similarity.py

-42
This file was deleted.

0 commit comments

Comments
 (0)