Skip to content

Commit

Permalink
Trying something crazy...
Browse files Browse the repository at this point in the history
  • Loading branch information
meyersbs committed Oct 17, 2016
1 parent 1674b03 commit c1ffcaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='SPLAT-library',
version='0.3.4',
version='0.3.5',
description='Speech Processing & Linguistic Analysis Tool',
long_description="SPLAT is a command-line application designed to make it easy for linguists (both computer-oriented and non-computer-oriented) to use the Natural Language Tool Kit (NLTK) for analyzing virtually any text file.\n\nSPLAT is designed to help you gather linguistic features from text files and it is assumed that most input files will not be already annotated. In order for SPLAT to function properly, you should ensure that the input files that you provide do not contain any annotations. Because there are so many variations of linguistic annotation schemes, it would simply be impossible to account for all of them in the initial parsing of input files; it is easier for you to remove any existing annotations than it is for me to do so.",
url='http://splat-library.org',
Expand All @@ -23,7 +23,7 @@
'splat.taggers',
'splat.tokenizers'
],
download_url='https://github.com/meyersbs/SPLAT/archive/v0.3.4.tar.gz',
download_url='https://github.com/meyersbs/SPLAT/archive/v0.3.5.tar.gz',
requires=['matplotlib', 'nltk', 'jsonpickle'],
classifiers=[
'Development Status :: 3 - Alpha',
Expand Down
4 changes: 2 additions & 2 deletions splat/SPLAT.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ def __init__(self, text, ngramminator=FullNGramminator(), postagger=NLTKPOSTagge
self.__types = Util.typify(self.__tokens)
self.__wordcount = Util.wordcount(self.__rawtokens)
self.__unique_wordcount = Util.wordcount(self.__types)
if type(ngramminator) == dict:
if type(ngramminator) is dict:
self.__ngramminator = FullNGramminator()
else:
self.__ngramminator = ngramminator
if type(postagger) == dict:
if type(postagger) is dict:
self.__postagger = NLTKPOSTagger()
else:
self.__postagger = postagger
Expand Down

0 comments on commit c1ffcaf

Please sign in to comment.