The ‘entry point’ cursor we will use is the cursor representing the Translation Unit (TU), which is a C++ term meaning a single file including all #included code. To get the TU’s cursor we will use the very descriptive clang_getTranslationUnitCursor(). Now that we have a cursor we...
The other formats, like "sdf" and "pdb", are only record-oriented and don't have the same dual meaning as SMILES and InChI. Compressed formats A longer term chemfp idea is to extend the binary format to store record data. My current experiments use SQLite for the records and FPB files ...
Since we will be parsing aquery stringwe may want to throw an error if the input is not a string. We'll test for that with anasynchronoustest, meaning that the test case will not be fulfilled untildone()is called. Notice thedoneinfunction(done). Put this test below the firstit. ...
Humans get the meaning fast, because they have a very good idea of what the nouns in this sentence -- Bob, street, car -- can and cannot do, but machines haven't had the advantage of experiencing the world in quite the same way as humans. SyntaxNet solves this by figuring out the...