summary refs log tree commit diff stats
path: root/lib/token.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added more casing options to tokensKelly Rauchenberger2017-02-241-18/+64
|
* Added transform tokensKelly Rauchenberger2017-02-161-4/+208
|
* Made pronunciation::rhymes join dynamicKelly Rauchenberger2017-02-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | This involved adding a new type of filter; one that compares (currently only equality and inequality) a field with another field located in an enclosing join context. In the process, it was discovered that simplifying the lemma::forms join field earlier actually made some queries return inaccurate results because the inflection of the form was being ignored and anything in the lemma would be used because of the inner join. Because the existing condition join did not allow for the condition field to be on the from side of the join, two things were done: a condition version of joinThrough was made, and lemma was finally eliminated as a top-level object, replaced instead with a condition join between word and form through lemmas_forms. Queries are also now grouped by the first select field (assumed to be the primary ID) of the top table, in order to eliminate duplicates created by inner joins, so that there is a uniform distribution between results for random queries. Created a database index on pronunciations(rhyme) which decreases query time for rhyming filters. The new database version is backwards-compatible because no data or structure changed.
* Added some missing includesKelly Rauchenberger2017-02-051-0/+1
|
* Rewrote tokensKelly Rauchenberger2017-01-231-504/+309
|
* Added debug print method for token typeKelly Rauchenberger2016-05-161-0/+15
|
* Fixed token extra functionality in copyingKelly Rauchenberger2016-05-161-0/+2
|
* Added verb framesKelly Rauchenberger2016-03-241-21/+596
| | | | | | | | | | 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.
* Renamed some class members that shared names with classesKelly Rauchenberger2016-03-171-2/+2
|
* Added word derivational relationships (kind of eh at the moment) and moved ↵Kelly Rauchenberger2016-03-161-0/+53
verbly into its own directory