pysurprisal

Calculate surprisal for words in text. (by capjamesg)

Pysurprisal Alternatives

Similar projects and alternatives to pysurprisal based on common topics and language

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better pysurprisal alternative or higher similarity.

pysurprisal reviews and mentions

Posts with mentions or reviews of pysurprisal. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-22.
  • Kullback–Leibler Divergence
    2 projects | news.ycombinator.com | 22 Aug 2023
    I have used KL-divergence in authorship verification: https://github.com/capjamesg/pysurprisal/blob/main/pysurpris...

    My theory was: calculate entropy ("surprisal") of used words, then KL-divergence between a given prose and a collection of surprisals for different authors. The author to whom the prose had the highest KL-divergence was assumed to be the author. I think it has been used in stylometry a bit.

Stats

Basic pysurprisal repo stats
1
6
3.5
5 months ago

capjamesg/pysurprisal is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of pysurprisal is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com