Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Get data out of connl-file
Post: Get data out of connl-file
Currently, I'm working with connl-files which look like the one in the attachment (saved as .txt-file, since bz2-files are not allowed to be uploaded).
I'd like to extract all the heads of genitives,... |
|
MattaFX |
General Coding Help |
1 |
2,744 |
Jun-19-2017, 09:35 AM |
|
|
Thread: From noun to verb
Post: RE: From noun to verb
All right thanks a lot!
One last question: How would you implement "exceptional" words for which there is no rule?
Example:
Klasse --> klassifizieren
Adresse --> adressieren
Schablone --> s... |
|
MattaFX |
General Coding Help |
18 |
10,543 |
May-24-2017, 10:59 AM |
|
|
Thread: From noun to verb
Post: RE: From noun to verb
Oh yeah, you're right **wall**
Thanks for your remark.
Now, this wokrs:
try:
if noun[-2:] == "st":
poss_verb = noun.lower() + "eln"
if gn.synsets(poss_verb, pos... |
|
MattaFX |
General Coding Help |
18 |
10,543 |
May-24-2017, 08:05 AM |
|
|
Thread: From noun to verb
Post: RE: From noun to verb
I tried it and got this:
noun = gn.lemmatise(noun)
poss_verb = ""
while gn.synsets(poss_verb, pos='v') == []:
try:
if noun[-2:] == "st":
poss_verb = no... |
|
MattaFX |
General Coding Help |
18 |
10,543 |
May-23-2017, 11:18 PM |
|
|
Thread: From noun to verb
Post: RE: From noun to verb
I've got a new approach: I just implement the most important rules from here http://www.canoo.net/services/Wordformat...uffig.html
One question to this: How would you, for example, implement the rule... |
|
MattaFX |
General Coding Help |
18 |
10,543 |
May-23-2017, 02:28 PM |
|
|
Thread: From noun to verb
Post: RE: From noun to verb
The problem is that I have a solution for English nouns to transform to English verbs (using nltk), but not in German. So I thought it would be a good idea to translate the words to English and back a... |
|
MattaFX |
General Coding Help |
18 |
10,543 |
May-23-2017, 05:58 AM |
|
|
Thread: From noun to verb
Post: RE: From noun to verb
Hm if I understand you correctly, you think that both versions aren't ideal (me too, by the way).
But you don't have any other solution, neither?
If you would choose (1), how would you translate a gi... |
|
MattaFX |
General Coding Help |
18 |
10,543 |
May-22-2017, 05:50 PM |
|
|
Thread: From noun to verb
Post: From noun to verb
Hi everybody
I'm currently working on a language project. My actual task consists in finding verb forms of given nouns. Not in English, but in German.
We have Germanet available, which is a similar... |
|
MattaFX |
General Coding Help |
18 |
10,543 |
May-22-2017, 03:23 PM |
|
|
Thread: Extract nouns out of a CoNLL-file
Post: RE: Extract nouns out of a CoNLL-file
Hey Larz60+ :)
Thanks a lot for your reply! Unfortunately, I couldn't do it using NLTK. I simply imported the file, searched for genitive attributes and extracted the noun before. This isn't a really... |
|
MattaFX |
General Coding Help |
3 |
3,989 |
May-07-2017, 05:10 PM |
|
|
Thread: Extract nouns out of a CoNLL-file
Post: Extract nouns out of a CoNLL-file
Hi everybody,
I've got a CoNLL-file, which looks like this:
Quote:1 Janine Janine N NE _|Nom|Sg 2 subj _ _
2 langweilte langweilen V VVFIN 3|Sg|Past|_ 0 root _ _
3 sich sie PRO PRF 3|_|_ 2 obja _ ... |
|
MattaFX |
General Coding Help |
3 |
3,989 |
May-01-2017, 05:31 PM |
|
|
Thread: Nouns and corresponding verbs in German
Post: Nouns and corresponding verbs in German
Hi everybody,
Currently, I'm looking for a ressource which contains for a noun the corresponding verb (in German!). For example: "Verständnis <=> verstanden; Schaffen <=> schaffen; Arbeit... |
|
MattaFX |
General Coding Help |
0 |
2,001 |
Apr-28-2017, 07:53 AM |
|
|
Thread: Neighbours in an array
Post: RE: Neighbours in an array
But do you consider this condition in the code? :
"If there are less than 4 closest neighbors, take the maximum of the closest neighbors that are present." |
|
MattaFX |
Homework |
10 |
23,293 |
Jan-25-2017, 11:02 PM |
|
|
Thread: Neighbours in an array
Post: RE: Neighbours in an array
Hi Mekire,
Hm, I didn't find a correct solution :/
How is it possible to iterate only through the second input array?
Thanks for any help! |
|
MattaFX |
Homework |
10 |
23,293 |
Jan-24-2017, 08:16 PM |
|
|
Thread: Neighbours in an array
Post: RE: Neighbours in an array
Hi Mekire
I've got a little variation of the task: Change the first array at the positions indicated by the second array as follows: Replace the value by the maximum value of itself and its 4 closest... |
|
MattaFX |
Homework |
10 |
23,293 |
Jan-22-2017, 12:11 AM |
|
|
Thread: Neighbours in an array
Post: RE: Neighbours in an array
Wow in 3 lines :D
Perfect. Thanks a lot for your help and your inputs! |
|
MattaFX |
Homework |
10 |
23,293 |
Jan-21-2017, 12:59 PM |
|
|
Thread: Neighbours in an array
Post: RE: Neighbours in an array
Awwww very good idea with the adjacents!! :)
So you define the possible directions of the neighbours (one entry up, one beside etc...)
You mentioned a more efficient way. Well, I'm very happy with ... |
|
MattaFX |
Homework |
10 |
23,293 |
Jan-21-2017, 12:15 AM |
|
|
Thread: Neighbours in an array
Post: Neighbours in an array
Hi everyone,
I've got the following problem:
Example:
If the original Input is:
[[0 0 0 0 0 0 0 1]
[0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0]
[0 1 1 1 0 0 0 0]
[0 0 0 0 0 0 0 0]
[0 0 0 0 0 0 0 0]]The r... |
|
MattaFX |
Homework |
10 |
23,293 |
Jan-20-2017, 04:26 PM |
|
|
Thread: Relations between entities
Post: RE: Relations between entities
You two guys are right. So, I have here our to do list.
We're struggling on steps 2 and 3. So if anybody could help, we'd be very happy!
PS: Concerning the features - it would help already a lot, if... |
|
MattaFX |
Homework |
18 |
14,664 |
Dec-19-2016, 12:33 AM |
|
|
Thread: Relations between entities
Post: RE: Relations between entities
Dear Larz60+
Thanks a lot for your proposition! Currently, I'm playing with the code and trying out my ideas.
I'll write again if I've questions :)
Edit: I've already one question: Could you please... |
|
MattaFX |
Homework |
18 |
14,664 |
Dec-13-2016, 02:27 PM |
|
|
Thread: Extract relationships
Post: Extract relationships
Hi everyone
For a little project (amount of work: ca. 4h), we search someone who could extract relations between entities.
Terms like "entities, features, logistic regressions" etc. shouldn't be fore... |
|
MattaFX |
Jobs |
0 |
3,158 |
Dec-13-2016, 09:34 AM |