Skip to content

Commit

Permalink
Minor code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ansengarvin committed Mar 17, 2022
1 parent d211ed3 commit d76f24f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
7 changes: 4 additions & 3 deletions getnames.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Word Class
"""
# Name: Ansen D. Garvin
# OSU Email: garvina@oregonstate.edu
# Patch: 1.0.0
# Description: A name generation microservice. It selects a few consonants / vowels to create a requested number of names, and returns the list of names.
import random
import copy
from words import Word
Expand Down
6 changes: 3 additions & 3 deletions syllables.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Syllable class definition file for a language generation program.
"""
# Name: Ansen D. Garvin
# OSU Email: garvina@oregonstate.edu
# Description: Implementation for a Language class.
import random


Expand Down
7 changes: 4 additions & 3 deletions words.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Word Class
"""
# Name: Ansen D. Garvin
# OSU Email: garvina@oregonstate.edu
# Description: Implementation for a Word class.
# Inheretence will probably come in handy for when I add varying parts of speech.
import random
from syllables import Syllable

Expand Down

0 comments on commit d76f24f

Please sign in to comment.