Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Option to specify number of sentences to be generated #4

Open
tasdikrahman opened this issue May 7, 2017 · 0 comments
Open

Option to specify number of sentences to be generated #4

tasdikrahman opened this issue May 7, 2017 · 0 comments

Comments

@tasdikrahman
Copy link
Owner

  • markovipy version: 0.2.0
  • Python version: 3.6.1
  • Operating System: Sierra

Description

As of now, the API looks something like this

>>> from markovipy.markovipy import MarkoviPy
>>>
>>> obj = MarkoviPy("/Users/tasrahma/development/projects/markovipy/corpus/shakespeare/hamlet_utf8.txt", 3)
>>> obj.generate_sentence()

We can add an option to generate the number of sentences in the method generate_sentence()

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant