pwp-capstones's People
pwp-capstones's Issues
find_text_similarity throwing error
It seems your find_text_similarity function is throwing an error in your Jupyter Notebook. You may want to double check that
get_average_sentence_length function
The way you wrote the function seems fine, but another way to write it using just 1 for loop would be:
def get_average_sentence_length(text):
no_questions = text.replace('?', '.')
no_exclaim = no_questions.replace('!', '.')
sentences = no_exclaim.split('.')
sentence_lengths = []
for sentence in sentences:
words = sentence.split()
sentence_lengths.append(len(words))
average = sum(sentence_lengths) / len(sentence_lengths)
return average
Murder Mystery Project PWP
Criteria 1: Valid Python Code
- Score Level: 4/4
Criteria 2: Implementation of Project Requirements
-
Score Level: 4/4
-
Comment(s): Nice job implementing the requirements of the project!
Criteria 3: Software Architecture
-
Score Level: 4/4
-
Comment(s): Nice job separating your code in different functions and keeping it organized!
Criteria 4: Uses Python Language Features
-
Score Level: 4/4
-
Comment(s): Great use of python language features.
Criteria 5: Produces Accurate Output
-
Score Level: 3.5/4
-
Comment(s): Produces correct output. Find_text_similarity function seems to be throwing an error.
Overall Score: 19.5/20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.