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
Is your feature request related to a problem? Please describe.
In order to set the document language, I have to search and retrieve the document annotation from the CAS and then set the language feature. If there is no document annotation yet, I have to create one.
Describe the solution you'd like
In the UIMA Java SDK, there is a convenience method for setting the document language which automatically creates a document annotation if there is none yet. Would be nice if cassis also had that.
cas.document_language = "en" # following the `CAS.setDocumentLanguage(...)` from the Java SDK - or -
cas.language = "en" # following the feature name
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
In order to set the document language, I have to search and retrieve the document annotation from the CAS and then set the language feature. If there is no document annotation yet, I have to create one.
Describe the solution you'd like
In the UIMA Java SDK, there is a convenience method for setting the document language which automatically creates a document annotation if there is none yet. Would be nice if cassis also had that.
The text was updated successfully, but these errors were encountered: