This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unfortunately I don't have the original prompt, but I asked GPT-4 to create an an emoji grammar and this is what it came up with. | |
---- | |
Basic Vocabulary: | |
Here is a list of core emojis for casual communication, divided into categories. You can expand this vocabulary as needed. | |
1. Greetings and expressions: | |
👋 (Hi/Hello) | |
👋😃 (Hello with happiness) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from spacy import Language | |
from spacy.lang.de import German | |
from spacy.pipeline.lemmatizer import * | |
from spacy.tokens import Doc | |
from iwnlp.iwnlp_wrapper import IWNLPWrapper | |
class IWNLPLemmatizer: | |
def __init__(self): | |
self.lemmatizer = IWNLPWrapper(lemmatizer_path='./zata/language_data/IWNLP.Lemmatizer_20181001.json') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<objectstore:config name="Objectstore" partition="default" doc:name="Objectstore"/> | |
<flow name="PollForNewInvoices"> | |
<poll frequency="10000"> | |
<!-- Get the last invoice synced --> | |
<objectstore:retrieve config-ref="Objectstore" key="lastInvoiceId" defaultValue-ref="#[-1]" doc:name="Get Last Invoice ID"/> | |
</poll> | |
<!-- search for invoices with an ID greater than lastInvoiceId --> | |
<flow-ref name="GetUpdatedInvoices"/> | |
<!-- Update the last invoice synced --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="consumer"> | |
<sqs:receive-messages /> | |
<mongo:insert-object-from-map collection="some_collection"> | |
<mongo:element-attributes> | |
<mongo:element-attribute key="text">#[payload]</mongo:element-attribute> | |
</mongo:element-attributes> | |
</mongo:insert-object-from-map> | |
</flow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<flow name="producer"> | |
<inbound-endpoint address="http://localhost:9090/queue"/> | |
<sqs:send-message/> | |
</flow> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<executions> | |
<execution> | |
<goals> | |
<goal>test-jar</goal> | |
</goals> | |
</execution> | |
</executions> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dependencies> | |
<dependency> | |
<groupId>com.mulesoft.ion</groupId> | |
<artifactId>ion-web</artifactId> | |
<version>${project.version}</version> | |
<classifier>classes</classifier> | |
</dependency> | |
<dependency> | |
<groupId>com.mulesoft.ion</groupId> | |
<artifactId>ion-web</artifactId> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>unpack</id> | |
<phase>process-test-classes</phase> | |
<goals> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<profiles> | |
<profile> | |
<id>saucelabs</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<forkMode>always</forkMode> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Before | |
public void createDriver() throws MalformedURLException { | |
String remoteTest = System.getProperty("selenium.remote"); | |
if ("true".equals(remoteTest)) { | |
String browser = System.getProperty("selenium.browser", "firefox"); | |
String version = System.getProperty("selenium.browser.version", ""); | |
Platform platform = Platform.valueOf(System.getProperty("selenium.platform", "ANY")); | |
DesiredCapabilities capabilities = new DesiredCapabilities(browser, version, platform); | |
capabilities.setCapability("max-duration", "120"); // tests can't run more than 2 mins |
NewerOlder