« first day (586 days earlier)      last day (2770 days later) » 

6:18 AM
Hi
Does anyone know how to run German models in corenlp : stackoverflow.com/questions/39688652/…
1
Q: German corenlp model defaulting to english models

stackitI use the following command to serve a corenlp server for German language models which are downloaded as jar in the classpath , but it does not output german tags or parse but loads only english models: java -mx4g -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer -props ./german.prop ...

 
6:40 AM
3 messages moved from Python
 
 
4 hours later…
10:19 AM
class Solution(object):
    def wordPattern(self, pattern, s):
        """
        :type pattern: str
        :type str: str
        :rtype: bool
        """

        dict={}
        stp=s.split(" ");
        print stp
        lis=list(pattern)
        if(len(lis)!=len(stp)):
            return False
        print lis

        for i in range(0,len(pattern)):
            if((str(stp[i]) in dict.keys())==False):
                dict[str(stp[i])]=str(lis[i])
            elif((dict[str(stp[i])]==str(lis[i])==False)):
elif((dict[str(stp[i])]==str(lis[i])==False)): not working
why
?
 
5 messages moved from Python
 
user5020521
i'm sorry for posting a phonegap js question in this room I'm just desperate guys
 
user5020521
please have mercy on me
 
user5020521
1
Q: cordova inappbrowser cannot open an external url on iOS

RiccardoI'm developing an hybrid app in phonegap and basically I have a button in the index page which whenever is clicked opens up an external url. I succeed on Android and fail on iOS. I've looked up this question iOS / Cordova: InAppBrowser not working and this one cordova/phonegap onclick doesn't w...

 
3 messages moved from Python
 
10:38 AM
https://code.hackerearth.com/9fde3cP

https://leetcode.com/problems/word-pattern/
kindly help my elif(((str(dict[str(stp[i])]) is not str(lis[i]) ) )):
not working
 
3 messages moved from Python
 
 
5 hours later…
3:25 PM
0
Q: How to open a file and wait until it is closed in an editor while python script is running?

sandyI am using pyhton 2.7 . While running python script, I want to open a different file in an editor and edit it. I want parent process to wait until I have finished editing and closing the newly opened file. I have used subprocess.check_call and subprocess.Popen described as follows according to s...

 
user559633
1 message moved from Python
 
6:54 PM
    Hello. I am testing pyserial library with iOS hardware. But i am not able to read from it reliably. I also have a tool which is based on serial communication with this hardware and it works perfectly fine. My tool wants to not use this tool and controkl the serial comunication directly.

    My code looks something like this.


    ser = serial.Serial(
            port="xyz",
            timeout =None,
            baudrate=9600,
            parity = serial.PARITY_EVEN,
            bytesize = serial.EIGHTBITS,
 
1 message moved from Python
 
Hello. I am testing pyserial library with iOS hardware. But i am not able to read from it reliably. I also have a tool which is based on serial communication with this hardware and it works perfectly fine. My tool wants to not use this tool and controkl the serial comunication directly.

My code looks something like this.

ser = serial.Serial(
port="xyz",
timeout =None,
baudrate=9600,
parity = serial.PARITY_EVEN,
bytesize = serial.EIGHTBITS,
stopbits = serial.STOPBITS_ONE_POINT_FIVE,
xonxoff = False,
 
1 message moved from Python
 

« first day (586 days earlier)      last day (2770 days later) »