Skip to content

Conversation

@carolinlawrence
Copy link

For cases in which new sentences are obtained in an online fashion and a grammar for a sentences needs to be extracted quickly on the fly. To this end I split the code from extract.cc into two parts. The first function loads the files specified in the compile_config_file and keeps it in RAM, the second is executed every time a new sentence is received and extracts the grammar just like extract.cc does. The script, extract_daemon, is formulated as a daemon and can be communicated with via the nanomsg library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant