2002-08-04 23:11:50 +00:00
|
|
|
/**
|
2001-07-13 11:50:39 +00:00
|
|
|
* \file ControlSpellchecker.C
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-08-04 23:11:50 +00:00
|
|
|
*
|
2002-10-21 17:38:09 +00:00
|
|
|
* \author Edwin Leuven
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-07-13 11:50:39 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2002-05-29 16:21:03 +00:00
|
|
|
#include "ControlSpellchecker.h"
|
2003-09-09 11:24:33 +00:00
|
|
|
|
2001-07-13 11:50:39 +00:00
|
|
|
#include "buffer.h"
|
2003-09-09 11:24:33 +00:00
|
|
|
#include "bufferparams.h"
|
2001-07-13 11:50:39 +00:00
|
|
|
#include "BufferView.h"
|
2004-02-13 07:30:59 +00:00
|
|
|
#include "cursor.h"
|
2004-03-25 09:16:36 +00:00
|
|
|
#include "CutAndPaste.h"
|
2003-09-09 11:24:33 +00:00
|
|
|
#include "debug.h"
|
2001-07-13 11:50:39 +00:00
|
|
|
#include "gettext.h"
|
|
|
|
#include "language.h"
|
2002-08-14 19:19:47 +00:00
|
|
|
#include "lyxrc.h"
|
2003-11-04 00:26:50 +00:00
|
|
|
#include "paragraph.h"
|
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
#if defined(USE_ASPELL)
|
2003-03-26 01:20:25 +00:00
|
|
|
# include "aspell_local.h"
|
2005-05-02 13:35:30 +00:00
|
|
|
#elif defined(USE_PSPELL)
|
|
|
|
# include "pspell.h"
|
2003-03-26 01:20:25 +00:00
|
|
|
#endif
|
2005-05-02 13:35:30 +00:00
|
|
|
|
|
|
|
#if defined(USE_ISPELL)
|
|
|
|
# include "ispell.h"
|
|
|
|
#else
|
|
|
|
# include "SpellBase.h"
|
2002-05-29 16:21:03 +00:00
|
|
|
#endif
|
2001-07-13 11:50:39 +00:00
|
|
|
|
2004-11-18 14:58:54 +00:00
|
|
|
#include "support/textutils.h"
|
2005-01-06 16:39:35 +00:00
|
|
|
#include "support/convert.h"
|
2006-09-11 08:54:10 +00:00
|
|
|
#include "support/docstring.h"
|
2003-05-13 14:36:24 +00:00
|
|
|
|
2002-11-21 18:33:09 +00:00
|
|
|
#include "frontends/Alert.h"
|
2007-01-05 13:31:34 +00:00
|
|
|
// FIXME: those two headers are needed because of the
|
|
|
|
// WorkArea::redraw() call below.
|
2007-01-05 14:38:53 +00:00
|
|
|
#include "frontends/LyXView.h"
|
2007-01-05 13:31:34 +00:00
|
|
|
#include "frontends/WorkArea.h"
|
2002-11-21 18:33:09 +00:00
|
|
|
|
2004-01-28 16:21:29 +00:00
|
|
|
using std::advance;
|
|
|
|
using std::distance;
|
2003-02-17 18:40:04 +00:00
|
|
|
using std::endl;
|
2003-10-06 15:43:21 +00:00
|
|
|
using std::string;
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2004-05-19 15:11:37 +00:00
|
|
|
namespace lyx {
|
|
|
|
|
|
|
|
using support::bformat;
|
2004-11-18 14:58:54 +00:00
|
|
|
using support::contains;
|
2004-05-19 15:11:37 +00:00
|
|
|
|
|
|
|
namespace frontend {
|
|
|
|
|
2003-05-13 09:48:57 +00:00
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
ControlSpellchecker::ControlSpellchecker(Dialog & parent)
|
2005-07-28 10:26:33 +00:00
|
|
|
: Dialog::Controller(parent), exitEarly_(false),
|
2003-11-04 00:26:50 +00:00
|
|
|
oldval_(0), newvalue_(0), count_(0)
|
2006-09-11 08:54:10 +00:00
|
|
|
{
|
|
|
|
}
|
2003-02-17 18:40:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
ControlSpellchecker::~ControlSpellchecker()
|
2002-06-18 15:44:30 +00:00
|
|
|
{}
|
2001-07-13 11:50:39 +00:00
|
|
|
|
|
|
|
|
2003-03-26 01:20:25 +00:00
|
|
|
namespace {
|
|
|
|
|
|
|
|
SpellBase * getSpeller(BufferParams const & bp)
|
|
|
|
{
|
|
|
|
string lang = (lyxrc.isp_use_alt_lang)
|
2006-04-05 23:56:29 +00:00
|
|
|
? lyxrc.isp_alt_lang
|
2003-03-26 01:20:25 +00:00
|
|
|
: bp.language->code();
|
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
#if defined(USE_ASPELL)
|
2003-03-26 01:20:25 +00:00
|
|
|
if (lyxrc.use_spell_lib)
|
|
|
|
return new ASpell(bp, lang);
|
2005-05-02 13:35:30 +00:00
|
|
|
#elif defined(USE_PSPELL)
|
2003-03-26 01:20:25 +00:00
|
|
|
if (lyxrc.use_spell_lib)
|
|
|
|
return new PSpell(bp, lang);
|
|
|
|
#endif
|
|
|
|
|
2005-05-02 13:35:30 +00:00
|
|
|
#if defined(USE_ISPELL)
|
2003-03-26 01:20:25 +00:00
|
|
|
lang = (lyxrc.isp_use_alt_lang) ?
|
|
|
|
lyxrc.isp_alt_lang : bp.language->lang();
|
|
|
|
|
|
|
|
return new ISpell(bp, lang);
|
2005-05-02 13:35:30 +00:00
|
|
|
#else
|
|
|
|
return new SpellBase;
|
|
|
|
#endif
|
2003-03-26 01:20:25 +00:00
|
|
|
}
|
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
} // namespace anon
|
2003-02-21 15:36:29 +00:00
|
|
|
|
2003-08-04 09:06:35 +00:00
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
bool ControlSpellchecker::initialiseParams(std::string const &)
|
2003-02-17 18:40:04 +00:00
|
|
|
{
|
2004-03-31 19:51:55 +00:00
|
|
|
lyxerr[Debug::GUI] << "Spellchecker::initialiseParams" << endl;
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
speller_.reset(getSpeller(kernel().buffer().params()));
|
2005-05-02 13:35:30 +00:00
|
|
|
if (!speller_.get())
|
|
|
|
return false;
|
2002-11-21 18:33:09 +00:00
|
|
|
|
2003-02-17 18:40:04 +00:00
|
|
|
// reset values to initial
|
|
|
|
oldval_ = 0;
|
|
|
|
newvalue_ = 0;
|
|
|
|
count_ = 0;
|
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
bool const success = speller_->error().empty();
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
if (!success) {
|
2006-09-11 08:54:10 +00:00
|
|
|
Alert::error(_("Spellchecker error"),
|
|
|
|
_("The spellchecker could not be started\n")
|
2005-09-08 09:20:16 +00:00
|
|
|
+ speller_->error());
|
2004-03-31 19:51:55 +00:00
|
|
|
speller_.reset(0);
|
|
|
|
}
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
return success;
|
2003-02-17 18:40:04 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
void ControlSpellchecker::clearParams()
|
2003-02-17 18:40:04 +00:00
|
|
|
{
|
2004-03-31 19:51:55 +00:00
|
|
|
lyxerr[Debug::GUI] << "Spellchecker::clearParams" << endl;
|
2003-02-17 18:40:04 +00:00
|
|
|
speller_.reset(0);
|
2001-07-13 11:50:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2003-11-04 00:26:50 +00:00
|
|
|
namespace {
|
|
|
|
|
2006-08-16 21:12:20 +00:00
|
|
|
bool isLetter(DocIterator const & dit)
|
2003-11-04 00:26:50 +00:00
|
|
|
{
|
2006-08-16 21:12:20 +00:00
|
|
|
return dit.inTexted()
|
|
|
|
&& dit.inset().allowSpellCheck()
|
|
|
|
&& dit.pos() != dit.lastpos()
|
|
|
|
&& (dit.paragraph().isLetter(dit.pos())
|
2004-11-18 14:58:54 +00:00
|
|
|
// We want to pass the ' and escape chars to ispell
|
2006-09-02 10:18:20 +00:00
|
|
|
|| contains(lyx::from_utf8(lyxrc.isp_esc_chars + '\''),
|
2006-08-16 21:12:20 +00:00
|
|
|
dit.paragraph().getChar(dit.pos())))
|
2006-10-19 12:49:11 +00:00
|
|
|
&& !dit.paragraph().isDeleted(dit.pos());
|
2003-11-04 00:26:50 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-08-16 21:12:20 +00:00
|
|
|
WordLangTuple nextWord(LCursor & cur, ptrdiff_t & progress)
|
2003-11-04 00:26:50 +00:00
|
|
|
{
|
2006-08-16 21:12:20 +00:00
|
|
|
BufferParams const & bp = cur.bv().buffer()->params();
|
2004-11-18 14:58:54 +00:00
|
|
|
bool inword = false;
|
|
|
|
bool ignoreword = false;
|
2006-08-16 21:12:20 +00:00
|
|
|
cur.resetAnchor();
|
2006-09-02 10:18:20 +00:00
|
|
|
docstring word;
|
|
|
|
string lang_code;
|
2004-11-18 14:58:54 +00:00
|
|
|
|
2005-02-08 13:18:05 +00:00
|
|
|
while (cur.depth()) {
|
2004-11-18 14:58:54 +00:00
|
|
|
if (isLetter(cur)) {
|
|
|
|
if (!inword) {
|
|
|
|
inword = true;
|
|
|
|
ignoreword = false;
|
2006-08-16 21:12:20 +00:00
|
|
|
cur.resetAnchor();
|
2004-11-18 14:58:54 +00:00
|
|
|
word.clear();
|
|
|
|
lang_code = cur.paragraph().getFontSettings(bp, cur.pos()).language()->code();
|
|
|
|
}
|
|
|
|
// Insets like optional hyphens and ligature
|
2004-11-26 14:52:54 +00:00
|
|
|
// break are part of a word.
|
2004-11-18 14:58:54 +00:00
|
|
|
if (!cur.paragraph().isInset(cur.pos())) {
|
2004-11-26 14:52:54 +00:00
|
|
|
Paragraph::value_type const c =
|
2004-11-18 14:58:54 +00:00
|
|
|
cur.paragraph().getChar(cur.pos());
|
|
|
|
word += c;
|
2006-04-08 09:09:57 +00:00
|
|
|
if (isDigit(c))
|
2004-11-18 14:58:54 +00:00
|
|
|
ignoreword = true;
|
2004-11-26 14:52:54 +00:00
|
|
|
}
|
2004-11-18 14:58:54 +00:00
|
|
|
} else { // !isLetter(cur)
|
2004-11-26 14:52:54 +00:00
|
|
|
if (inword)
|
2006-08-16 21:12:20 +00:00
|
|
|
if (!word.empty() && !ignoreword) {
|
|
|
|
cur.setSelection();
|
2006-12-08 19:46:16 +00:00
|
|
|
return WordLangTuple(word, lang_code);
|
2006-08-16 21:12:20 +00:00
|
|
|
} else
|
2004-11-18 14:58:54 +00:00
|
|
|
inword = false;
|
|
|
|
}
|
2004-11-26 14:52:54 +00:00
|
|
|
|
2004-11-18 14:58:54 +00:00
|
|
|
cur.forwardPos();
|
2004-03-25 09:16:36 +00:00
|
|
|
++progress;
|
2003-11-04 10:30:36 +00:00
|
|
|
}
|
2003-11-04 00:26:50 +00:00
|
|
|
|
2006-12-08 19:46:16 +00:00
|
|
|
return WordLangTuple(docstring(), string());
|
2003-11-04 00:26:50 +00:00
|
|
|
}
|
|
|
|
|
2004-03-25 09:16:36 +00:00
|
|
|
} // namespace anon
|
2003-11-04 00:26:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
2001-07-13 11:50:39 +00:00
|
|
|
void ControlSpellchecker::check()
|
|
|
|
{
|
2005-09-08 09:20:16 +00:00
|
|
|
lyxerr[Debug::GUI] << "Check the spelling of a word" << endl;
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2002-08-04 23:11:50 +00:00
|
|
|
SpellBase::Result res = SpellBase::OK;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2006-08-16 21:12:20 +00:00
|
|
|
LCursor cur = kernel().bufferview()->cursor();
|
2005-10-05 12:00:03 +00:00
|
|
|
while (cur && cur.pos() && isLetter(cur)) {
|
|
|
|
cur.backwardPos();
|
|
|
|
}
|
2003-11-04 00:26:50 +00:00
|
|
|
|
2004-03-25 09:16:36 +00:00
|
|
|
ptrdiff_t start = 0, total = 0;
|
2004-03-31 19:51:55 +00:00
|
|
|
DocIterator it = DocIterator(kernel().buffer().inset());
|
2004-03-25 09:16:36 +00:00
|
|
|
for (start = 0; it != cur; it.forwardPos())
|
2004-04-03 08:37:12 +00:00
|
|
|
++start;
|
2003-11-04 00:26:50 +00:00
|
|
|
|
2004-03-31 17:58:11 +00:00
|
|
|
for (total = start; it; it.forwardPos())
|
2004-04-03 08:37:12 +00:00
|
|
|
++total;
|
2004-03-25 09:16:36 +00:00
|
|
|
|
2005-07-28 10:26:33 +00:00
|
|
|
exitEarly_ = false;
|
2004-03-31 19:51:55 +00:00
|
|
|
|
2005-01-20 16:17:37 +00:00
|
|
|
while (res == SpellBase::OK || res == SpellBase::IGNORED_WORD) {
|
2006-08-16 21:12:20 +00:00
|
|
|
word_ = nextWord(cur, start);
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2003-02-17 18:40:04 +00:00
|
|
|
// end of document
|
2004-11-22 14:56:14 +00:00
|
|
|
if (getWord().empty()) {
|
|
|
|
showSummary();
|
2005-07-28 10:26:33 +00:00
|
|
|
exitEarly_ = true;
|
2004-11-22 14:56:14 +00:00
|
|
|
return;
|
|
|
|
}
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2001-07-13 11:50:39 +00:00
|
|
|
++count_;
|
2001-07-17 09:00:17 +00:00
|
|
|
|
2001-07-13 11:50:39 +00:00
|
|
|
// Update slider if and only if value has changed
|
2003-11-04 00:26:50 +00:00
|
|
|
float progress = total ? float(start)/total : 1;
|
|
|
|
newvalue_ = int(100.0 * progress);
|
2001-07-13 11:50:39 +00:00
|
|
|
if (newvalue_!= oldval_) {
|
2003-02-17 18:40:04 +00:00
|
|
|
lyxerr[Debug::GUI] << "Updating spell progress." << endl;
|
2001-07-13 11:50:39 +00:00
|
|
|
oldval_ = newvalue_;
|
|
|
|
// set progress bar
|
2004-03-31 19:51:55 +00:00
|
|
|
dialog().view().partialUpdate(SPELL_PROGRESSED);
|
2001-07-13 11:50:39 +00:00
|
|
|
}
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2003-02-17 18:40:04 +00:00
|
|
|
// speller might be dead ...
|
|
|
|
if (!checkAlive())
|
2002-08-06 22:38:44 +00:00
|
|
|
return;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2002-08-04 23:11:50 +00:00
|
|
|
res = speller_->check(word_);
|
2003-02-17 18:40:04 +00:00
|
|
|
|
|
|
|
// ... or it might just be reporting an error
|
|
|
|
if (!checkAlive())
|
|
|
|
return;
|
2001-07-13 11:50:39 +00:00
|
|
|
}
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2006-12-08 19:46:16 +00:00
|
|
|
lyxerr[Debug::GUI] << "Found word \"" << to_utf8(getWord()) << "\"" << endl;
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2006-08-16 21:12:20 +00:00
|
|
|
int const size = cur.selEnd().pos() - cur.selBegin().pos();
|
2004-09-17 16:28:47 +00:00
|
|
|
cur.pos() -= size;
|
|
|
|
kernel().bufferview()->putSelectionAt(cur, size, false);
|
2004-11-22 14:56:14 +00:00
|
|
|
// if we used a lfun like in find/replace, dispatch would do
|
|
|
|
// that for us
|
|
|
|
kernel().bufferview()->update();
|
2007-01-05 13:31:34 +00:00
|
|
|
// FIXME: this Controller is very badly designed...
|
|
|
|
kernel().lyxview().currentWorkArea()->redraw();
|
2004-02-13 07:30:59 +00:00
|
|
|
|
2001-07-13 11:50:39 +00:00
|
|
|
// set suggestions
|
2005-01-20 16:17:37 +00:00
|
|
|
if (res != SpellBase::OK && res != SpellBase::IGNORED_WORD) {
|
2003-02-17 18:40:04 +00:00
|
|
|
lyxerr[Debug::GUI] << "Found a word needing checking." << endl;
|
2004-03-31 19:51:55 +00:00
|
|
|
dialog().view().partialUpdate(SPELL_FOUND_WORD);
|
2003-02-17 18:40:04 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool ControlSpellchecker::checkAlive()
|
|
|
|
{
|
|
|
|
if (speller_->alive() && speller_->error().empty())
|
|
|
|
return true;
|
|
|
|
|
2006-09-11 08:54:10 +00:00
|
|
|
docstring message;
|
2005-08-04 12:51:43 +00:00
|
|
|
if (speller_->error().empty())
|
2006-09-11 08:54:10 +00:00
|
|
|
message = _("The spellchecker has died for some reason.\n"
|
|
|
|
"Maybe it has been killed.");
|
2005-08-04 12:51:43 +00:00
|
|
|
else
|
2006-09-11 08:54:10 +00:00
|
|
|
message = _("The spellchecker has failed.\n") + speller_->error();
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
dialog().CancelButton();
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2006-09-11 08:54:10 +00:00
|
|
|
Alert::error(_("The spellchecker has failed"), message);
|
2003-02-17 18:40:04 +00:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ControlSpellchecker::showSummary()
|
|
|
|
{
|
|
|
|
if (!checkAlive() || count_ == 0) {
|
2004-03-31 19:51:55 +00:00
|
|
|
dialog().CancelButton();
|
2003-02-17 18:40:04 +00:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2006-09-11 08:54:10 +00:00
|
|
|
docstring message;
|
2003-05-13 09:48:57 +00:00
|
|
|
if (count_ != 1)
|
2006-09-11 08:54:10 +00:00
|
|
|
message = bformat(_("%1$d words checked."), count_);
|
2003-05-13 09:48:57 +00:00
|
|
|
else
|
2006-09-11 08:54:10 +00:00
|
|
|
message = _("One word checked.");
|
2003-02-17 18:40:04 +00:00
|
|
|
|
2004-03-31 19:51:55 +00:00
|
|
|
dialog().CancelButton();
|
2006-09-11 08:54:10 +00:00
|
|
|
Alert::information(_("Spelling check completed"), message);
|
2001-07-13 11:50:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-08 19:46:16 +00:00
|
|
|
void ControlSpellchecker::replace(docstring const & replacement)
|
2001-07-13 11:50:39 +00:00
|
|
|
{
|
2006-06-28 14:22:31 +00:00
|
|
|
lyxerr[Debug::GUI] << "ControlSpellchecker::replace("
|
2006-12-08 19:46:16 +00:00
|
|
|
<< to_utf8(replacement) << ")" << std::endl;
|
2004-03-31 19:51:55 +00:00
|
|
|
BufferView & bufferview = *kernel().bufferview();
|
2006-08-16 21:12:20 +00:00
|
|
|
cap::replaceSelectionWithString(bufferview.cursor(), replacement, true);
|
2004-03-31 19:51:55 +00:00
|
|
|
kernel().buffer().markDirty();
|
2006-10-22 11:46:36 +00:00
|
|
|
// If we used an LFUN, we would not need that
|
2004-03-31 19:51:55 +00:00
|
|
|
bufferview.update();
|
2002-08-06 22:38:44 +00:00
|
|
|
// fix up the count
|
2002-10-21 17:38:09 +00:00
|
|
|
--count_;
|
2001-07-13 11:50:39 +00:00
|
|
|
check();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-08 19:46:16 +00:00
|
|
|
void ControlSpellchecker::replaceAll(docstring const & replacement)
|
2001-07-13 11:50:39 +00:00
|
|
|
{
|
|
|
|
// TODO: add to list
|
|
|
|
replace(replacement);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ControlSpellchecker::insert()
|
|
|
|
{
|
|
|
|
speller_->insert(word_);
|
2001-08-07 15:07:36 +00:00
|
|
|
check();
|
2001-07-13 11:50:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-08 19:46:16 +00:00
|
|
|
docstring const ControlSpellchecker::getSuggestion() const
|
2001-07-13 11:50:39 +00:00
|
|
|
{
|
2003-01-15 14:23:21 +00:00
|
|
|
return speller_->nextMiss();
|
2001-07-13 11:50:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2006-12-08 19:46:16 +00:00
|
|
|
docstring const ControlSpellchecker::getWord() const
|
2001-07-13 11:50:39 +00:00
|
|
|
{
|
2003-01-15 14:23:21 +00:00
|
|
|
return word_.word();
|
2001-07-13 11:50:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void ControlSpellchecker::ignoreAll()
|
|
|
|
{
|
|
|
|
speller_->accept(word_);
|
|
|
|
check();
|
|
|
|
}
|
2004-05-19 15:11:37 +00:00
|
|
|
|
|
|
|
} // namespace frontend
|
|
|
|
} // namespace lyx
|