mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-29 12:02:39 +02:00
fix a typo
This commit is contained in:
parent
220d6ef7dc
commit
46ce0cc9e1
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ Let's try something similar, but from python
|
||||||
jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.class.path=%s" % classpath)
|
jpype.startJVM(jpype.getDefaultJVMPath(), "-Djava.class.path=%s" % classpath)
|
||||||
|
|
||||||
# get the Java classes we want to use
|
# get the Java classes we want to use
|
||||||
DefaultExtractor = JPype.JPackage("de").l3s.boilerpipe.extractors.DefaultExtractor
|
DefaultExtractor = jpype.JPackage("de").l3s.boilerpipe.extractors.DefaultExtractor
|
||||||
|
|
||||||
# call them !
|
# call them !
|
||||||
print DefaultExtractor.INSTANCE.getText(jpype.java.net.URL("http://blog.notmyidea.org"))
|
print DefaultExtractor.INSTANCE.getText(jpype.java.net.URL("http://blog.notmyidea.org"))
|
||||||
|
|
Loading…
Reference in a new issue