Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_cluster() arguments #23

Closed
GoogleCodeExporter opened this issue Mar 18, 2015 · 2 comments
Closed

get_cluster() arguments #23

GoogleCodeExporter opened this issue Mar 18, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Hi,
I am using windows 7. I followed your library through but when I reached the # 
print the clusters (one for every speaker) and relative speakers' names; I get 
the following error and can’t figure out which two arguments. Any advice?
for c in v.get_cluster():
    cluster = v.get_cluster(c)
    print cluster
    cluster.print_segments()
    print

Traceback (most recent call last):
  File "<pyshell#24>", line 1, in <module>
    for c in v.get_cluster():
TypeError: get_cluster() takes exactly 2 arguments (1 given)



Original issue reported on code.google.com by kaggsmag...@gmail.com on 26 Jan 2014 at 1:26

@GoogleCodeExporter
Copy link
Author

hìHi,
you miss a "s" in the for statement.
This should work

for c in v.get_clusters():
        cluster = v.get_cluster(c)
        print cluster
        cluster.print_segments()
        print

Original comment by maurome...@gmail.com on 26 Jan 2014 at 2:26

@GoogleCodeExporter
Copy link
Author

Original comment by maurome...@gmail.com on 15 Feb 2014 at 4:23

  • Changed state: Done

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

No branches or pull requests

1 participant