/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/condition/ |
H A D | TriggerExactlyInListCondition.java | 22 import games.stendhal.common.parser.Sentence; 37 private final List<Sentence> triggers = new LinkedList<Sentence>(); 58 final Sentence expected = ConversationParser.parse(trigger, matcher); in TriggerExactlyInListCondition() 64 public boolean fire(final Player player, final Sentence sentence, final Entity entity) { in fire() 68 final Sentence answer = ConversationParser.parse(sentence.getOriginalText(), CONVERSION_CONTEXT); in fire() 69 for (Sentence trigger : triggers) { in fire()
|
/dports/textproc/apertium/apertium-3.6.1/apertium/ |
H A D | sentence_stream.h | 14 typedef std::vector<StreamedType> Sentence; typedef 16 typedef std::pair<TaggedSentence, Sentence> TrainingSentence; 26 virtual TaggedSentence tagSentence(const Sentence &untagged) = 0; 34 std::wostream &out, TaggedSentence &tagged_sent, Sentence &full_sent, 36 mutable Sentence full_sent; 37 mutable Sentence lexical_sent;
|
/dports/databases/gigabase/gigabase/ |
H A D | JniTestRelations.java | 11 class Sentence { class 30 Sentence s = new Sentence(); in main() 48 Cursor sentences = db.select(Sentence.class, "exists i:(words[i].text='" + i + "')", 0); in main() 52 Sentence s = (Sentence)sentences.nextElement(); in main()
|
/dports/databases/fastdb/fastdb/examples/ |
H A D | JniTestRelations.java | 11 class Sentence { class 30 Sentence s = new Sentence(); in main() 48 Cursor sentences = db.select(Sentence.class, "exists i:(words[i].text='" + i + "')", 0); in main() 52 Sentence s = (Sentence)sentences.nextElement(); in main()
|
/dports/misc/hs-hascard/hascard-0.3.0.1/src/ |
H A D | Types.hs | 46 data Sentence = Perforated String (NonEmpty String) Sentence type 49 instance Show Sentence where 52 data Perforated = P String (NonEmpty String) Sentence 82 nGapsInSentence :: Sentence -> Int 88 foldSentence :: (String -> a) -> (String -> NonEmpty String -> a -> a) -> Sentence -> a 93 …tenceIndex :: (String -> Int -> a) -> (String -> NonEmpty String -> a -> Int -> a) -> Sentence -> a 98 perforatedToSentence :: Perforated -> Sentence 104 sentenceToGaps :: Sentence -> [NonEmpty String]
|
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/sat-solver/ |
H A D | util.hpp | 11 const char* word(Sentence sent, int w); 13 void sat_free_linkages(Sentence, LinkageIdx); 14 void sat_free_linkages(Sentence); 16 void add_anded_exp(Sentence, Exp*&, Exp*);
|
/dports/lang/ruby26/ruby-2.6.9/test/ruby/ |
H A D | sentence.rb | 86 def Sentence(*ary) method 87 Sentence.new(ary) 92 class Sentence class 159 e.respond_to?(:to_ary) ? Sentence.new(e) : e 226 Sentence.new(subst_rec(@sent, target, &b)) 257 s = Sentence.new(obj) 288 Sentence.new(expand_rec(@sent, &b)) 295 s = Sentence.new(o) 346 def Sentence.each(syntax, sym, limit) 348 yield Sentence.new(tree) [all …]
|
/dports/devel/rapidfuzz-cpp/rapidfuzz-cpp-47df6f7/rapidfuzz/ |
H A D | utils_impl.hpp | 15 template <typename Sentence, typename CharT, typename> 16 std::basic_string<CharT> utils::default_process(Sentence&& s) in default_process() 43 std::basic_string<CharT> str(std::forward<Sentence>(s)); in default_process() 73 template <typename Sentence, typename CharT, typename> 74 std::basic_string<CharT> utils::default_process(Sentence s) in default_process()
|
/dports/devel/py-rapidfuzz/rapidfuzz-1.8.0/src/rapidfuzz-cpp/rapidfuzz/ |
H A D | utils_impl.hpp | 80 template <typename Sentence, typename CharT, typename> 81 std::basic_string<CharT> utils::default_process(Sentence&& s) in default_process() 83 std::basic_string<CharT> str(std::forward<Sentence>(s)); in default_process() 90 template <typename Sentence, typename CharT, typename> 91 std::basic_string<CharT> utils::default_process(Sentence s) in default_process()
|
/dports/chinese/libime/libime-1.0.9/src/libime/core/kenlm/lm/filter/ |
H A D | phrase.cc | 52 typedef unsigned int Sentence; typedef 53 typedef std::vector<Sentence> Sentences; 79 Sentence Current() const { in Current() 97 void LowerBound(const Sentence to); 102 const Sentence *current_; 103 const Sentence *last_; 117 Sentence Current() const { in Current() 125 void LowerBound(const Sentence to); 138 void Arc::LowerBound(const Sentence to) { in LowerBound() 161 void Vertex::LowerBound(const Sentence to) { in LowerBound()
|
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/ |
H A D | api.c | 414 Sentence sent; in sentence_create() 416 sent = (Sentence) malloc(sizeof(struct Sentence_s)); in sentence_create() 451 int sentence_split(Sentence sent, Parse_Options opts) in sentence_split() 502 static void free_sentence_words(Sentence sent) in free_sentence_words() 513 void sentence_delete(Sentence sent) in sentence_delete() 539 int sentence_length(Sentence sent) in sentence_length() 545 int sentence_null_count(Sentence sent) in sentence_null_count() 551 int sentence_num_linkages_found(Sentence sent) in sentence_num_linkages_found() 557 int sentence_num_valid_linkages(Sentence sent) in sentence_num_valid_linkages() 587 int sentence_link_cost(Sentence sent, LinkageIdx i) in sentence_link_cost() [all …]
|
/dports/textproc/link-grammar/link-grammar-5.8.0/bindings/autoit/ |
H A D | _LGTest.au3 | 7 $Sentence = _LG_SentenceCreate($Test, $dict) 8 _LG_SentenceSplit($Sentence, $options) 11 $num_linkages = _LG_SentenceParse($Sentence, $options) 14 $linkage = _LG_LinkageCreate(0, $Sentence, $options)
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/server/entity/npc/fsm/ |
H A D | EngineTest.java | 26 import games.stendhal.common.parser.Sentence; 69 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in testAddSingleStringEmptyCondition() 103 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in testaddExistingActionNull() 120 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in testaddnewNullAction() 139 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in testaddSameAction() 159 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in testaddNotSameAction() 166 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in testaddNotSameAction() 192 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in testAddSingleStringValidCondition() 201 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in testAddSingleStringValidCondition()
|
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/linkage/ |
H A D | linkage.h | 71 Sentence sent; /* Used for common linkage data */ 83 void compute_chosen_words(Sentence, Linkage, Parse_Options); 85 void partial_init_linkage(Sentence, Linkage, unsigned int N_words); 89 void free_linkages(Sentence);
|
/dports/games/stendhal/stendhal-1.35/tests/games/stendhal/common/parser/ |
H A D | ExpressionTest.java | 30 Sentence sentence = ConversationParser.parse("buy 15 bananas"); in testAmount() 48 Sentence sentence = ConversationParser.parse("sally, please buy 5 bananas"); in testTypes() 124 final Sentence s1 = ConversationParser.parse("spade"); in testTriggerMatching() 126 final Sentence s2 = ConversationParser.parse("a spade"); in testTriggerMatching() 140 Sentence m1 = ConversationParser.parseAsMatcher("done"); in testTypeTriggerMatching() 145 Sentence s = ConversationParser.parse("do"); in testTypeTriggerMatching() 175 Sentence m1 = ConversationParser.parseAsMatcher("done"); in testExactTriggerMatching() 180 Sentence s = ConversationParser.parse("do"); in testExactTriggerMatching()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/entity/npc/fsm/ |
H A D | Transition.java | 21 import games.stendhal.common.parser.Sentence; 153 public boolean matchesWild(final Sentence sentence) { in matchesWild() 173 public boolean matchesWildNormalized(final Sentence sentence) { in matchesWildNormalized() 193 public boolean matchesWildSimilar(final Sentence sentence) { in matchesWildSimilar() 220 public boolean matches(final ConversationStates currentState, final Sentence sentence) { in matches() 255 public boolean matchesNormalized(final ConversationStates state, final Sentence sentence) { in matchesNormalized() 291 public boolean matchesSimilar(final ConversationStates state, final Sentence sentence) { in matchesSimilar() 383 public boolean isConditionFulfilled(final Player player, final Sentence sentence, in isConditionFulfilled()
|
/dports/astro/opencpn/OpenCPN-5.2.4/plugins/demo_pi_sample/src/nmea0183/ |
H A D | response.cpp | 79 sentence.Sentence.Append(_T("--")); in Write() 82 sentence.Sentence.Append(container_p->TalkerID); in Write() 85 sentence.Sentence.Append( g_TalkerIdText ); in Write() 89 sentence.Sentence.Append(Mnemonic); in Write()
|
/dports/astro/opencpn/OpenCPN-5.2.4/libs/nmea0183/src/ |
H A D | response.cpp | 79 sentence.Sentence.Append(_T("--")); in Write() 82 sentence.Sentence.Append(container_p->TalkerID); in Write() 85 sentence.Sentence.Append( g_TalkerIdText ); in Write() 89 sentence.Sentence.Append(Mnemonic); in Write()
|
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/tokenize/ |
H A D | wordgraph.h | 23 Gword *gword_new(Sentence, const char *); 28 Gword *wg_get_sentence_word(const Sentence, Gword *); 42 const char *gword_status(Sentence, const Gword *); 43 const char *gword_morpheme(Sentence sent, const Gword *w);
|
/dports/textproc/p5-Lingua-EN-Sentence/Lingua-EN-Sentence-0.31/ |
H A D | META.yml | 15 name: Lingua-EN-Sentence 17 Lingua::EN::Sentence: 18 file: lib/Lingua/EN/Sentence.pm 25 repository: https://github.com/kimryan/Lingua-EN-Sentence
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/marriage/ |
H A D | Divorce.java | 15 import games.stendhal.common.parser.Sentence; 60 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in divorceStep() 69 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in divorceStep() 96 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in divorceStep() 105 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in divorceStep() 131 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in divorceStep() 147 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in divorceStep() 162 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in divorceStep() 188 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in divorceStep()
|
H A D | GetOutfits.java | 15 import games.stendhal.common.parser.Sentence; 42 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in getOutfitsStep() 53 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in getOutfitsStep() 66 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in getOutfitsStep() 77 public boolean fire(final Player player, final Sentence sentence, final Entity npc) { in getOutfitsStep()
|
/dports/textproc/link-grammar/link-grammar-5.8.0/link-grammar/parse/ |
H A D | preparation.h | 18 void prepare_to_parse(Sentence, Parse_Options); 19 bool set_connector_hash(Sentence); 20 void gword_record_in_connector(Sentence);
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/ |
H A D | ScubaLicenseQuiz.java | 25 import games.stendhal.common.parser.Sentence; 110 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in createLicense() 145 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in createLicense() 161 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in createLicense() 180 public void fire(final Player player, final Sentence sentence, final EventRaiser npc) { in createLicense() 184 final Sentence answer = sentence.parseAsMatchingSource(); in createLicense() 185 final Sentence expected = ConversationParser.parse(quote, new SimilarExprMatcher()); in createLicense() 233 public boolean fire(Player player, Sentence sentence, Entity npc) { in fire()
|
/dports/games/stendhal/stendhal-1.35/src/games/stendhal/server/maps/quests/allotment/ |
H A D | AllotmentLessorNPC.java | 8 import games.stendhal.common.parser.Sentence; 58 public boolean fire(Player player, Sentence sentence, Entity npc) { in buildNPC() 70 public boolean fire(Player player, Sentence sentence, Entity npc) { in buildNPC() 137 public void fire(Player player, Sentence sentence, EventRaiser npc) { in buildNPC() 161 public void fire(Player player, Sentence sentence, EventRaiser npc) { in buildNPC() 187 public void fire(Player player, Sentence sentence, EventRaiser npc) { in buildNPC() 225 public void fire(Player player, Sentence sentence, EventRaiser npc) { in buildNPC() 249 public void fire(Player player, Sentence sentence, EventRaiser npc) { in buildNPC()
|