Hey Mark,
The particularities of Visual Basic aside, this is a really general
problem in programming -- you've got to get two pieces to communicate,
but you can't easily have them call each other or share data
structures.
Some things you could try:
- have the Python/NLTK part write its output to a file, then read that
file in on the VB side. (you could try json or yaml or XML or whatever
is easy for you to read from your VB program)
- RPC -- use XMLRPC or GRPC or similar, and have the Python side act
as a server, so the VB can make requests of it.
Sorry for the delay in responding! Maybe you already figured something out :)
> --
> You received this message because you are subscribed to the Google Groups
> "nltk-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nltk-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.
--
-- alexr