InstallationΒΆ
pip install seacorenlp
If you wish to make use of Stanza models, ensure that you also install the relevant models
after installation of our seacorenlp
package.
import stanza
stanza.download('id') # Download Indonesian models
stanza.download('vi') # Download Vietnamese models
Furthermore, due to some conflicts in dependencies, we have decided to use a version of
underthesea
that is not the latest release. Because of that, the Vietnamese
dependency parsing feature of underthesea
will not be available. You may use our
dependency parser model for Vietnamese or if you still wish to use that of underthesea
,
please manually upgrade the underthesea
package to the latest release.