summary refs log tree commit diff stats
path: root/lib/adverb_query.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added rhymes_with predicate based on rhymes rather than wordsKelly Rauchenberger2016-05-161-0/+7
|
* Fixed perfect rhymingKelly Rauchenberger2016-04-171-6/+62
| | | | | | 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-151-55/+48
| | | | | | 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 prefix/suffix search, and word complexity search for nouns, ↵Kelly Rauchenberger2016-03-271-0/+119
| | | | | | adjectives, and adverbs Word complexity refers to the number of words in a noun, adjective, or adverb.
* Added verb framesKelly Rauchenberger2016-03-241-0/+514
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.