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

as.speeches method - speakerFlatList not found #50

Closed
simongehlhar opened this issue Nov 19, 2018 · 4 comments
Closed

as.speeches method - speakerFlatList not found #50

simongehlhar opened this issue Nov 19, 2018 · 4 comments

Comments

@simongehlhar
Copy link

Method returns error "speakerFlatList" not found and aborts. Only occurs in newer Versions. CRAN-Release works fine...

@PolMine
Copy link
Collaborator

PolMine commented Nov 19, 2018

Can you please include a full reproducible example?

@simongehlhar
Copy link
Author

[1] polmineR_0.7.10.9006

corpus <- "GERMAPARLMINI"
k <- 100
language <- "de"

speeches <- as.speeches(.Object = corpus, s_attribute_date = "date", s_attribute_name = "speaker")

... generating partitions by date
... getting matrix with regions for s-attribute: date
... generating the partitions
... generating speeches
|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed = 01s
... generating names

some 25+ error like below follow:

no non-missing arguments to min; returning Infno non-missing arguments to max; returning -Infno non-missing arguments to min;

but the main error seems to be this:

returning -InfError in as.speeches(.Object = corpus, s_attribute_date = "date", s_attribute_name = "speaker") :
object 'speakerFlatList' not found

I switched from dev to master branch but the problem still exists. Like I said before: the cran release works just fine.

@simongehlhar
Copy link
Author

Never mind. Updated cwbtools and RccpCWB and now it works like a charm!

@PolMine
Copy link
Collaborator

PolMine commented Dec 5, 2018

Dear Simon,
thanks for reporting the issue. Admittedly, I do not know why updating RcppCWB and cwbtools solved the issue. Moving away from lowerCamelCase, 'speakerFlatList' should be 'speaker_list'. So this is corrected in the new development version.
Andreas

@PolMine PolMine closed this as completed Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant