summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fixed behavior of normalizing grouped hierarchal joinsKelly Rauchenberger2017-01-242-57/+82
| | | | | | | | Previously, we did not merge grouped hierarchal joins; however, because of the way statements are compiled, we do need to merge OR-d positive hierarchal joins, and ANDed negative hierarchal joins. Also made some whitespace changes.
* Fixed notion::prepositionGroup fieldKelly Rauchenberger2017-01-231-13/+13
|
* Added ability to filter on existence of inflectionKelly Rauchenberger2017-01-234-3/+17
|
* Added form::startsWithVowelSound convenience methodKelly Rauchenberger2017-01-232-51/+77
|
* Rewrote tokensKelly Rauchenberger2017-01-233-649/+404
|
* Added verb frame parsingKelly Rauchenberger2017-01-238-259/+642
|
* Added filter compactingKelly Rauchenberger2017-01-233-42/+76
| | | | | Before statement compilation, empty filters are removed from group filters, and childless group filters become empty filters.
* Fixed normalization of negative join filtersKelly Rauchenberger2017-01-231-183/+192
| | | | | | | | | | | | Previously, negative join filters were folded in with positive joins by AND/ORing them together and negating the negative joins. Checking for the existence of something that doesn't match a condition is different from checking for the non-existence of something that does match a condition, so now normalization considers positive and negative join filters to be distinct classes of filters and does not fold them together. Also made some whitespace changes.
* Fixed nullity/non-nullity filters on join fieldsKelly Rauchenberger2017-01-231-2/+12
|
* Fixed statement generation involving negative subqueriesKelly Rauchenberger2017-01-212-57/+234
| | | | | | | | | | Previously, we generated negative subqueries by integrating them into the main statement normally, and then making the connecting join be a LEFT JOIN instead of an INNER JOIN, and by adding a condition that the join column be NULL. The problem with this is that if the top table of the subquery joins against any other table (which join throughs always do), then no rows will be returned. This was solved by putting the subquery into a CTE and then LEFT JOINing as before with the CTE.
* Fixed statement generation involving nullity/non-nullityKelly Rauchenberger2017-01-211-1/+20
|
* Moved some generator classes into the main namespaceKelly Rauchenberger2017-01-213-0/+459
|
* Started structural rewriteKelly Rauchenberger2017-01-1648-6445/+4950
| | | | | | | | | | | | | | | | | | | | The new object structure was designed to build on the existing WordNet structure, while also adding in all of the data that we get from other sources. More information about this can be found on the project wiki. The generator has already been completely rewritten to generate a datafile that uses the new structure. In addition, a number of indexes are created, which does double the size of the datafile, but also allows for much faster lookups. Finally, the new generator is written modularly and is a lot more readable than the old one. The verbly interface to the new object structure has mostly been completed, but has not been tested fully. There is a completely new search API which utilizes a lot of operator overloading; documentation on how to use it should go up at some point. Token processing and verb frames are currently unimplemented. Source for these have been left in the repository for now.
* Added pronunciation syllable count and stress structureKelly Rauchenberger2016-05-308-0/+284
| | | | Also updated CMakeLists.txt such that including projects don't have to include sqlite3.
* Added debug print method for token typeKelly Rauchenberger2016-05-162-0/+17
|
* Fixed token extra functionality in copyingKelly Rauchenberger2016-05-161-0/+2
|
* Added rhymes_with predicate based on rhymes rather than wordsKelly Rauchenberger2016-05-168-0/+32
|
* Implemented some accidentally unimplemented adjective_query predicatesKelly Rauchenberger2016-05-101-0/+21
|
* Merge branch 'master' of https://github.com/hatkirby/verblyKelly Rauchenberger2016-05-0216-331/+813
|\
| * Fixed perfect rhymingKelly Rauchenberger2016-04-1713-53/+328
| | | | | | | | | | | | Rhyme detection now ensures that any rhymes it finds are perfect rhymes and not identical rhymes. Rhyme detection is also now a lot faster because additional information is stored in the datafile. Also fixed a bug in the query interface (and the generator) that could cause incorrect queries to be executed.
| * Added support for ImageNet and fixed bug with query interfaceKelly Rauchenberger2016-04-1511-296/+503
| | | | | | | | | | | | Datafile change: nouns now know how many images are associated with them on ImageNet, and also have their WordNet synset ID saved so that you can query for images of that noun via the ImageNet API. So far, verbly only exposes the ImageNet API URL, and doesn't actually interact with it itself. This may be changed in the future. The query interface had a huge issue in which multiple instances of the same condition would overwrite each other. This has been fixed.
* | Added "requires plural form" noun query predicateKelly Rauchenberger2016-05-022-0/+16
|/
* Added prefix/suffix search, and word complexity search for nouns, ↵Kelly Rauchenberger2016-03-278-0/+433
| | | | | | adjectives, and adverbs Word complexity refers to the number of words in a noun, adjective, or adverb.
* Fixed bug with filtersKelly Rauchenberger2016-03-261-2/+4
|
* Added full hierarchy search for meronymyKelly Rauchenberger2016-03-262-1/+313
|
* Added verb framesKelly Rauchenberger2016-03-2431-2827/+5241
| | | | | | | | | | In addition: - Added prepositions. - Rewrote a lot of the query interface. It now, for a lot of relationships, supports nested AND, OR, and NOT logic. - Rewrote the token class. It is now a union-like class instead of being polymorphic, which means smart pointers are no longer necessary. - Querying with regards to word derivation has been temporarily removed. - Sentinel values are now supported for all word types. - The VerbNet data retrieved from http://verbs.colorado.edu/~mpalmer/projects/verbnet/downloads.html was found to not be perfectly satisfactory in some regards, especially regarding adjective phrases. A patch file is now included in the repository describing the changes made to the VerbNet v3.2 download for the canonical verbly datafile.
* Added fallback to vowel sound detection when no entry exists in CMUDICTKelly Rauchenberger2016-03-201-3/+11
|
* Nouns with any uppercase letters are now considered properKelly Rauchenberger2016-03-192-2/+18
|
* Added vowel sound identificationKelly Rauchenberger2016-03-192-0/+9
|
* Renamed some class members that shared names with classesKelly Rauchenberger2016-03-172-5/+6
|
* Added word derivational relationships (kind of eh at the moment) and moved ↵Kelly Rauchenberger2016-03-1617-0/+3511
verbly into its own directory