Skip to content

Instantly share code, notes, and snippets.

View kamoo1's full-sized avatar
💤

kamoo1

💤
View GitHub Profile
@kamoo1
kamoo1 / gpwebapi.py
Last active June 4, 2022 10:22
get complete review from google play store (>4400 limit)
import json
from enum import Enum
from utils.logging import get_logger
logger = get_logger(__name__)
class Pattern(Enum):
# OPTIONAL = 0
@kamoo1
kamoo1 / gist:bea1b90b847edb64c8ff
Last active August 29, 2015 14:18
JWNL WordNet dictionary to map with usage count
Use mapped WordNet dictionary can boost speed alot, in JWNL there is an convert method that can create mapped dictionary files, however there it does not support usage count.
#To convert dictionary to map#
In Windows:
java -cp jwnl.jar;utilities.jar;commons-logging.jar net.didion.jwnl.utilities.DictionaryToMap <destination directory> <property file>
In unix-like systems:
java -cp jwnl.jar:utilities.jar:commons-logging.jar net.didion.jwnl.utilities.DictionaryToMap <destination directory> <property file>