You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I am not mistaken, recent changes of polmineR should make it possible - or at least more robust - to split a corpus or subcorpus based on structural attributes without values. This might be relevant when the goal is to split a corpus into individual sentences: In some corpora, such as GermaParl2, sentences are annotated as structural attributes but they do not have values.
polmineR indicates if there are no values when querying an attribute like that:
s_attributes("GERMAPARL2", "s")
# ! s-attribute `s` does not have values, returning NA
I noticed something interesting. With the most recent development version of polmineR, it is possible to split a corpus into sentences:
If I am not mistaken, recent changes of
polmineR
should make it possible - or at least more robust - to split a corpus or subcorpus based on structural attributes without values. This might be relevant when the goal is to split a corpus into individual sentences: In some corpora, such as GermaParl2, sentences are annotated as structural attributes but they do not have values.polmineR
indicates if there are no values when querying an attribute like that:I noticed something interesting. With the most recent development version of
polmineR
, it is possible to split a corpus into sentences:This does not seem to work for corpora:
This returns a subcorpus bundle with the length of 1 and the size of the returned object is identical to the size of the entire corpus.
This is at least somewhat unexpected.
The text was updated successfully, but these errors were encountered: