Nuspell
spellchecker
Public Member Functions | List of all members
nuspell::Word_List Class Reference

Map between words and word_flags. More...

#include <aff_data.hxx>

Inheritance diagram for nuspell::Word_List:
[legend]
Collaboration diagram for nuspell::Word_List:
[legend]

Public Member Functions

auto equal_range (const std::wstring &word) const -> std::pair< Word_List_Base::local_const_iterator, Word_List_Base::local_const_iterator >
 
- Public Member Functions inherited from nuspell::Hash_Multiset< Value, Key, KeyExtract, Hash, KeyEqual >
auto size () const
 
auto empty () const
 
auto rehash (size_t count)
 
auto reserve (size_t count) -> void
 
auto insert (const_reference value)
 
template<class... Args>
auto emplace (Args &&... a)
 
auto equal_range_nonconst_unsafe (const key_type &key) -> std::pair< local_iterator, local_iterator >
 
auto equal_range (const key_type &key) const -> std::pair< local_const_iterator, local_const_iterator >
 

Additional Inherited Members

- Public Types inherited from nuspell::Hash_Multiset< Value, Key, KeyExtract, Hash, KeyEqual >
using key_type = Key
 
using value_type = Value
 
using size_type = std::size_t
 
using difference_type = std::ptrdiff_t
 
using hasher = Hash
 
using reference = value_type &
 
using const_reference = const value_type &
 
using pointer = typename bucket_type::pointer
 
using const_pointer = typename bucket_type::const_pointer
 
using local_iterator = typename bucket_type::iterator
 
using local_const_iterator = typename bucket_type::const_iterator
 

Detailed Description

Map between words and word_flags.

Flags are stored as part of the container. Maybe for the future flags should be stored elsewhere (flag aliases) and this should store pointers.

Does not store morphological data as is low priority feature and is out of scope.


The documentation for this class was generated from the following files: